Played around with polynomials, the entropy issue seems to be fixed. However, now I wonder why the internal energy for brines decreases with increasing temperature, this does not affect the normal incompressible fluids.