python3 -m fmpy simulate --output-file MEV_MEV.Simulations.LinearControl.Scenario4_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Simulations_LinearControl_Scenario4.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -58.5249 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -58.1268 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -54.5442 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.857142859478659. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -10.7445 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -10.665 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.9492 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.85714285761002. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.18846 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.17263 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.0302 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1855 failed at time=0.857142857236292. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -25.2965 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -25.12 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -23.5311 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1814 failed at time=0.860869568034008. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.09514 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.05993 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.7431 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1814 failed at time=0.860869565780724. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.02577 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.621804 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.357208 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.183897 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0703788 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.297768 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.193666 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.12548 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0808177 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0515639 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0324027 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0198522 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0116315 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.006247 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00272014 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000410053 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.189055 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.12345 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0804795 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0523335 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0338979 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0218226 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0139132 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00873261 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0053393 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00311669 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00166088 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00070732 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -8.27396e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.11517 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0753237 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0492244 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0321294 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0209322 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.013598 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00879408 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00564753 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00358654 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00223659 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00135237 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000773208 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000393857 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000145382 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0299307 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0195986 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0128311 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00839838 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00549495 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0035932 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00234755 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00153165 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000997241 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000647201 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000417924 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000267748 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000169383 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000104953 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.27521e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.51103e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.70049e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.1459e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0119782 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00784482 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00513745 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00336413 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0022026 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0014418 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000943473 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00061707 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000403277 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000263242 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000171519 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00011144 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.20889e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.63137e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.9431e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.83728e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.11297e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.38542e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.27795e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.24255e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00264881 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00173494 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00113635 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000744281 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000487473 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000319263 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000209086 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00013692 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -8.96515e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -5.86904e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -3.8411e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.51279e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.64275e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.07288e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.99606e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.55115e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.94973e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.9008e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.21376e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -7.63739e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -4.68979e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.7591e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.49451e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.02577 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 0.86087. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -27.7352 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -27.5424 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -25.8072 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1691 failed at time=1.0421052657496. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.58667 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.54819 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.20187 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1691 failed at time=1.04210526367625. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.36648 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.225197 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.132657 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0720433 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0323412 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00633638 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.204661 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.130362 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.081697 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0498211 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0289424 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0152669 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00630943 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000442283 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.125494 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0810252 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0518983 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0328201 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.020324 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0121389 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00677777 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0032662 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00096612 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0542232 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0353297 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0229545 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0148488 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00953949 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00606192 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00378411 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00229214 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0013149 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000674812 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000255553 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0107082 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00700729 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.0045832 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00299542 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00195542 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00127422 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000828041 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00053579 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000344366 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000218984 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000136858 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.30654e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.78314e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.47532e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.63691e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.00136164 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000891785 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000584028 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000382447 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000250412 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000163928 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000107282 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -7.01785e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.58758e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.99575e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.9531e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.27016e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.2284e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -5.29844e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.37932e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.12229e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.29894e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -7.59639e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.064e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.75029e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.34806e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000828322 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000542525 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000355328 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000232714 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.000152401 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.97967e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -6.53407e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -4.2772e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.79895e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.8307e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.19649e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -7.81088e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -5.08998e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.30779e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -2.14046e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.37586e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -8.7504e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -5.47006e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.32144e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -1.91409e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -9.92274e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -3.88486e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[7].valve_out.air.rho) was -0.366478 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 1.04211. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -78.6298 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -78.6298 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -78.6298 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1572 failed at time=1.41428571578381. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/command_line.py", line 169, in main result = simulate_fmu(args.fmu_filename, File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 759, in simulate_fmu result = simulateME(model_description, fmu, start_time, stop_time, solver, step_size, relative_tolerance, start_values, apply_default_start_values, input, output, output_interval, record_events, timeout, step_finished, validate, set_stop_time) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/sundials/__init__.py", line 178, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -1) in module CVODE, function CVode: At t = 1.60276, mxstep steps taken before reaching tout.