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.001198/0.001198, allocations: 112.2 kB / 16.43 MB, free: 6.523 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.001288/0.001288, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.07825/0.07825, allocations: 15.31 MB / 306.5 MB, free: 15.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.147e-05, allocations: 6.219 kB / 425.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Chemical.Examples.GasSolubility_blood): time 0.006354/0.006384, allocations: 6.948 MB / 432.7 MB, free: 4.512 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.02945, allocations: 21.77 MB / 454.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.03077, allocations: 15.94 kB / 454.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.03217, allocations: 456.7 kB / 455 MB, free: 14.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005196/0.03738, allocations: 1.661 MB / 456.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007982/0.04544, allocations: 2.823 MB / 459.5 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/0.0485, allocations: 2.036 MB / 461.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/0.04963, allocations: 0.918 MB / 462.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.05063, allocations: 0.8728 MB / 463.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.05171, allocations: 0.9576 MB / 464.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002102/0.05193, allocations: 152 kB / 464.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007424/0.05936, allocations: 2.344 MB / 466.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.00268/0.06207, allocations: 2.451 MB / 469.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.001216/0.0633, allocations: 1.413 MB / 470.6 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006624/0.06398, allocations: 247.3 kB / 470.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0003926/0.06439, allocations: 55.92 kB / 470.9 MB, free: 14.16 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.007692/0.07209, allocations: 7.335 MB / 478.2 MB, free: 6.57 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.001299/0.0734, allocations: 1.027 MB / 479.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Early Inline: time 0.007426/0.08084, allocations: 6.725 MB / 486 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simplify1: time 0.000447/0.08131, allocations: 435.5 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of Alias: time 0.009174/0.09049, allocations: 7.448 MB / 493.9 MB, free: 6.16 MB / 366.1 MB Notification: Performance of simplify2: time 0.0005309/0.09104, allocations: 359.7 kB / 494.2 MB, free: 5.809 MB / 366.1 MB Notification: Performance of Detect States: time 0.00123/0.09228, allocations: 0.8538 MB / 495.1 MB, free: 4.926 MB / 366.1 MB Notification: Performance of Events: time 0.0003901/0.09268, allocations: 259.7 kB / 495.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of Partitioning: time 0.001183/0.09388, allocations: 1.107 MB / 496.4 MB, free: 3.422 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: {}