Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.GasSolubility_blood.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") translateModel(Chemical.Examples.GasSolubility_blood,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.GasSolubility_blood") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 101.6 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 188.3 kB / 17.35 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.08682/0.08682, allocations: 15.31 MB / 306.5 MB, free: 15.4 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.69e-05/2.691e-05, allocations: 2.281 kB / 425.8 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.005878/0.005913, allocations: 6.963 MB / 432.7 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.02806, allocations: 21.77 MB / 454.5 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.02943, allocations: 15.88 kB / 454.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.03077, allocations: 464.7 kB / 455 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00529/0.03608, allocations: 1.641 MB / 456.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00866/0.04487, allocations: 2.799 MB / 459.4 MB, free: 9.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003863/0.04877, allocations: 2.032 MB / 461.5 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.05026, allocations: 0.9219 MB / 462.4 MB, free: 6.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001176/0.05145, allocations: 0.8728 MB / 463.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.05258, allocations: 0.9577 MB / 464.2 MB, free: 4.914 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.05277, allocations: 152 kB / 464.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008206/0.06098, allocations: 2.34 MB / 466.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002032/0.06307, allocations: 2.451 MB / 469.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009354/0.06402, allocations: 1.417 MB / 470.6 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003872/0.06442, allocations: 247.3 kB / 470.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.00037/0.0648, allocations: 55.92 kB / 470.9 MB, free: 14.21 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 (314) * Number of variables: 314 (314) Notification: Performance of Bindings: time 0.006528/0.07133, allocations: 7.339 MB / 478.2 MB, free: 6.621 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001182/0.07252, allocations: 1.021 MB / 479.2 MB, free: 5.586 MB / 350.1 MB Notification: Performance of Early Inline: time 0.007638/0.08017, allocations: 6.729 MB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of simplify1: time 0.0004873/0.08069, allocations: 435.5 kB / 486.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Alias: time 0.008893/0.08959, allocations: 7.444 MB / 493.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of simplify2: time 0.0005656/0.0902, allocations: 359.7 kB / 494.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of Events: time 0.0002639/0.09047, allocations: 260.4 kB / 494.4 MB, free: 5.605 MB / 366.1 MB Notification: Performance of Detect States: time 0.0009044/0.09138, allocations: 0.8585 MB / 495.3 MB, free: 4.723 MB / 366.1 MB Notification: Performance of Partitioning: time 0.001289/0.09268, allocations: 1.113 MB / 496.4 MB, free: 3.469 MB / 366.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (5|5) Unmatched Variables *************************** [DER-] (1) Real $DER.O2_unbound_plasma.molarVolume slice: {} [ALGB] (1) flow Real water.solution.dH slice: {} [ALGB] (1) flow Real others.solution.dV slice: {} [ALGB] (1) protected Real blood_plasma.volume_der slice: {} [ALGB] (1) flow Real CO2_unbound_plasma.solution.dV slice: {} (5|5) Unmatched Equations *************************** [SCAL] (1) CO2_unbound_plasma.molarVolume = 4.4e-5 + Chemical.Examples.GasSolubility_blood.CO2_unbound_plasma.stateOfMatter.molarVolumePure(Chemical.Substances.CarbonDioxide_aqueous(0.044, 0.0, -386200.0, -412900.0, 1.17385, 0.0, {"http://www.vias.org/genchem/standard_enthalpies_table.html"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - water.SelfClustering_dG), others.pressure, 0.0, others.moleFractionBasedIonicStrength) * log(Chemical.Examples.GasSolubility_blood.CO2_unbound_plasma.stateOfMatter.activityCoefficient(Chemical.Substances.CarbonDioxide_aqueous(0.044, 0.0, -386200.0, -412900.0, 1.17385, 0.0, {"http://www.vias.org/genchem/standard_enthalpies_table.html"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - water.SelfClustering_dG), others.pressure, 0.0, others.moleFractionBasedIonicStrength)) ($RES_SIM_161) slice: {} [SCAL] (1) water.molarVolume = 1.8015e-5 + Chemical.Examples.GasSolubility_blood.water.stateOfMatter.molarVolumePure(Chemical.Substances.Water_liquid(0.018015, 0.0, -227230.0, -285830.0, 1.0, 75.3, {"http://www.vias.org/genchem/standard_enthalpies_table.html"}, 0.0, 0.0, true, -81.6348, 32.845554, 1000.0), 0.030445520876280545 * ((-81.6348) - water.SelfClustering_dG), others.pressure, 0.0, others.moleFractionBasedIonicStrength) * log(Chemical.Examples.GasSolubility_blood.water.stateOfMatter.activityCoefficient(Chemical.Substances.Water_liquid(0.018015, 0.0, -227230.0, -285830.0, 1.0, 75.3, {"http://www.vias.org/genchem/standard_enthalpies_table.html"}, 0.0, 0.0, true, -81.6348, 32.845554, 1000.0), 0.030445520876280545 * ((-81.6348) - water.SelfClustering_dG), others.pressure, 0.0, others.moleFractionBasedIonicStrength)) ($RES_SIM_47) slice: {} [SCAL] (1) (CO2_unbound_plasma.solution.Ij + O2_unbound_plasma.solution.Ij + water.solution.Ij + others.solution.Ij) - others.moleFractionBasedIonicStrength = 0.0 ($RES_SIM_240) slice: {} [SCAL] (1) (CO2_unbound_plasma.solution.nj + O2_unbound_plasma.solution.nj + water.solution.nj + others.solution.nj) - others.amountOfSolution = 0.0 ($RES_SIM_245) slice: {} [SCAL] (1) others.molarVolume = 0.001594896331738437 + Chemical.Examples.GasSolubility_blood.others.stateOfMatter.molarVolumePure(Chemical.Interfaces.Incompressible.SubstanceData(1.594896331738437, 0.0, 0.0, 0.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - water.SelfClustering_dG), others.pressure, 0.0, others.moleFractionBasedIonicStrength) * log(Chemical.Examples.GasSolubility_blood.others.stateOfMatter.activityCoefficient(Chemical.Interfaces.Incompressible.SubstanceData(1.594896331738437, 0.0, 0.0, 0.0, 1.0, 0.0, {""}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - water.SelfClustering_dG), others.pressure, 0.0, others.moleFractionBasedIonicStrength)) ($RES_SIM_11) slice: {}