Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Obsolete.Examples.HeatingOfWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 104.3 kB / 19.72 MB, free: 2.145 MB / 14.72 MB " [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.001572/0.001572, allocations: 211.4 kB / 23 MB, free: 4.965 MB / 14.72 MB " [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 1.323/1.323, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1246/0.1246, allocations: 23.89 MB / 337.1 MB, free: 10.98 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.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: translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") translateModel(Chemical.Obsolete.Examples.HeatingOfWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HeatingOfWater") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.99e-05/1.99e-05, allocations: 5.656 kB / 472.3 MB, free: 7.098 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.HeatingOfWater): time 0.004411/0.004431, allocations: 3.219 MB / 475.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005161/0.009592, allocations: 4.241 MB / 479.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.009779, allocations: 7.938 kB / 479.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003632/0.01014, allocations: 107.1 kB / 479.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008717/0.01101, allocations: 448.8 kB / 480.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009241/0.01194, allocations: 0.5361 MB / 480.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006877/0.01263, allocations: 0.6819 MB / 481.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.01304, allocations: 292.5 kB / 481.8 MB, free: 13.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.01336, allocations: 299.1 kB / 482.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.01371, allocations: 310.8 kB / 482.4 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.52e-05/0.0138, allocations: 52 kB / 482.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007379/0.01454, allocations: 463.3 kB / 482.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0008386/0.01537, allocations: 1.045 MB / 484 MB, free: 11.37 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000384/0.01576, allocations: 0.6092 MB / 484.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.01583, allocations: 56 kB / 484.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.621e-05/0.0159, allocations: 23.91 kB / 484.6 MB, free: 10.67 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: 117 (117) * Number of variables: 117 (117) Notification: Performance of [SIM] Bindings: time 0.002263/0.01817, allocations: 2.489 MB / 487.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0003693/0.01854, allocations: 352 kB / 487.5 MB, free: 7.691 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.001988/0.02052, allocations: 1.989 MB / 489.5 MB, free: 5.676 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0005982/0.02112, allocations: 462.6 kB / 489.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.003998/0.02512, allocations: 2.979 MB / 492.9 MB, free: 1.965 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000517/0.02564, allocations: 425.1 kB / 493.3 MB, free: 1.512 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001095/0.02575, allocations: 113.5 kB / 493.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.0003437/0.02609, allocations: 260.5 kB / 493.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of [SIM] Events: time 7.216e-05/0.02616, allocations: 67.95 kB / 493.7 MB, free: 1 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.0004133/0.02657, allocations: 376.7 kB / 494.1 MB, free: 0.6016 MB / 350.1 MB Error: Internal error NBSorting.tarjan failed to sort system: System Variables (60/60) ************************** (1|1) [DSTA] (1) protected Real liquidWater.amountOfBaseMolecules (start = liquidWater.m_start / liquidWater.molarMassOfBaseMolecule, min = 0.0) (2|2) [DSTA] (1) Real liquidWater.x (min = 0.0, max = 1.0) (3|3) [DSTA] (1) Real liquidWater.a (4|4) [DSTA] (1) protected Real liquidWater.molarEntropyPure (5|5) [DSTA] (1) Real liquidWater.mass = liquidWater.amountOfBaseMolecules * liquidWater.molarMassOfBaseMolecule (min = 0.0) (6|6) [DDER] (1) Real $DER.liquidWater.molarVolume (7|7) [DSTA] (1) protected Real liquidWater.pressure (8|8) [DSTA] (1) Real liquidWater.port_a.u (9|9) [DSTA] (1) protected Real solution.top_s (10|10) [DSTA] (1) protected Real liquidWater.moleFractionBasedIonicStrength (min = 0.0, max = 0.0) (11|11) [DSTA] (1) protected Real solution.heatFromEnvironment (12|12) [DSTA] (1) protected Real liquidWater.amountOfSolution (min = 0.0) (13|13) [DSTA] (1) Real liquidWater.c (14|14) [DSTA] (1) protected Real liquidWater.u0 (15|15) [DSTA] (1) protected Real liquidWater.amountOfFreeMolecule (start = liquidWater.m_start * Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.specificAmountOfFreeBaseMolecule(Chemical.Obsolete.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), system.T_ambient, system.p_ambient, 0.0, 0.0, 1.0, 1.0), min = 0.0) (16|16) [DSTA] (1) Real $DER.liquidWater.logn (17|17) [DSTA] (1) Real solution.volume (18|18) [DSTA] (1) protected Real solution.ds (19|19) [DSTA] (1) Real $FUN_3 (20|20) [DSTA] (1) Real solution.mass (min = 0.0, StateSelect = prefer) (21|21) [DSTA] (1) Real $FUN_1 (22|22) [DSTA] (1) protected Real solution.gibbsEnergy (23|23) [DDER] (1) Real $DER.liquidWater.amountOfBonds (24|24) [STAT] (1) Real $DER.liquidWater.SelfClustering_dG (25|25) [DSTA] (1) protected Real liquidWater.SelfClustering_K = exp(-liquidWater.SelfClustering_dG / ((0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * 8.31446261815324)) (min = 0.0, max = 1.0) (26|26) [DSTA] (1) protected Real solution.volume_der (27|27) [DSTA] (1) Real liquidWater.q (28|28) [DSTA] (1) protected Real liquidWater.uPure (29|29) [DSTA] (1) Real liquidWater.port_c.c (30|30) [DDER] (1) Real $DER.$DER.liquidWater.amountOfBonds (31|31) [DER-] (1) Real $DER.$DER.liquidWater.SelfClustering_dG (32|32) [DDER] (1) Real $DER.solution.gibbsEnergy (33|33) [DDER] (1) Real $DER.liquidWater.uPure (34|34) [DDER] (1) Real $DER.liquidWater.u0 (35|35) [DDER] (1) Real $DER.liquidWater.a (36|36) [DDER] (1) Real $DER.solution.ds (37|37) [DDER] (1) Real $DER.solution.top_s (38|38) [DDER] (1) Real $DER.liquidWater.molarEntropyPure (39|39) [DDER] (1) Real $DER.$FUN_3 (40|40) [DDER] (1) Real $DER.liquidWater.pressure (41|41) [DDER] (1) Real $DER.liquidWater.port_a.u (42|42) [DDER] (1) Real $DER.liquidWater.mass (43|43) [DDER] (1) Real $DER.liquidWater.port_c.c (44|44) [DDER] (1) Real $DER.liquidWater.moleFractionBasedIonicStrength (45|45) [DDER] (1) Real $DER.liquidWater.c (46|46) [DDER] (1) Real $DER.solution.volume (47|47) [DDER] (1) Real $DER.solution.mass (48|48) [DDER] (1) Real $DER.$DER.liquidWater.logn (49|49) [DDER] (1) Real $DER.solution.heatFromEnvironment (50|50) [DDER] (1) Real $DER.liquidWater.amountOfFreeMolecule (51|51) [DDER] (1) Real $DER.liquidWater.q (52|52) [DER-] (1) Real $DER.$DER.liquidWater.molarVolume (53|53) [DDER] (1) Real $DER.solution.volume_der (54|54) [DDER] (1) Real $DER.$FUN_1 (55|55) [DDER] (1) Real $DER.liquidWater.amountOfBaseMolecules (56|56) [DDER] (1) Real $DER.liquidWater.amountOfSolution (57|57) [DDER] (1) Real $DER.liquidWater.SelfClustering_K (58|58) [DDER] (1) Real $DER.liquidWater.x (59|59) [DSTA] (1) protected Real liquidWater.amountOfBonds (min = 0.0) (60|60) [DSTA] (1) protected Real liquidWater.molarVolume (min = 0.0) System Equations (58/58) ************************** (1|1) [SCAL] (1) liquidWater.amountOfBonds = liquidWater.x * liquidWater.amountOfBaseMolecules * liquidWater.SelfClustering_K ($RES_SIM_36) (2|2) [SCAL] (1) $FUN_3 = log(liquidWater.a) ($RES_AUX_121) (3|3) [SCAL] (1) solution.heatFromEnvironment = (-75.3 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG)) * liquidWater.amountOfBaseMolecules - 81.6348 * $DER.liquidWater.amountOfBonds ($RES_SIM_37) (4|4) [SCAL] (1) liquidWater.amountOfBaseMolecules = exp(liquidWater.logn) ($RES_AUX_122) (5|5) [SCAL] (1) solution.gibbsEnergy = liquidWater.amountOfBaseMolecules * liquidWater.port_a.u + liquidWater.amountOfBonds * liquidWater.SelfClustering_dG ($RES_SIM_38) (6|6) [SCAL] (1) liquidWater.pressure = solution.BasePressure ($RES_SIM_50) (7|7) [SCAL] (1) $FUN_1 = sqrt((4.0 * liquidWater.amountOfSolution * liquidWater.SelfClustering_K) / liquidWater.amountOfBaseMolecules + (liquidWater.amountOfSolution / liquidWater.amountOfBaseMolecules) ^ 2.0) ($RES_AUX_123) (8|8) [SCAL] (1) solution.ds = solution.volume / solution.SurfaceArea - solution.positionShift ($RES_SIM_51) (9|9) [SCAL] (1) liquidWater.uPure = Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) - (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarEntropyPure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) ($RES_SIM_9) (10|10) [SCAL] (1) liquidWater.molarVolume = 1.8015e-5 + Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength)) ($RES_SIM_8) (11|11) [SCAL] (1) liquidWater.u0 = ((-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) - (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * ((-1e5) + liquidWater.pressure)) ($RES_SIM_10) (12|12) [SCAL] (1) liquidWater.a = liquidWater.x ($RES_SIM_5) (13|13) [SCAL] (1) fixed1.s0 = solution.top_s - solution.ds ($RES_BND_115) (14|14) [SCAL] (1) liquidWater.molarEntropyPure = ((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) - (1.8015e-5 / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * ((-1e5) + liquidWater.pressure) ($RES_SIM_11) (15|15) [SCAL] (1) liquidWater.port_a.u = 8.31446261815324 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * $FUN_3 + (((-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) - (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * ((-1e5) + liquidWater.pressure))) ($RES_SIM_4) (16|16) [SCAL] (1) liquidWater.mass = liquidWater.amountOfBaseMolecules * liquidWater.molarMassOfBaseMolecule ($RES_BND_117) (17|17) [SCAL] (1) liquidWater.port_c.c = liquidWater.amountOfSolution / solution.volume ($RES_SIM_20) (18|18) [SCAL] (1) liquidWater.q = 0.0 ($RES_SIM_22) (19|19) [SCAL] (1) liquidWater.moleFractionBasedIonicStrength = 0.0 ($RES_SIM_23) (20|20) [SCAL] (1) liquidWater.c = liquidWater.amountOfSolution / solution.volume ($RES_SIM_30) (21|21) [SCAL] (1) solution.volume = liquidWater.amountOfBaseMolecules * liquidWater.molarVolume ($RES_SIM_25) (22|22) [SCAL] (1) liquidWater.x = liquidWater.amountOfFreeMolecule / liquidWater.amountOfSolution ($RES_SIM_31) (23|23) [SCAL] (1) solution.mass = liquidWater.amountOfBaseMolecules * liquidWater.molarMassOfBaseMolecule ($RES_SIM_26) (24|24) [SCAL] (1) $DER.liquidWater.logn = liquidWater.q / liquidWater.amountOfBaseMolecules ($RES_SIM_33) (25|25) [SCAL] (1) -solution.heatFromEnvironment = -fixedHeatFlow.Q_flow * (1.0 + fixedHeatFlow.alpha * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG) - fixedHeatFlow.T_ref)) ($RES_SIM_40) (26|26) [SCAL] (1) liquidWater.amountOfSolution * (1.0 - liquidWater.SelfClustering_K * liquidWater.x) = liquidWater.amountOfFreeMolecule ($RES_SIM_34) (27|27) [SCAL] (1) solution.volume_der = liquidWater.molarVolume * liquidWater.q + $DER.liquidWater.molarVolume * liquidWater.amountOfBaseMolecules ($RES_SIM_28) (28|28) [SCAL] (1) liquidWater.x = (0.5 * ((liquidWater.amountOfSolution / liquidWater.amountOfBaseMolecules + 2.0 * liquidWater.SelfClustering_K) - $FUN_1)) / liquidWater.SelfClustering_K ^ 2.0 ($RES_SIM_35) (29|29) [SCAL] (1) liquidWater.SelfClustering_K = exp(-liquidWater.SelfClustering_dG / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) / 8.31446261815324) ($RES_AUX_120) (30|30) [SCAL] (1) $DER.liquidWater.SelfClustering_K = exp(-liquidWater.SelfClustering_dG / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) / 8.31446261815324) * (0.014465439387523548 * ((liquidWater.SelfClustering_dG * (-0.030445520876280545 * $DER.liquidWater.SelfClustering_dG) - $DER.liquidWater.SelfClustering_dG * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) ^ 2.0 * 8.31446261815324)) ($RES_SIM_134) (31|31) [SCAL] (1) $DER.liquidWater.amountOfBonds = $DER.liquidWater.x * liquidWater.amountOfBaseMolecules * liquidWater.SelfClustering_K + liquidWater.x * $DER.liquidWater.amountOfBaseMolecules * liquidWater.SelfClustering_K + liquidWater.x * liquidWater.amountOfBaseMolecules * $DER.liquidWater.SelfClustering_K ($RES_SIM_135) (32|32) [SCAL] (1) $DER.$FUN_3 = (1/liquidWater.a) * $DER.liquidWater.a ($RES_SIM_136) (33|33) [SCAL] (1) $DER.solution.heatFromEnvironment = (-((75.3 * (0.030445520876280545 * $DER.$DER.liquidWater.SelfClustering_dG)) * liquidWater.amountOfBaseMolecules + (75.3 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG)) * $DER.liquidWater.amountOfBaseMolecules)) - 81.6348 * $DER.$DER.liquidWater.amountOfBonds ($RES_SIM_137) (34|34) [SCAL] (1) $DER.liquidWater.amountOfBaseMolecules = exp(liquidWater.logn) * $DER.liquidWater.logn ($RES_SIM_138) (35|35) [SCAL] (1) $DER.solution.gibbsEnergy = ($DER.liquidWater.amountOfBaseMolecules * liquidWater.port_a.u + liquidWater.amountOfBaseMolecules * $DER.liquidWater.port_a.u) + ($DER.liquidWater.amountOfBonds * liquidWater.SelfClustering_dG + liquidWater.amountOfBonds * $DER.liquidWater.SelfClustering_dG) ($RES_SIM_139) (36|36) [SCAL] (1) $DER.liquidWater.pressure = 0.0 ($RES_SIM_140) (37|37) [SCAL] (1) $DER.$FUN_1 = (0.5 / ((4.0 * liquidWater.amountOfSolution * liquidWater.SelfClustering_K) / liquidWater.amountOfBaseMolecules + (liquidWater.amountOfSolution / liquidWater.amountOfBaseMolecules) ^ 2.0) ^ 0.5) * (((4.0 * $DER.liquidWater.amountOfSolution * liquidWater.SelfClustering_K + 4.0 * liquidWater.amountOfSolution * $DER.liquidWater.SelfClustering_K) * liquidWater.amountOfBaseMolecules - 4.0 * $DER.liquidWater.amountOfBaseMolecules * liquidWater.amountOfSolution * liquidWater.SelfClustering_K) / liquidWater.amountOfBaseMolecules ^ 2.0 + 2.0 * (liquidWater.amountOfSolution / liquidWater.amountOfBaseMolecules) * ((liquidWater.amountOfSolution * $DER.liquidWater.amountOfBaseMolecules - $DER.liquidWater.amountOfSolution * liquidWater.amountOfBaseMolecules) / liquidWater.amountOfBaseMolecules ^ 2.0)) ($RES_SIM_141) (38|38) [SCAL] (1) $DER.solution.ds = ($DER.solution.volume * solution.SurfaceArea) / solution.SurfaceArea ^ 2.0 ($RES_SIM_142) (39|39) [SCAL] (1) $DER.liquidWater.uPure = $fDER0.Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.liquidWater.SelfClustering_dG, $DER.liquidWater.pressure, 0.0, $DER.liquidWater.moleFractionBasedIonicStrength) - ((0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * $fDER0.Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarEntropyPure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.liquidWater.SelfClustering_dG, $DER.liquidWater.pressure, 0.0, $DER.liquidWater.moleFractionBasedIonicStrength) - (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG) * Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarEntropyPure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength)) ($RES_SIM_143) (40|40) [SCAL] (1) $DER.liquidWater.molarVolume = $fDER0.Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.liquidWater.SelfClustering_dG, $DER.liquidWater.pressure, 0.0, $DER.liquidWater.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength)) + Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) * ((1/Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength)) * $fDER0.Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.liquidWater.SelfClustering_dG, $DER.liquidWater.pressure, 0.0, $DER.liquidWater.moleFractionBasedIonicStrength)) ($RES_SIM_144) (41|41) [SCAL] (1) $DER.liquidWater.u0 = -(((0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * (-(((((0.030445520876280545 * $DER.liquidWater.SelfClustering_dG) * Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.liquidWater.SelfClustering_dG, $DER.liquidWater.pressure, 0.0, $DER.liquidWater.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) ^ 2.0) * ((-1e5) + liquidWater.pressure) + (Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * $DER.liquidWater.pressure) + 75.3 * ((1/(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) * (0.0033540164346805303 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG))))) - (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * ((-1e5) + liquidWater.pressure))) + 75.3 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG)) ($RES_SIM_145) (42|42) [SCAL] (1) $DER.liquidWater.a = $DER.liquidWater.x ($RES_SIM_146) (43|43) [SCAL] (1) 0.0 = $DER.solution.top_s - $DER.solution.ds ($RES_SIM_147) (44|44) [SCAL] (1) $DER.liquidWater.molarEntropyPure = -((((1.8015e-5 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG)) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) ^ 2.0) * ((-1e5) + liquidWater.pressure) + (1.8015e-5 / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * $DER.liquidWater.pressure) + 75.3 * ((1/(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) * (0.0033540164346805303 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG)))) ($RES_SIM_148) (45|45) [SCAL] (1) $DER.liquidWater.port_a.u = (8.31446261815324 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * $DER.$FUN_3 - 8.31446261815324 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG) * $FUN_3) + (-(((0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) * (-(((((0.030445520876280545 * $DER.liquidWater.SelfClustering_dG) * Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.liquidWater.SelfClustering_dG, $DER.liquidWater.pressure, 0.0, $DER.liquidWater.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)) ^ 2.0) * ((-1e5) + liquidWater.pressure) + (Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * $DER.liquidWater.pressure) + 75.3 * ((1/(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) * (0.0033540164346805303 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG))))) - (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.HeatingOfWater.liquidWater.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - liquidWater.SelfClustering_dG), liquidWater.pressure, 0.0, liquidWater.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - liquidWater.SelfClustering_dG))) * ((-1e5) + liquidWater.pressure))) + 75.3 * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG))) ($RES_SIM_149) (46|46) [SCAL] (1) $DER.liquidWater.mass = $DER.liquidWater.amountOfBaseMolecules * liquidWater.molarMassOfBaseMolecule ($RES_SIM_150) (47|47) [SCAL] (1) $DER.liquidWater.port_c.c = ($DER.liquidWater.amountOfSolution * solution.volume - $DER.solution.volume * liquidWater.amountOfSolution) / solution.volume ^ 2.0 ($RES_SIM_151) (48|48) [SCAL] (1) $DER.liquidWater.q = 0.0 ($RES_SIM_152) (49|49) [SCAL] (1) $DER.liquidWater.moleFractionBasedIonicStrength = 0.0 ($RES_SIM_153) (50|50) [SCAL] (1) $DER.liquidWater.c = ($DER.liquidWater.amountOfSolution * solution.volume - $DER.solution.volume * liquidWater.amountOfSolution) / solution.volume ^ 2.0 ($RES_SIM_154) (51|51) [SCAL] (1) $DER.solution.volume = $DER.liquidWater.amountOfBaseMolecules * liquidWater.molarVolume + liquidWater.amountOfBaseMolecules * $DER.liquidWater.molarVolume ($RES_SIM_155) (52|52) [SCAL] (1) $DER.liquidWater.x = ($DER.liquidWater.amountOfFreeMolecule * liquidWater.amountOfSolution - $DER.liquidWater.amountOfSolution * liquidWater.amountOfFreeMolecule) / liquidWater.amountOfSolution ^ 2.0 ($RES_SIM_156) (53|53) [SCAL] (1) $DER.solution.mass = $DER.liquidWater.amountOfBaseMolecules * liquidWater.molarMassOfBaseMolecule ($RES_SIM_157) (54|54) [SCAL] (1) $DER.$DER.liquidWater.logn = ($DER.liquidWater.q * liquidWater.amountOfBaseMolecules - $DER.liquidWater.amountOfBaseMolecules * liquidWater.q) / liquidWater.amountOfBaseMolecules ^ 2.0 ($RES_SIM_158) (55|55) [SCAL] (1) -$DER.solution.heatFromEnvironment = fixedHeatFlow.Q_flow * (fixedHeatFlow.alpha * (0.030445520876280545 * $DER.liquidWater.SelfClustering_dG)) ($RES_SIM_159) (56|56) [SCAL] (1) $DER.liquidWater.amountOfSolution * (1.0 - liquidWater.SelfClustering_K * liquidWater.x) - liquidWater.amountOfSolution * ($DER.liquidWater.SelfClustering_K * liquidWater.x + liquidWater.SelfClustering_K * $DER.liquidWater.x) = $DER.liquidWater.amountOfFreeMolecule ($RES_SIM_160) (57|57) [SCAL] (1) $DER.solution.volume_der = ($DER.liquidWater.molarVolume * liquidWater.q + liquidWater.molarVolume * $DER.liquidWater.q) + ($DER.$DER.liquidWater.molarVolume * liquidWater.amountOfBaseMolecules + $DER.liquidWater.molarVolume * $DER.liquidWater.amountOfBaseMolecules) ($RES_SIM_161) (58|58) [SCAL] (1) $DER.liquidWater.x = ((0.5 * ((($DER.liquidWater.amountOfSolution * liquidWater.amountOfBaseMolecules - $DER.liquidWater.amountOfBaseMolecules * liquidWater.amountOfSolution) / liquidWater.amountOfBaseMolecules ^ 2.0 + 2.0 * $DER.liquidWater.SelfClustering_K) - $DER.$FUN_1)) * liquidWater.SelfClustering_K ^ 2.0 - 0.5 * (2.0 * liquidWater.SelfClustering_K * $DER.liquidWater.SelfClustering_K) * ((liquidWater.amountOfSolution / liquidWater.amountOfBaseMolecules + 2.0 * liquidWater.SelfClustering_K) - $FUN_1)) / (liquidWater.SelfClustering_K ^ 2.0) ^ 2.0 ($RES_SIM_162) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 4 var 2 --> eqn 28 var 3 --> eqn 12 var 4 --> eqn 14 var 5 --> eqn 16 var 6 --> eqn 40 var 7 --> eqn 6 var 8 --> eqn 15 var 9 --> eqn 13 var 10 --> eqn 19 var 11 --> eqn 25 var 12 --> eqn 26 var 13 --> eqn 20 var 14 --> eqn 11 var 15 --> eqn 22 var 16 --> eqn 24 var 17 --> eqn 21 var 18 --> eqn 8 var 19 --> eqn 2 var 20 --> eqn 23 var 21 --> eqn 7 var 22 --> eqn 5 var 23 --> eqn 3 var 24 --> eqn 30 var 25 --> eqn 29 var 26 --> eqn 27 var 27 --> eqn 18 var 28 --> eqn 9 var 29 --> eqn 17 var 30 --> eqn -1 var 31 --> eqn 33 var 32 --> eqn 35 var 33 --> eqn 39 var 34 --> eqn 41 var 35 --> eqn 42 var 36 --> eqn 38 var 37 --> eqn 43 var 38 --> eqn 44 var 39 --> eqn 32 var 40 --> eqn 36 var 41 --> eqn 45 var 42 --> eqn 46 var 43 --> eqn 47 var 44 --> eqn 49 var 45 --> eqn 50 var 46 --> eqn 51 var 47 --> eqn 53 var 48 --> eqn 54 var 49 --> eqn 55 var 50 --> eqn 56 var 51 --> eqn 48 var 52 --> eqn 57 var 53 --> eqn -1 var 54 --> eqn 58 var 55 --> eqn 34 var 56 --> eqn 37 var 57 --> eqn 31 var 58 --> eqn 52 var 59 --> eqn 1 var 60 --> eqn 10 equation to variable ********************** eqn 1 --> var 59 eqn 2 --> var 19 eqn 3 --> var 23 eqn 4 --> var 1 eqn 5 --> var 22 eqn 6 --> var 7 eqn 7 --> var 21 eqn 8 --> var 18 eqn 9 --> var 28 eqn 10 --> var 60 eqn 11 --> var 14 eqn 12 --> var 3 eqn 13 --> var 9 eqn 14 --> var 4 eqn 15 --> var 8 eqn 16 --> var 5 eqn 17 --> var 29 eqn 18 --> var 27 eqn 19 --> var 10 eqn 20 --> var 13 eqn 21 --> var 17 eqn 22 --> var 15 eqn 23 --> var 20 eqn 24 --> var 16 eqn 25 --> var 11 eqn 26 --> var 12 eqn 27 --> var 26 eqn 28 --> var 2 eqn 29 --> var 25 eqn 30 --> var 24 eqn 31 --> var 57 eqn 32 --> var 39 eqn 33 --> var 31 eqn 34 --> var 55 eqn 35 --> var 32 eqn 36 --> var 40 eqn 37 --> var 56 eqn 38 --> var 36 eqn 39 --> var 33 eqn 40 --> var 6 eqn 41 --> var 34 eqn 42 --> var 35 eqn 43 --> var 37 eqn 44 --> var 38 eqn 45 --> var 41 eqn 46 --> var 42 eqn 47 --> var 43 eqn 48 --> var 51 eqn 49 --> var 44 eqn 50 --> var 45 eqn 51 --> var 46 eqn 52 --> var 58 eqn 53 --> var 47 eqn 54 --> var 48 eqn 55 --> var 49 eqn 56 --> var 50 eqn 57 --> var 52 eqn 58 --> var 54 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.2648367159999907] Failed to read output from testmodel.py, exit status != 0: 0.0408268291503191 0.053554459000000006 0.034914618 Calling exit ...