Re: 16F1778 And OPA
But at Vcc=5v and Vin=5v I expect also a flat line at Vin until output current gets too high...
That's exactly what you do
The output current gets too high to support that as soon as it is above zero.
Mark (this opinion available for hire)