Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Bodylight_Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000436/0.000436, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002273/0.0002273, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.1658/0.1658, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo): time 0.005673/0.005673, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package Bodylight with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation,startTime=0,stopTime=18000,tolerance=1e-14,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation,startTime=0,stopTime=18000,tolerance=1e-14,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="Bodylight_Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 5.45e-06/5.45e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/4.204e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation): time 0.02086/0.02091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.04588/0.06679, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.0694, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001734/0.07114, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.oxygen_unbound.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.oxygen_unbound.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.oxygen_unbound.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.CO2_liquid.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.CO2_liquid.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.CO2_liquid.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.OxyHm.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.OxyHm.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.OxyHm.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.DeoxyHm.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.DeoxyHm.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.DeoxyHm.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.A.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.A.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.A.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.HA.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.HA.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.HA.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH2.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH2.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH2.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH3.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH3.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH3.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NHCOO.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NHCOO.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NHCOO.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.OxyHm.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.OxyHm.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.OxyHm.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.DeoxyHm.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.DeoxyHm.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.DeoxyHm.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.A.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.A.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.A.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.HA.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.HA.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.HA.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH2.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH2.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH2.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH3.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH3.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH3.Utilities.UnitConversions.findUnit'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:6207:6-6223:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NHCOO.Utilities.UnitConversions.findUnit' contains a call to impure function 'Modelica.Utilities.Streams.print'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5637:15-5729:17:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NHCOO.Utilities.readReal' contains a call to impure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NHCOO.Utilities.UnitConversions.findUnit'. Notification: Performance of NFTyping.typeBindings: time 0.01195/0.08309, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.oxygen_unbound.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.oxygen_unbound.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.CO2_liquid.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.CO2_liquid.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.OxyHm.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.OxyHm.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.DeoxyHm.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.DeoxyHm.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.A.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.A.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.HA.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.HA.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH2.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH2.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH3.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NH3.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NHCOO.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.R.NHCOO.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.OxyHm.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.OxyHm.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.DeoxyHm.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.DeoxyHm.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.A.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.A.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.HA.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.HA.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH2.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH2.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH3.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NH3.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5783:15-5804:18:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NHCOO.Utilities.writeReal' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Bodylight 1.1.0/Types.mo:5845:15-5881:24:writable] Warning: Pure function 'Bodylight.Chemical.Examples.Hemoglobin.Develop.Hemoglobin_oxygenation.hemoglobin.T.NHCOO.Utilities.writeComparison' contains a call to impure function 'Modelica.Utilities.Files.createDirectory'. Notification: Performance of NFTyping.typeClassSections: time 0.009645/0.09273, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.01349/0.1062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.004307/0.1105, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.01139/0.1219, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.006409/0.1283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.001244/0.1296, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.1306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.00252/0.1332, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.00369/0.1369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.01422/0.1511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.00145/0.1525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 4.979e-06/0.1525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.000176/0.1527, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1218 * Number of variables: 1218 Notification: Performance of Generate backend data structure: time 0.01902/0.1717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0006905/0.1724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003037/0.1755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01185/0.1873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007542/0.1881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.001351/0.1894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.01056/0.2, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/0.2002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007343/0.2009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001193/0.201, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00422/0.2052, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04142/0.2467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.2502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.2518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.2519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.2521, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=374): time 4.806e-05/0.2522, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=374): time 0.03384/0.286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002316/0.2863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02634/0.3126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001061/0.3137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.009095/0.3228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.008282/0.331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.009101/0.3401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.777e-05/0.3402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.005815/0.346, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.006437/0.3524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.00871/0.3611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/0.3613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=770) (initialization): time 0.02254/0.3838, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.384, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/0.3841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.02652/0.4106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004635/0.4153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0406/0.4559, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005973/0.4618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/0.4629, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 327 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (631): * Single equations (assignments): 630 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(34,106)} Notification: Performance of prepare postOptimizeDAE: time 0.004865/0.4677, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001482/0.4692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006758/0.476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.841e-05/0.476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 2.638e-05/0.4761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.461e-05/0.4761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04116/0.5173, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001058/0.5174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00154/0.5189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.02835/0.5473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009938/0.5483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03722/0.5855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.078e-05/0.5856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/0.6119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.004883/0.6168, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003141/0.6199, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004842/0.6248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003419/0.6282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005503/0.6287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.008249/0.637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0009551/0.6379, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01833/0.6563, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 178 * Number of states: 24 (hemoglobin.state[1],hemoglobin.totalHb.state[1],hemoglobin.T.Speciation.state[11],hemoglobin.T.Speciation.state[10],hemoglobin.T.Speciation.state[9],hemoglobin.T.Speciation.state[8],hemoglobin.T.Speciation.state[7],hemoglobin.T.Speciation.state[6],hemoglobin.T.Speciation.state[5],hemoglobin.T.Speciation.state[4],hemoglobin.T.Speciation.state[3],hemoglobin.T.Speciation.state[2],hemoglobin.T.Speciation.state[1],hemoglobin.R.Speciation.state[11],hemoglobin.R.Speciation.state[10],hemoglobin.R.Speciation.state[9],hemoglobin.R.Speciation.state[8],hemoglobin.R.Speciation.state[7],hemoglobin.R.Speciation.state[6],hemoglobin.R.Speciation.state[5],hemoglobin.R.Speciation.state[4],hemoglobin.R.Speciation.state[3],hemoglobin.R.Speciation.state[2],hemoglobin.R.Speciation.state[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (273): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(34,106)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005826/0.6621, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.01991/0.682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 8.428e-05/0.6821, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.008991/0.6911, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02006/0.7111, allocations: 0 / 0, free: 0 / 0 Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04516/0.7563, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/0.7613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.004265/0.7656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004424/0.77, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.0003714/0.7704, allocations: 0 / 0, free: 0 / 0 Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal: Unit not found Error: Error parsing unit (mmol/l)/kPa at 25degC: Parse error Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal: Unit not found Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal: Unit not found Error: Error parsing unit (mmol/l)/kPa at 25degC: Parse error Error: Error parsing unit kcal/min: Unit not found Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit (mmol/l)/kPa at 25degC: Parse error Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit %: Parse error Error: Error parsing unit kcal/mol: Unit not found Error: Error parsing unit (mmol/l)/kPa at 25degC: Parse error Error: Error parsing unit %: Parse error Notification: Performance of Templates: time 0.04375/0.8141, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 899] [Calling sys.exit(0), Time elapsed: 1.8241638434119523]