python3 -m fmpy simulate --output-file MEV_MEV.Simulations.OnOffControl.Scenario4_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_OnOffControl_Scenario4.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -35.0939 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -34.8521 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -32.6753 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1903 failed at time=0.827586209005716. | | | | 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[2].valve_out.air.rho) was -6.05716 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -6.00888 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -5.57433 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1903 failed at time=0.82758620731839. | | | | 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[2].valve_out.air.rho) was -0.249806 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.240238 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.154129 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1903 failed at time=0.827586206980924. | | | | 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 -59.4361 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -59.0319 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -55.3946 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1821 failed at time=0.860869568034. | | | | 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 -10.923 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -10.8423 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -10.1158 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1821 failed at time=0.860869565780715. | | | | 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.22042 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.20438 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[4].valve_out.air.rho) was -1.06004 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1821 failed at time=0.860869565330058. | | | | 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[10].valve_out.air.rho) was -19.3497 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -19.3497 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -19.3497 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1579 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 "/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[10].valve_out.air.rho) was -2.90964 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.90964 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.90964 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1579 failed at time=1.41428571458533. | | | | 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[10].valve_out.air.rho) was -6.08832 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.85731 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.396 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.43884 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.8119 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.401255 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.132282 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.369684 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.226999 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.133541 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0723255 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0322295 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00596664 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.208846 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.132918 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0831848 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0506098 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0292731 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0152976 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00614369 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000147852 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.131397 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.084761 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0542146 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0342066 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0211014 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0125175 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00689509 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00321239 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000800213 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0643646 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0418898 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0271688 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0175266 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0112109 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00707411 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00436452 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00258974 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00142727 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000665842 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000167109 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0302671 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0197699 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0128942 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00839066 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00544084 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0035087 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00224315 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00141421 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000871262 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000515628 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000282688 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000130112 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.01749e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0144949 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00948197 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00619852 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00404786 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00263917 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00171649 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00111213 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000716269 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000456983 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000287151 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000175911 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000103049 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -5.5324e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.40642e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.58911e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00771729 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00505144 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.0033053 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00216158 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00141245 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000921766 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000600368 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000389852 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000251965 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000161648 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000102491 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -6.3743e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.8363e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.17392e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.08505e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.71848e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00246227 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00161246 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00105583 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00069124 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000452433 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000296015 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000193561 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000126454 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -8.24984e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -5.37076e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.48497e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.24978e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.44072e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -9.10795e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -5.63692e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.36339e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.87423e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -8.98827e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.5994e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.00109619 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000717951 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000470203 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000307928 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000201638 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000132018 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -8.64174e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -5.65487e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.69847e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.41703e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.57768e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.02791e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -6.67814e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -4.31949e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.77457e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.76265e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.09984e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -6.65704e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.81343e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.95086e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -7.30881e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000465182 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000304692 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000199571 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -0.000130717 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -8.5617e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -5.60768e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.6728e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.40545e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.57533e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.03161e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -6.75467e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -4.42196e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.89403e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.89324e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.23772e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -8.08351e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -5.27117e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.42908e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.22252e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -1.43222e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -9.14572e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -5.75513e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -3.5343e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -6.08837 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 1.41429. | | | | | 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[1].valve_out.air.rho) was -8.05049 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[1].valve_out.air.rho) was -7.98891 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[1].valve_out.air.rho) was -7.43476 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1944 failed at time=2.00000000471808. | | | | 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[1].valve_out.air.rho) was -0.644498 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[1].valve_out.air.rho) was -0.632299 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[1].valve_out.air.rho) was -0.522508 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1944 failed at time=2.00000000094364. | | | | 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[2].valve_out.air.rho) was -119.614 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -118.809 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -111.561 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1903 failed at time=2.06896551942195. | | | | 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[2].valve_out.air.rho) was -22.955 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -22.794 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -21.3456 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1903 failed at time=2.06896551767751. | | | | 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[2].valve_out.air.rho) was -3.62317 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -3.59111 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -3.3026 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1903 failed at time=2.06896551732862. | | | | 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[2].valve_out.air.rho) was -11.8339 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -7.6673 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -4.93818 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -3.1506 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.97974 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.21283 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.710497 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.381472 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.16596 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0247997 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -2.05204 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.32075 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.841746 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.528001 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.322498 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.187893 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0997273 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0419786 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00415321 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.67758 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.0917 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.70795 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.456593 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.291953 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.184115 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.11348 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0672149 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.036911 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.017062 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00406087 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.57993 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.03332 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.675285 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.440775 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.28717 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.18656 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.12066 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0774952 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0492224 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0307037 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.018574 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0106291 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0054251 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00201651 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.55633 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.01932 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.667579 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.43719 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.286285 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.187442 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.1227 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0802939 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0525179 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0343247 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0224081 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0146028 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00949024 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00614155 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00394816 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00251148 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00157046 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000954093 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000550372 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000285934 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000112727 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.55515 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -1.01862 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.667196 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.437013 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.286244 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.187489 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.122805 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0804372 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0526861 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0345091 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0226032 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.0148049 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00969694 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00635125 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00415982 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00272443 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00178425 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.00116844 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000765076 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000500876 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000327824 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000214475 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -0.000140232 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_out.air.rho) was -11.8338 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 2.06897. | | | | | 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[3].valve_out.air.rho) was -27.3876 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -27.1971 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -25.4827 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1862 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 "/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 -4.50776 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.4698 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.12822 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1862 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 "/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 -2.91539 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.88605 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.21183 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.770214 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.480956 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.291493 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.167394 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0861096 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0328681 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.11637 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.38553 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.90683 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.593282 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.387908 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.253388 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.165277 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.107565 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0697633 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0450032 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0287854 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0181627 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0112048 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00664745 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00366235 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00170712 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000426435 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.10269 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.37712 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.90187 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.590583 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.386689 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.253139 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.165664 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.108368 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0708385 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0462569 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.030156 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0196099 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0127022 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00817766 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00521409 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00327295 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0020015 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0011687 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000623216 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000265925 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.18987e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.10021 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.3756 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.900973 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.590095 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.386471 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.253096 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.165736 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.108515 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0710357 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0464865 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0304068 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0198746 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.012976 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00845737 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0054977 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00355911 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00228934 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00145764 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000912875 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000556054 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000322337 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000169251 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.89808e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.9154 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 2.14286. | | | | | 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 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 = 2.30225, mxstep steps taken before reaching tout.