python3 -m fmpy simulate --output-file MEV_MEV.Simulations.LinearControl.Scenario7_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Simulations_LinearControl_Scenario7.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -46.1378 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -45.8223 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -42.9829 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3305 failed at time=0.857142859478657. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[13].valve_out.air.rho) was -8.26745 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -8.20443 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -7.63726 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3305 failed at time=0.857142857610018. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[13].valve_out.air.rho) was -0.693383 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -0.680858 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -0.568135 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3305 failed at time=0.85714285723629. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[16].valve_out.air.rho) was -6.3016 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -6.25169 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -5.80247 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3182 failed at time=0.942857144977622. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[16].valve_out.air.rho) was -0.299487 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -0.289589 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -0.200498 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3182 failed at time=0.942857143281244. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[20].valve_out.air.rho) was -15.0464 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -15.0464 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -15.0464 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3022 failed at time=1.4142857157838. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[20].valve_out.air.rho) was -2.04913 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -2.04913 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[20].valve_out.air.rho) was -2.04913 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3022 failed at time=1.41428571458534. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[12].valve_out.air.rho) was -8.59696 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -8.53174 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -7.9448 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3346 failed at time=2.06896551811212. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[12].valve_out.air.rho) was -0.751946 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.739031 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.622793 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3346 failed at time=2.06896551741555. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[13].valve_out.air.rho) was -13.9812 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -13.8801 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -12.9701 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3305 failed at time=2.14285714605186. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[13].valve_out.air.rho) was -1.82724 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -1.80715 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[13].valve_out.air.rho) was -1.6264 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3305 failed at time=2.1428571434961. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[14].valve_out.air.rho) was -24.6084 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -24.4365 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -22.8889 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3264 failed at time=2.60869565492331. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[14].valve_out.air.rho) was -3.95619 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.92191 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -3.61342 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3264 failed at time=2.6086956527238. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[14].valve_out.air.rho) was -2.55817 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.61548 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.998021 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.593584 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.328678 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.155164 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0415125 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.25754 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.81233 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.520716 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.329708 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.204598 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.122651 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0689761 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0338188 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0107907 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.14277 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.747035 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.487827 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.318046 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.206839 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.133999 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0862881 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0550377 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0345687 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0211616 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0123799 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00662784 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00286027 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000392509 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.13184 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.740934 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.484889 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.31718 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.207331 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.135379 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0882513 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0573824 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0371632 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0239197 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0152451 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00956333 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00584175 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00340411 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00180745 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000761647 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -7.66424e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.12885 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.739268 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.484092 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.316952 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.207475 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.135768 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0887996 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0580354 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0378848 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0246862 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0160411 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0103786 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00666961 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00424025 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00264901 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00160675 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000924068 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000476912 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000184025 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -1.12757 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.738559 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.483753 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.316856 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.207538 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.135935 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0890345 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0583149 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0381935 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0250141 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0163815 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0107272 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00702362 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00459777 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00300885 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.0019681 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.00128641 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000839901 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000547438 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000355876 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000230402 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -0.000148217 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -9.43858e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[14].valve_out.air.rho) was -2.55818 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 2.6087. | | | | | 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[4].valve_out.air.rho) was -2.50745 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.5831 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.977653 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.581085 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.321333 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.151195 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.039755 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.25651 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.811546 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.520095 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.329195 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.204156 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.122255 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0686097 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0334721 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.010457 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.14187 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.746334 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.487255 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.317559 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.206408 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.133604 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0859175 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0546828 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0342241 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0208236 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0120463 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00629716 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00253148 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -6.49547e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.13095 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.74024 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.484322 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.316696 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.206901 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.134985 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0878804 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0570267 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0368175 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0235805 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0149103 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00923126 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00551151 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00307508 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00147921 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000433921 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.1264 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.737705 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.48311 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.316351 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.207123 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.135579 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0887178 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0580237 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.037919 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0247504 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.016125 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0104754 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00677487 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00435103 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00276342 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00172353 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00104241 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00059627 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00030405 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000112645 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.12557 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.737244 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.48289 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.316289 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.207165 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.135688 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0888716 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0582065 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0381209 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0249648 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0163475 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0107032 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00700624 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00458469 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00299859 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.00195968 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.0012792 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000833488 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000541545 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000350322 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000225071 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -0.000143032 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -8.92958e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -2.50746 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 2.6087. | | | | | 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[15].valve_out.air.rho) was -37.4938 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[15].valve_out.air.rho) was -37.2359 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[15].valve_out.air.rho) was -34.9152 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3223 failed at time=2.72727273133874. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[15].valve_out.air.rho) was -6.53092 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[15].valve_out.air.rho) was -6.47948 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[15].valve_out.air.rho) was -6.0165 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3223 failed at time=2.72727272808595. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[15].valve_out.air.rho) was -0.338344 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[15].valve_out.air.rho) was -0.328186 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[15].valve_out.air.rho) was -0.236765 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3223 failed at time=2.72727272743539. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[16].valve_out.air.rho) was -41.9327 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -41.6453 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -39.0582 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3182 failed at time=2.85714286140249. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[16].valve_out.air.rho) was -7.41876 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -7.3614 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -6.84515 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3182 failed at time=2.85714285799481. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[16].valve_out.air.rho) was -0.51596 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -0.504618 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[16].valve_out.air.rho) was -0.40254 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3182 failed at time=2.85714285731327. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[12].valve_out.air.rho) was -35.0055 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -34.7642 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -32.5927 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3346 failed at time=2.89655172885012. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[12].valve_out.air.rho) was -6.03957 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -5.99141 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -5.55791 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3346 failed at time=2.89655172508039. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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[12].valve_out.air.rho) was -0.246395 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.23685 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[12].valve_out.air.rho) was -0.150945 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 3346 failed at time=2.89655172432644. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-packages/fmpy/__main__.py", line 4, in main() File "/usr/local/lib/python3.10/dist-packages/fmpy/command_line.py", line 167, in main result = simulate_fmu(args.fmu_filename, File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/usr/local/lib/python3.10/dist-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 = 3.15962, mxstep steps taken before reaching tout.