Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.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.001232/0.001232, 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.001317/0.001317, allocations: 212.6 kB / 23.01 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.296/1.296, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.128/0.128, allocations: 23.92 MB / 337.1 MB, free: 10.93 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/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.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.06e-05, allocations: 6.219 kB / 472.4 MB, free: 7.012 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.06881/0.06883, allocations: 26.13 MB / 498.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01807/0.0869, allocations: 14.71 MB / 0.5012 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.08765, allocations: 23.81 kB / 0.5012 GB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008271/0.08848, allocations: 305.7 kB / 0.5015 GB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.09215, allocations: 1.471 MB / 0.5029 GB, free: 12.44 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005182/0.09734, allocations: 2.02 MB / 0.5049 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.0996, allocations: 1.818 MB / 0.5067 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.1006, allocations: 0.7037 MB / 0.5074 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009385/0.1016, allocations: 0.8106 MB / 0.5082 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000981/0.1025, allocations: 0.8449 MB / 0.509 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.1027, allocations: 136 kB / 0.5091 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004273/0.107, allocations: 1.743 MB / 0.5108 GB, free: 4.324 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.002184/0.1092, allocations: 2.571 MB / 0.5133 GB, free: 1.73 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.001002/0.1102, allocations: 1.43 MB / 0.5147 GB, free: 292 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.1104, allocations: 116 kB / 0.5148 GB, free: 176 kB / 382.1 MB Notification: Performance of FrontEnd: time 0.0002815/0.1107, allocations: 51.89 kB / 0.5149 GB, free: 124 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 (272) * Number of variables: 276 (270) Notification: Performance of [SIM] Bindings: time 0.199/0.3097, allocations: 6.184 MB / 0.5209 GB, free: 34.28 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001094/0.3108, allocations: 0.9982 MB / 0.5219 GB, free: 34.17 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.006134/0.3169, allocations: 5.611 MB / 0.5274 GB, free: 32.97 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001496/0.3184, allocations: 0.9782 MB / 0.5283 GB, free: 32.5 MB / 382.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.007197/0.3256, allocations: 5.718 MB / 0.5339 GB, free: 29.89 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001084/0.3267, allocations: 0.9034 MB / 0.5348 GB, free: 29.53 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002669/0.327, allocations: 288.6 kB / 0.5351 GB, free: 29.35 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0007235/0.3277, allocations: 0.7562 MB / 0.5358 GB, free: 28.92 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002455/0.3279, allocations: 243.5 kB / 0.536 GB, free: 28.82 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.001186/0.3291, allocations: 1.293 MB / 0.5373 GB, free: 28.43 MB / 382.1 MB Error: Internal error NBSorting.tarjan failed to sort system: System Variables (243/255) **************************** (1|1) [DSTA] (1) flow Real H2O.solution.Vj (2|2) [DSTA] (1) Real H2O.mass = H2O.amountOfBaseMolecules * H2O.molarMassOfBaseMolecule (min = 0.0) (3|3) [DSTA] (1) flow Real H2.solution.Gj (4|4) [DSTA] (2) flow Real[2] reaction.substrates.q (5|6) [DSTA] (1) Real $FUN_11 (6|7) [DSTA] (1) Real $DER.H2.logn (7|8) [DSTA] (1) flow Real H2.solution.mj (min = 0.0) (8|9) [DSTA] (1) protected Real CO2.amountOfParticles (start = CO2.m_start * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.specificAmountOfParticles(Chemical.Obsolete.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), system.T_ambient, system.p_ambient, 0.0, 0.0), min = 0.0) (9|10) [DDER] (1) Real $DER.H2.molarVolume (10|11) [ALGB] (1) protected Real CO2.SelfClustering_K = exp(-0.0 / ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * 8.31446261815324)) (min = 0.0, max = 1.0) (11|12) [DSTA] (1) flow Real H2O.solution.Ij (min = 0.0, max = 1.0) (12|13) [DSTA] (1) flow Real H2O.port_a.q (13|14) [DSTA] (1) protected Real H2O.u0 (14|15) [DSTA] (1) Real H2O.port_c.c (15|16) [DDER] (1) Real $DER.H2O.SelfClustering_dG (16|17) [DSTA] (1) Real H2O.port_a.u (17|18) [DSTA] (1) flow Real H2O.solution.Gj (18|19) [DSTA] (1) Real CO2.x (min = 0.0, max = 1.0) (19|20) [DSTA] (2) flow Real[2] reaction.products.q (20|22) [DSTA] (1) flow Real H2.solution.Vj (21|23) [DSTA] (1) Real H2.port_c.c (22|24) [DSTA] (1) Real CH4.a (23|25) [DDER] (1) Real $DER.CO2.molarVolume (24|26) [DSTA] (1) protected Real CH4.uPure (25|27) [DDER] (1) Real $DER.CH4.molarVolume (26|28) [DDER] (1) Real $DER.H2O.amountOfBonds (27|29) [DSTA] (1) Real H2O.port_m.x_mass (min = 0.0, max = 1.0) (28|30) [DSTA] (1) Real $FUN_9 (29|31) [DSTA] (2) stream Real[2] reaction.substrates.h_outflow (nominal = {2e4 for $f1 in 1:2}) (30|33) [DSTA] (1) Real $FUN_8 (31|34) [DSTA] (1) Real $FUN_7 (32|35) [DSTA] (1) Real CH4.c (33|36) [DSTA] (1) flow Real H2O.solution.mj (min = 0.0) (34|37) [DSTA] (1) Real $FUN_5 (35|38) [DSTA] (1) Real $FUN_4 (36|39) [DSTA] (1) protected Real CO2.molarEntropyPure (37|40) [DSTA] (1) protected Real CH4.amountOfParticles (start = CH4.m_start * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.specificAmountOfParticles(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), system.T_ambient, system.p_ambient, 0.0, 0.0), min = 0.0) (38|41) [DSTA] (1) protected Real solution.top_s (39|42) [DSTA] (1) Real $FUN_2 (40|43) [DSTA] (1) Real solution.volume (41|44) [STAT] (1) flow Real CO2.solution.dV (42|45) [DSTA] (1) Real H2.x (min = 0.0, max = 1.0) (43|46) [DSTA] (1) Real solution.mass (min = 0.0, StateSelect = prefer) (44|47) [DSTA] (1) Real CH4.mass = CH4.amountOfParticles * CH4.molarMassOfBaseMolecule (min = 0.0) (45|48) [DSTA] (1) Real H2O.q (46|49) [DSTA] (1) flow Real CO2.solution.dH (47|50) [DSTA] (1) Real H2.q (48|51) [DSTA] (2) Real[2] reaction.products.u (49|53) [DSTA] (1) Real H2.port_m.x_mass (min = 0.0, max = 1.0) (50|54) [DDER] (1) Real $DER.H2O.molarVolume (51|55) [DSTA] (1) flow Real CO2.solution.Vj (52|56) [DSTA] (1) Real reaction.rr (start = 0.0) (53|57) [DSTA] (1) flow Real H2.solution.Ij (min = 0.0, max = 1.0) (54|58) [DSTA] (1) Real CO2.a (55|59) [DSTA] (1) protected Real H2O.amountOfFreeMolecule (start = H2O.m_start * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) (56|60) [DSTA] (1) Real H2.c (57|61) [DSTA] (1) protected Real CO2.uPure (58|62) [DSTA] (1) protected Real H2.amountOfParticles (start = H2.m_start * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.specificAmountOfParticles(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), system.T_ambient, system.p_ambient, 0.0, 0.0), min = 0.0) (59|63) [DSTA] (1) protected Real H2.molarEntropyPure (60|64) [DSTA] (1) Real reaction.h_mix (nominal = 2e4) (61|65) [DSTA] (1) protected Real H2.amountOfSolution (min = 0.0) (62|66) [DSTA] (1) protected Real solution.gibbsEnergy (63|67) [DSTA] (1) Real CO2.c (64|68) [DSTA] (1) flow Real CH4.port_a.q (65|69) [DSTA] (1) protected Real solution.volume_der (66|70) [DSTA] (1) flow Real CH4.solution.Ij (min = 0.0, max = 1.0) (67|71) [DSTA] (1) protected Real CH4.u0 (68|72) [DSTA] (1) Real CH4.port_c.c (69|73) [STAT] (1) protected Real CH4.molarEntropyPure (70|74) [DSTA] (1) Real CH4.port_a.u (71|75) [DSTA] (1) flow Real CH4.solution.Gj (72|76) [DSTA] (1) flow Real CH4.solution.dV (73|77) [DSTA] (1) Real CO2.mass = CO2.amountOfParticles * CO2.molarMassOfBaseMolecule (min = 0.0) (74|78) [DSTA] (1) protected Real H2O.SelfClustering_K = exp(-H2O.SelfClustering_dG / ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * 8.31446261815324)) (min = 0.0, max = 1.0) (75|79) [DSTA] (1) flow Real CH4.solution.dH (76|80) [DSTA] (1) flow Real H2.solution.dH (77|81) [DSTA] (1) Real H2.a (78|82) [DSTA] (1) Real H2O.x (min = 0.0, max = 1.0) (79|83) [DSTA] (1) flow Real H2.port_a.q (80|84) [DSTA] (1) flow Real CH4.solution.Vj (81|85) [DSTA] (1) protected Real H2.pressure (82|86) [DSTA] (1) Real CO2.port_m.x_mass (min = 0.0, max = 1.0) (83|87) [DSTA] (1) protected Real H2O.amountOfParticles (start = H2O.m_start * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.stateOfMatter.specificAmountOfParticles(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), min = 0.0) (84|88) [DSTA] (1) flow Real CO2.solution.Ij (min = 0.0, max = 1.0) (85|89) [DSTA] (1) flow Real CO2.port_a.q (86|90) [DSTA] (1) protected Real H2.moleFractionBasedIonicStrength (min = 0.0, max = 0.0) (87|91) [DSTA] (1) Real CO2.port_c.c (88|92) [DSTA] (1) protected Real CO2.u0 (89|93) [DSTA] (1) Real $DER.CO2.logn (90|94) [DSTA] (1) Real CO2.port_a.u (91|95) [DISC] (1) Boolean $SEV_5 (92|96) [DSTA] (1) flow Real CO2.solution.Gj (93|97) [DSTA] (1) Real $DER.CH4.logn (94|98) [DISC] (1) Boolean $SEV_4 (95|99) [DISC] (1) Boolean $SEV_3 (96|100) [DSTA] (1) Real CH4.q (97|101) [DSTA] (1) flow Real CO2.solution.mj (min = 0.0) (98|102) [DISC] (1) Boolean $SEV_2 (99|103) [DISC] (1) Boolean $SEV_1 (100|104) [STAT] (1) flow Real H2.solution.dV (101|105) [DISC] (1) Boolean $SEV_0 (102|106) [DSTA] (1) protected Real reaction.du (103|107) [DSTA] (2) Real[2] reaction.substrates.u (104|109) [DSTA] (1) protected Real H2.uPure (105|110) [DSTA] (1) Real H2.port_a.u (106|111) [DSTA] (1) protected Real H2.u0 (107|112) [DSTA] (1) protected Real H2O.amountOfBaseMolecules (start = H2O.m_start / H2O.molarMassOfBaseMolecule, min = 0.0) (108|113) [ALGB] (1) protected Real H2.SelfClustering_K = exp(-0.0 / ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * 8.31446261815324)) (min = 0.0, max = 1.0) (109|114) [STAT] (1) protected Real solution.heatFromEnvironment (110|115) [DSTA] (1) Real H2O.a (111|116) [DSTA] (1) Real $DER.H2O.logn (112|117) [DSTA] (1) protected Real H2O.uPure (113|118) [DSTA] (1) protected Real H2O.molarEntropyPure (114|119) [DSTA] (1) Real CH4.port_m.x_mass (min = 0.0, max = 1.0) (115|120) [DSTA] (1) Real H2.mass = H2.amountOfParticles * H2.molarMassOfBaseMolecule (min = 0.0) (116|121) [DSTA] (1) flow Real H2O.solution.dV (117|122) [DSTA] (1) Real H2O.c (118|123) [DSTA] (2) stream Real[2] reaction.products.h_outflow (nominal = {2e4 for $f1 in 1:2}) (119|125) [ALGB] (1) protected Real CH4.SelfClustering_K = exp(-0.0 / ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * 8.31446261815324)) (min = 0.0, max = 1.0) (120|126) [DSTA] (1) flow Real CH4.solution.mj (min = 0.0) (121|127) [DSTA] (1) Real CO2.q (122|128) [DSTA] (1) flow Real H2O.solution.dH (123|129) [DSTA] (1) Real CH4.x (min = 0.0, max = 1.0) (124|130) [DDER] (1) Real $DER.CH4.u0 (125|131) [DER-] (1) Real $DER.CH4.molarEntropyPure (126|132) [DDER] (2) Real[2] $DER.reaction.products.u (127|134) [DDER] (1) Real $DER.solution.top_s (128|135) [DDER] (2) Real[2] $DER.reaction.substrates.u (129|137) [DDER] (1) Real $DER.H2O.uPure (130|138) [DDER] (1) Real $DER.CO2.uPure (131|139) [DDER] (1) Real $DER.CO2.u0 (132|140) [DDER] (1) Real $DER.CO2.molarEntropyPure (133|141) [DDER] (1) Real $DER.CH4.mass (134|142) [DDER] (1) Real $DER.H2.port_c.c (135|143) [DDER] (1) Real $DER.CO2.port_c.c (136|144) [DDER] (1) Real $DER.H2.port_m.x_mass (137|145) [DDER] (1) Real $DER.CH4.port_c.c (138|146) [DDER] (1) Real $DER.CO2.port_m.x_mass (139|147) [DDER] (1) Real $DER.H2O.u0 (140|148) [DDER] (1) Real $DER.CH4.port_m.x_mass (141|149) [DDER] (1) Real $DER.H2O.molarEntropyPure (142|150) [DDER] (1) flow Real $DER.CH4.port_a.q (143|151) [DDER] (1) Real $DER.CO2.mass (144|152) [DDER] (1) Real $DER.H2O.mass (145|153) [DDER] (1) Real $DER.H2.mass (146|154) [DDER] (1) Real $DER.$DER.H2.molarVolume (147|155) [DDER] (1) Real $DER.$DER.CO2.molarVolume (148|156) [DER-] (1) Real $DER.$DER.CH4.molarVolume (149|157) [DDER] (1) Real $DER.H2.c (150|158) [DDER] (1) Real $DER.CO2.c (151|159) [DDER] (1) Real $DER.CH4.c (152|160) [DDER] (1) Real $DER.CO2.x (153|161) [DDER] (1) Real $DER.H2O.port_c.c (154|162) [DDER] (1) Real $DER.H2O.port_m.x_mass (155|163) [DDER] (1) Real $DER.$DER.H2.logn (156|164) [DDER] (1) Real $DER.$DER.CO2.logn (157|165) [DDER] (1) Real $DER.$DER.CH4.logn (158|166) [DDER] (1) flow Real $DER.H2.port_a.q (159|167) [DDER] (1) Real $DER.CH4.q (160|168) [DDER] (1) flow Real $DER.H2O.port_a.q (161|169) [DER-] (1) Real $DER.$DER.H2O.molarVolume (162|170) [DDER] (1) flow Real $DER.CH4.solution.Ij (163|171) [DDER] (1) flow Real $DER.CO2.solution.Ij (164|172) [DDER] (1) flow Real $DER.H2O.solution.Ij (165|173) [DDER] (1) flow Real $DER.H2.solution.Ij (166|174) [DDER] (1) Real $DER.solution.gibbsEnergy (167|175) [DDER] (1) flow Real $DER.CH4.solution.Vj (168|176) [DDER] (1) flow Real $DER.CO2.solution.Vj (169|177) [DDER] (1) flow Real $DER.H2O.solution.Vj (170|178) [DDER] (1) flow Real $DER.H2.solution.Vj (171|179) [DDER] (1) Real $DER.$FUN_9 (172|180) [DDER] (1) Real $DER.reaction.du (173|181) [DDER] (1) Real $DER.$FUN_8 (174|182) [DDER] (1) Real $DER.H2O.a (175|183) [DDER] (1) Real $DER.$FUN_7 (176|184) [DDER] (1) Real $DER.H2.q (177|185) [DDER] (1) Real $DER.CO2.q (178|186) [DDER] (1) flow Real $DER.H2.solution.Gj (179|187) [DDER] (1) Real $DER.CO2.port_a.u (180|188) [DDER] (1) flow Real $DER.CO2.solution.Gj (181|189) [DDER] (1) flow Real $DER.CH4.solution.Gj (182|190) [DDER] (1) Real $DER.CH4.port_a.u (183|191) [DDER] (1) Real $DER.solution.volume (184|192) [DDER] (1) Real $DER.H2O.c (185|193) [DDER] (1) Real $DER.CH4.x (186|194) [DDER] (1) Real $DER.solution.mass (187|195) [DDER] (1) flow Real $DER.CH4.solution.mj (188|196) [DDER] (1) flow Real $DER.CO2.solution.mj (189|197) [DDER] (1) flow Real $DER.H2O.solution.mj (190|198) [DDER] (1) flow Real $DER.H2.solution.mj (191|199) [DDER] (1) Real $DER.H2.amountOfParticles (192|200) [DDER] (1) Real $DER.$DER.H2O.logn (193|201) [DDER] (1) Real $DER.solution.volume_der (194|202) [DDER] (1) flow Real $DER.CH4.solution.dV (195|203) [DER-] (1) flow Real $DER.CO2.solution.dV (196|204) [DDER] (1) flow Real $DER.H2O.solution.dV (197|205) [DER-] (1) flow Real $DER.H2.solution.dV (198|206) [DDER] (1) Real $DER.reaction.h_mix (199|207) [DDER] (2) stream Real[2] $DER.reaction.substrates.h_outflow (200|209) [DDER] (1) Real $DER.H2O.amountOfFreeMolecule (201|210) [DDER] (1) Real $DER.H2O.amountOfParticles (202|211) [DER-] (1) Real $DER.solution.heatFromEnvironment (203|212) [DDER] (1) flow Real $DER.CH4.solution.dH (204|213) [DDER] (1) flow Real $DER.CO2.solution.dH (205|214) [DDER] (1) flow Real $DER.H2.solution.dH (206|215) [DDER] (2) flow Real[2] $DER.reaction.products.q (207|217) [DDER] (1) Real $DER.reaction.rr (208|218) [DDER] (1) Real $DER.H2O.x (209|219) [DDER] (2) stream Real[2] $DER.reaction.products.h_outflow (210|221) [DDER] (1) Real $DER.$DER.H2O.amountOfBonds (211|222) [DDER] (1) Real $DER.H2O.q (212|223) [DDER] (1) Real $DER.$DER.H2O.SelfClustering_dG (213|224) [DDER] (1) flow Real $DER.H2O.solution.dH (214|225) [DDER] (2) flow Real[2] $DER.reaction.substrates.q (215|227) [DDER] (1) flow Real $DER.CO2.port_a.q (216|228) [DDER] (1) Real $DER.H2O.SelfClustering_K (217|229) [DDER] (1) Real $DER.H2.amountOfSolution (218|230) [DDER] (1) Real $DER.$FUN_5 (219|231) [DDER] (1) Real $DER.H2O.port_a.u (220|232) [DDER] (1) Real $DER.H2O.amountOfBaseMolecules (221|233) [DDER] (1) flow Real $DER.H2O.solution.Gj (222|234) [DDER] (1) Real $DER.CO2.a (223|235) [DDER] (1) Real $DER.$FUN_4 (224|236) [DDER] (1) Real $DER.CO2.amountOfParticles (225|237) [DDER] (1) Real $DER.CH4.a (226|238) [DDER] (1) Real $DER.$FUN_2 (227|239) [DDER] (1) Real $DER.CH4.amountOfParticles (228|240) [DDER] (1) Real $DER.H2.x (229|241) [DDER] (1) Real $DER.H2.a (230|242) [DDER] (1) Real $DER.$FUN_11 (231|243) [DDER] (1) Real $DER.H2.port_a.u (232|244) [DDER] (1) Real $DER.H2.uPure (233|245) [DDER] (1) Real $DER.H2.u0 (234|246) [DDER] (1) Real $DER.H2.moleFractionBasedIonicStrength (235|247) [DDER] (1) Real $DER.CH4.uPure (236|248) [DDER] (1) Real $DER.H2.pressure (237|249) [DDER] (1) Real $DER.H2.molarEntropyPure (238|250) [DSTA] (1) protected Real H2O.molarVolume (min = 0.0) (239|251) [DSTA] (1) protected Real H2O.amountOfBonds (min = 0.0) (240|252) [DSTA] (1) protected Real H2.molarVolume (min = 0.0) (241|253) [DSTA] (1) protected Real CH4.molarVolume (min = 0.0) (242|254) [DSTA] (1) protected Real H2O.SelfClustering_dG = -((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * 32.845554 + 81.6348) (min = -81.6348) (243|255) [DSTA] (1) protected Real CO2.molarVolume (min = 0.0) System Equations (241/249) **************************** (1|1) [SCAL] (1) CH4.u0 = (-88151.0) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((-179.9329196713064) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) ($RES_SIM_132) (2|2) [ARRY] (2) reaction.rr * reaction.s = reaction.substrates.q ($RES_SIM_50) (3|4) [SCAL] (1) CH4.molarEntropyPure = (-179.9329196713064) - (1.604246e-5 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure) ($RES_SIM_133) (4|5) [SCAL] (1) reaction.rr = -reaction.du * reaction.KC * $FUN_9 ($RES_SIM_51) (5|6) [SCAL] (1) reaction.du = reaction.p * reaction.products.u - reaction.s * reaction.substrates.u ($RES_SIM_52) (6|7) [SCAL] (1) -0.030445520876280545 * $DER.H2O.SelfClustering_dG = 0.0 ($RES_SIM_170) (7|8) [SCAL] (1) H2O.port_a.u = 8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $FUN_7 + (((-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure))) ($RES_SIM_54) (8|9) [SCAL] (1) reaction.products[1].q + CH4.port_a.q = 0.0 ($RES_SIM_210) (9|10) [SCAL] (1) CO2.port_a.u = 8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $FUN_4 + ((-412900.0) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((-89.55223880597016) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure))) ($RES_SIM_90) (10|11) [SCAL] (1) H2O.a = H2O.x ($RES_SIM_55) (11|12) [SCAL] (1) H2O.port_a.u = reaction.products[2].u ($RES_SIM_211) (12|13) [SCAL] (1) CO2.a = 1.17385 * CO2.x ($RES_SIM_91) (13|14) [SCAL] (1) H2.pressure = solution.BasePressure ($RES_SIM_173) (14|15) [SCAL] (1) CH4.port_a.u = reaction.products[1].u ($RES_SIM_212) (15|16) [SCAL] (1) solution.top_s = solution.volume / solution.SurfaceArea - solution.positionShift ($RES_SIM_174) (16|17) [SCAL] (1) CO2.port_a.u = reaction.substrates[2].u ($RES_SIM_213) (17|18) [SCAL] (1) H2O.molarVolume = 1.8015e-5 + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_58) (18|19) [SCAL] (1) H2.port_a.u = reaction.substrates[1].u ($RES_SIM_214) (19|20) [SCAL] (1) CO2.molarVolume = 4.4e-5 + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_94) (20|21) [SCAL] (1) H2O.uPure = Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) ($RES_SIM_59) (21|22) [SCAL] (1) CO2.uPure = Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarEntropyPure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) ($RES_SIM_95) (22|23) [SCAL] (1) CO2.u0 = (-412900.0) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((-89.55223880597016) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) ($RES_SIM_96) (23|24) [SCAL] (1) CO2.molarEntropyPure = (-89.55223880597016) - (4.4e-5 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure) ($RES_SIM_97) (24|25) [SCAL] (1) CH4.mass = CH4.amountOfParticles * CH4.molarMassOfBaseMolecule ($RES_BND_269) (25|26) [SCAL] (1) H2.port_c.c = H2.amountOfParticles / solution.volume ($RES_SIM_23) (26|27) [SCAL] (1) CO2.port_c.c = CO2.amountOfParticles / solution.volume ($RES_SIM_106) (27|28) [SCAL] (1) H2.port_m.x_mass = H2.solution.mj / solution.mass ($RES_SIM_24) (28|29) [SCAL] (1) CH4.port_c.c = CH4.amountOfParticles / solution.volume ($RES_SIM_142) (29|30) [SCAL] (1) CO2.port_m.x_mass = CO2.solution.mj / solution.mass ($RES_SIM_107) (30|31) [SCAL] (1) H2O.u0 = ((-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) ($RES_SIM_60) (31|32) [SCAL] (1) H2.q = H2.port_a.q ($RES_SIM_25) (32|33) [SCAL] (1) CH4.port_m.x_mass = CH4.solution.mj / solution.mass ($RES_SIM_143) (33|34) [SCAL] (1) CO2.q = CO2.port_a.q ($RES_SIM_108) (34|35) [SCAL] (1) H2O.molarEntropyPure = ((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) - (1.8015e-5 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure) ($RES_SIM_61) (35|36) [SCAL] (1) H2.solution.Ij = 0.0 ($RES_SIM_26) (36|37) [SCAL] (1) CH4.q = CH4.port_a.q ($RES_SIM_144) (37|38) [SCAL] (1) CO2.solution.Ij = 0.0 ($RES_SIM_109) (38|39) [SCAL] (1) CH4.solution.Ij = 0.0 ($RES_SIM_145) (39|40) [SCAL] (1) H2.solution.Vj = H2.amountOfParticles * H2.molarVolume ($RES_SIM_28) (40|41) [SCAL] (1) H2.solution.mj = H2.amountOfParticles * H2.molarMassOfBaseMolecule ($RES_SIM_29) (41|42) [SCAL] (1) CH4.solution.Vj = CH4.amountOfParticles * CH4.molarVolume ($RES_SIM_147) (42|43) [SCAL] (1) CH4.solution.mj = CH4.amountOfParticles * CH4.molarMassOfBaseMolecule ($RES_SIM_148) (43|44) [SCAL] (1) CO2.mass = CO2.amountOfParticles * CO2.molarMassOfBaseMolecule ($RES_BND_272) (44|45) [SCAL] (1) H2O.mass = H2O.amountOfBaseMolecules * H2O.molarMassOfBaseMolecule ($RES_BND_275) (45|46) [SCAL] (1) H2.mass = H2.amountOfParticles * H2.molarMassOfBaseMolecule ($RES_BND_278) (46|47) [SCAL] (1) CO2.solution.Vj = CO2.amountOfParticles * CO2.molarVolume ($RES_SIM_111) (47|48) [SCAL] (1) CO2.solution.mj = CO2.amountOfParticles * CO2.molarMassOfBaseMolecule ($RES_SIM_112) (48|49) [SCAL] (1) H2.solution.dV = H2.molarVolume * H2.q + $DER.H2.molarVolume * H2.amountOfParticles ($RES_SIM_31) (49|50) [SCAL] (1) CO2.solution.dV = CO2.molarVolume * CO2.q + $DER.CO2.molarVolume * CO2.amountOfParticles ($RES_SIM_114) (50|51) [SCAL] (1) CH4.solution.dV = CH4.molarVolume * CH4.q + $DER.CH4.molarVolume * CH4.amountOfParticles ($RES_SIM_150) (51|52) [SCAL] (1) H2.c = H2.amountOfParticles / solution.volume ($RES_SIM_33) (52|53) [SCAL] (1) CO2.c = CO2.amountOfParticles / solution.volume ($RES_SIM_116) (53|54) [SCAL] (1) H2.x = H2.amountOfParticles / H2.amountOfSolution ($RES_SIM_34) (54|55) [SCAL] (1) CH4.c = CH4.amountOfParticles / solution.volume ($RES_SIM_152) (55|56) [SCAL] (1) CO2.x = CO2.amountOfParticles / H2.amountOfSolution ($RES_SIM_117) (56|57) [SCAL] (1) H2O.port_c.c = H2O.amountOfParticles / solution.volume ($RES_SIM_70) (57|58) [SCAL] (1) CH4.x = CH4.amountOfParticles / H2.amountOfSolution ($RES_SIM_153) (58|59) [SCAL] (1) H2O.port_m.x_mass = H2O.solution.mj / solution.mass ($RES_SIM_71) (59|60) [SCAL] (1) $DER.H2.logn = H2.q / H2.amountOfParticles ($RES_SIM_36) (60|61) [SCAL] (1) $DER.CO2.logn = CO2.q / CO2.amountOfParticles ($RES_SIM_119) (61|62) [SCAL] (1) H2O.q = H2O.port_a.q ($RES_SIM_72) (62|63) [SCAL] (1) $DER.CH4.logn = CH4.q / CH4.amountOfParticles ($RES_SIM_155) (63|64) [SCAL] (1) H2O.solution.Ij = 0.0 ($RES_SIM_73) (64|65) [SCAL] (1) H2.port_a.q + reaction.substrates[1].q = 0.0 ($RES_SIM_192) (65|66) [SCAL] (1) H2O.solution.Vj = H2O.amountOfBaseMolecules * H2O.molarVolume ($RES_SIM_75) (66|67) [SCAL] (1) H2O.solution.mj = H2O.amountOfBaseMolecules * H2O.molarMassOfBaseMolecule ($RES_SIM_76) (67|68) [SCAL] (1) CH4.solution.dH = -(CH4.q * (if $SEV_0 then reaction.products[1].h_outflow else -88151.0) + 88151.0 * CH4.q) ($RES_SIM_159) (68|69) [SCAL] (1) CH4.SelfClustering_K = exp(-0.0 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) / 8.31446261815324) ($RES_AUX_281) (69|70) [SCAL] (1) reaction.products[2].q + H2O.port_a.q = 0.0 ($RES_SIM_195) (70|71) [SCAL] (1) H2O.solution.dV = H2O.molarVolume * H2O.q + $DER.H2O.molarVolume * H2O.amountOfBaseMolecules ($RES_SIM_78) (71|72) [SCAL] (1) CO2.SelfClustering_K = exp(-0.0 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) / 8.31446261815324) ($RES_AUX_282) (72|73) [SCAL] (1) (CH4.solution.Ij + CO2.solution.Ij + H2O.solution.Ij + H2.solution.Ij) - H2.moleFractionBasedIonicStrength = 0.0 ($RES_SIM_196) (73|74) [SCAL] (1) H2O.SelfClustering_K = exp(-H2O.SelfClustering_dG / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) / 8.31446261815324) ($RES_AUX_283) (74|75) [SCAL] (1) H2.SelfClustering_K = exp(-0.0 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) / 8.31446261815324) ($RES_AUX_284) (75|76) [SCAL] (1) (CH4.solution.Gj + CO2.solution.Gj + H2O.solution.Gj + H2.solution.Gj) - solution.gibbsEnergy = 0.0 ($RES_SIM_198) (76|77) [SCAL] (1) $FUN_11 = log(H2.a) ($RES_AUX_285) (77|78) [SCAL] (1) (CH4.solution.Vj + CO2.solution.Vj + H2O.solution.Vj + H2.solution.Vj) - solution.volume = 0.0 ($RES_SIM_199) (78|79) [SCAL] (1) H2.amountOfParticles = exp(H2.logn) ($RES_AUX_286) (79|80) [SCAL] (1) $FUN_9 = exp(-reaction.kE * $FUN_8) ($RES_AUX_287) (80|81) [SCAL] (1) $FUN_8 = abs(reaction.du) ($RES_AUX_288) (81|82) [SCAL] (1) $FUN_7 = log(H2O.a) ($RES_AUX_289) (82|83) [SCAL] (1) $SEV_0 = CH4.port_a.q > 0.0 ($RES_EVT_310) (83|84) [SCAL] (1) $SEV_1 = CO2.port_a.q > 0.0 ($RES_EVT_311) (84|85) [SCAL] (1) $SEV_2 = H2O.port_a.q > 0.0 ($RES_EVT_312) (85|86) [SCAL] (1) $SEV_3 = reaction.rr > 0.0 ($RES_EVT_313) (86|87) [SCAL] (1) $SEV_4 = reaction.rr < 0.0 ($RES_EVT_314) (87|88) [SCAL] (1) $SEV_5 = H2.port_a.q > 0.0 ($RES_EVT_315) (88|89) [SCAL] (1) H2.solution.dH = -(H2.q * (if $SEV_5 then reaction.substrates[1].h_outflow else -4157.0) + 4157.0 * H2.q) ($RES_SIM_40) (89|90) [SCAL] (1) CO2.solution.dH = -(CO2.q * (if $SEV_1 then reaction.substrates[2].h_outflow else -412900.0) + 412900.0 * CO2.q) ($RES_SIM_123) (90|91) [SCAL] (1) H2.solution.Gj = H2.amountOfParticles * H2.port_a.u ($RES_SIM_41) (91|92) [SCAL] (1) CO2.solution.Gj = CO2.amountOfParticles * CO2.port_a.u ($RES_SIM_124) (92|93) [SCAL] (1) CH4.solution.Gj = CH4.amountOfParticles * CH4.port_a.u ($RES_SIM_160) (93|94) [-IF-] (1) ($RES_SIM_43) (93|94) [----] if $SEV_3 then (93|94) [----] [SCAL] (1) reaction.h_mix * (reaction.products.q * fill(1.0, 2)) + reaction.substrates.q * {-4157.0, -412900.0} = 0.0 ($RES_SIM_44) (93|94) [----] elseif $SEV_4 then (93|94) [----] [SCAL] (1) reaction.h_mix * (reaction.substrates.q * fill(1.0, 2)) + reaction.products.q * {-88151.0, (-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))} = 0.0 ($RES_SIM_45) (93|94) [----] else (93|94) [----] [SCAL] (1) reaction.h_mix = 0.0 ($RES_SIM_46) (93|94) [----] end if; (94|95) [SCAL] (1) CH4.port_a.u = 8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $FUN_2 + ((-88151.0) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((-179.9329196713064) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure))) ($RES_SIM_126) (95|96) [SCAL] (1) H2O.c = H2O.amountOfParticles / solution.volume ($RES_SIM_80) (96|97) [SCAL] (1) CH4.a = CH4.x ($RES_SIM_127) (97|98) [SCAL] (1) (CH4.solution.mj + CO2.solution.mj + H2O.solution.mj + H2.solution.mj) - solution.mass = 0.0 ($RES_SIM_200) (98|99) [SCAL] (1) H2O.x = H2O.amountOfFreeMolecule / H2.amountOfSolution ($RES_SIM_81) (99|100) [SCAL] (1) (CH4.amountOfParticles + CO2.amountOfParticles + H2O.amountOfParticles + H2.amountOfParticles) - H2.amountOfSolution = 0.0 ($RES_SIM_201) (100|101) [ARRY] (2) reaction.products.h_outflow = reaction.h_mix * fill(1.0, 2) ($RES_SIM_47) (101|103) [SCAL] (1) $DER.H2O.logn = H2O.q / H2O.amountOfBaseMolecules ($RES_SIM_83) (102|104) [SCAL] (1) (CH4.solution.dV + CO2.solution.dV + H2O.solution.dV + H2.solution.dV) - solution.volume_der = 0.0 ($RES_SIM_203) (103|105) [ARRY] (2) reaction.substrates.h_outflow = reaction.h_mix * fill(1.0, 2) ($RES_SIM_48) (104|107) [SCAL] (1) H2O.amountOfParticles * (1.0 - H2O.SelfClustering_K * H2O.x) = H2O.amountOfFreeMolecule ($RES_SIM_84) (105|108) [SCAL] (1) (CH4.solution.dH + CO2.solution.dH + H2O.solution.dH + H2.solution.dH) - solution.heatFromEnvironment = 0.0 ($RES_SIM_204) (106|109) [ARRY] (2) reaction.rr * reaction.p = -reaction.products.q ($RES_SIM_49) (107|111) [SCAL] (1) H2O.x = (0.5 * ((H2.amountOfSolution / H2O.amountOfBaseMolecules + 2.0 * H2O.SelfClustering_K) - $FUN_5)) / H2O.SelfClustering_K ^ 2.0 ($RES_SIM_85) (108|112) [SCAL] (1) H2O.amountOfBonds = H2O.x * H2O.amountOfBaseMolecules * H2O.SelfClustering_K ($RES_SIM_86) (109|113) [SCAL] (1) H2O.amountOfBaseMolecules = exp(H2O.logn) ($RES_AUX_290) (110|114) [SCAL] (1) H2O.solution.dH = (H2O.q * ((-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) + (-75.3 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)) * H2O.amountOfBaseMolecules) - (H2O.q * (if $SEV_2 then reaction.products[2].h_outflow else (-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) + 81.6348 * $DER.H2O.amountOfBonds) ($RES_SIM_87) (111|115) [SCAL] (1) reaction.substrates[2].q + CO2.port_a.q = 0.0 ($RES_SIM_207) (112|116) [SCAL] (1) $FUN_5 = sqrt((4.0 * H2.amountOfSolution * H2O.SelfClustering_K) / H2O.amountOfBaseMolecules + (H2.amountOfSolution / H2O.amountOfBaseMolecules) ^ 2.0) ($RES_AUX_291) (113|117) [SCAL] (1) H2O.solution.Gj = H2O.amountOfBaseMolecules * H2O.port_a.u + H2O.amountOfBonds * H2O.SelfClustering_dG ($RES_SIM_88) (114|118) [SCAL] (1) $FUN_4 = log(CO2.a) ($RES_AUX_292) (115|119) [SCAL] (1) CO2.amountOfParticles = exp(CO2.logn) ($RES_AUX_293) (116|120) [SCAL] (1) $FUN_2 = log(CH4.a) ($RES_AUX_294) (117|121) [SCAL] (1) CH4.amountOfParticles = exp(CH4.logn) ($RES_AUX_295) (118|122) [SCAL] (1) H2.a = H2.x ($RES_SIM_8) (119|123) [SCAL] (1) H2.port_a.u = 8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $FUN_11 + ((-4157.0) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((-73.44289787019957) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure))) ($RES_SIM_7) (120|124) [SCAL] (1) H2.molarVolume = 2.01588e-6 + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_11) (121|125) [SCAL] (1) H2.uPure = Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarEntropyPure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) ($RES_SIM_12) (122|126) [SCAL] (1) CH4.molarVolume = 1.604246e-5 + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_130) (123|127) [SCAL] (1) H2.u0 = (-4157.0) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((-73.44289787019957) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) ($RES_SIM_13) (124|128) [SCAL] (1) CH4.uPure = Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarEntropyPure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) ($RES_SIM_131) (125|129) [SCAL] (1) H2.molarEntropyPure = (-73.44289787019957) - (2.01588e-6 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure) ($RES_SIM_14) (126|130) [SCAL] (1) $DER.CH4.u0 = -(-((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * ((-179.9329196713064) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) + (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure))) ($RES_SIM_316) (127|131) [ARRY] (2) $DER.reaction.rr * reaction.s = $DER.reaction.substrates.q ($RES_SIM_317) (128|133) [SCAL] (1) $DER.CH4.molarEntropyPure = -(((1.604246e-5 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (1.604246e-5 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure) ($RES_SIM_318) (129|134) [SCAL] (1) $DER.reaction.rr = -($DER.reaction.du * reaction.KC * $FUN_9 + reaction.du * reaction.KC * $DER.$FUN_9) ($RES_SIM_319) (130|135) [SCAL] (1) $DER.reaction.du = reaction.p * $DER.reaction.products.u - reaction.s * $DER.reaction.substrates.u ($RES_SIM_320) (131|136) [SCAL] (1) -0.030445520876280545 * $DER.$DER.H2O.SelfClustering_dG = 0.0 ($RES_SIM_321) (132|137) [SCAL] (1) $DER.H2O.port_a.u = (8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $DER.$FUN_7 - 8.31446261815324 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * $FUN_7) + (-(((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * (-(((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure) + 75.3 * ((1/(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) * (0.0033540164346805303 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG))))) - (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure))) + 75.3 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG))) ($RES_SIM_322) (133|138) [SCAL] (1) $DER.reaction.products[1].q + $DER.CH4.port_a.q = 0.0 ($RES_SIM_323) (134|139) [SCAL] (1) $DER.CO2.port_a.u = (8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $DER.$FUN_4 - 8.31446261815324 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * $FUN_4) - (-((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * ((-89.55223880597016) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) + (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure))) ($RES_SIM_324) (135|140) [SCAL] (1) $DER.H2O.a = $DER.H2O.x ($RES_SIM_325) (136|141) [SCAL] (1) $DER.H2O.port_a.u = $DER.reaction.products[2].u ($RES_SIM_326) (137|142) [SCAL] (1) $DER.CO2.a = 1.17385 * $DER.CO2.x ($RES_SIM_327) (138|143) [SCAL] (1) $DER.H2.pressure = 0.0 ($RES_SIM_328) (139|144) [SCAL] (1) $DER.CH4.port_a.u = $DER.reaction.products[1].u ($RES_SIM_329) (140|145) [SCAL] (1) $DER.solution.top_s = ($DER.solution.volume * solution.SurfaceArea) / solution.SurfaceArea ^ 2.0 ($RES_SIM_330) (141|146) [SCAL] (1) $DER.CO2.port_a.u = $DER.reaction.substrates[2].u ($RES_SIM_331) (142|147) [SCAL] (1) $DER.H2O.molarVolume = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * ((1/Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength)) ($RES_SIM_332) (143|148) [SCAL] (1) $DER.H2.port_a.u = $DER.reaction.substrates[1].u ($RES_SIM_333) (144|149) [SCAL] (1) $DER.CO2.molarVolume = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * ((1/Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.activityCoefficient(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength)) ($RES_SIM_334) (145|150) [SCAL] (1) $DER.H2O.uPure = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_335) (146|151) [SCAL] (1) $DER.CO2.uPure = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarEntropyPure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarEntropyPure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_336) (147|152) [SCAL] (1) $DER.CO2.u0 = -(-((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * ((-89.55223880597016) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) + (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CO2.stateOfMatter.molarVolumePure(Chemical.Obsolete.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure))) ($RES_SIM_337) (148|153) [SCAL] (1) $DER.CO2.molarEntropyPure = -(((4.4e-5 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (4.4e-5 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure) ($RES_SIM_338) (149|154) [SCAL] (1) $DER.CH4.mass = $DER.CH4.amountOfParticles * CH4.molarMassOfBaseMolecule ($RES_SIM_339) (150|155) [SCAL] (1) $DER.H2.port_c.c = ($DER.H2.amountOfParticles * solution.volume - $DER.solution.volume * H2.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_340) (151|156) [SCAL] (1) $DER.CO2.port_c.c = ($DER.CO2.amountOfParticles * solution.volume - $DER.solution.volume * CO2.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_341) (152|157) [SCAL] (1) $DER.H2.port_m.x_mass = ($DER.H2.solution.mj * solution.mass - $DER.solution.mass * H2.solution.mj) / solution.mass ^ 2.0 ($RES_SIM_342) (153|158) [SCAL] (1) $DER.CH4.port_c.c = ($DER.CH4.amountOfParticles * solution.volume - $DER.solution.volume * CH4.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_343) (154|159) [SCAL] (1) $DER.CO2.port_m.x_mass = ($DER.CO2.solution.mj * solution.mass - $DER.solution.mass * CO2.solution.mj) / solution.mass ^ 2.0 ($RES_SIM_344) (155|160) [SCAL] (1) $DER.H2O.u0 = -(((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * (-(((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure) + 75.3 * ((1/(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) * (0.0033540164346805303 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG))))) - (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * (((-196.54536307227906) + 75.3 * log(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2O.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) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure))) + 75.3 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)) ($RES_SIM_345) (156|161) [SCAL] (1) $DER.H2.q = $DER.H2.port_a.q ($RES_SIM_346) (157|162) [SCAL] (1) $DER.CH4.port_m.x_mass = ($DER.CH4.solution.mj * solution.mass - $DER.solution.mass * CH4.solution.mj) / solution.mass ^ 2.0 ($RES_SIM_347) (158|163) [SCAL] (1) $DER.CO2.q = $DER.CO2.port_a.q ($RES_SIM_348) (159|164) [SCAL] (1) $DER.H2O.molarEntropyPure = -((((1.8015e-5 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (1.8015e-5 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure) + 75.3 * ((1/(0.0033540164346805303 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)))) * (0.0033540164346805303 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)))) ($RES_SIM_349) (160|165) [SCAL] (1) $DER.H2.solution.Ij = 0.0 ($RES_SIM_350) (161|166) [SCAL] (1) $DER.CH4.q = $DER.CH4.port_a.q ($RES_SIM_351) (162|167) [SCAL] (1) $DER.CO2.solution.Ij = 0.0 ($RES_SIM_352) (163|168) [SCAL] (1) $DER.CH4.solution.Ij = 0.0 ($RES_SIM_353) (164|169) [SCAL] (1) $DER.H2.solution.Vj = $DER.H2.amountOfParticles * H2.molarVolume + H2.amountOfParticles * $DER.H2.molarVolume ($RES_SIM_354) (165|170) [SCAL] (1) $DER.H2.solution.mj = $DER.H2.amountOfParticles * H2.molarMassOfBaseMolecule ($RES_SIM_355) (166|171) [SCAL] (1) $DER.CH4.solution.Vj = $DER.CH4.amountOfParticles * CH4.molarVolume + CH4.amountOfParticles * $DER.CH4.molarVolume ($RES_SIM_356) (167|172) [SCAL] (1) $DER.CH4.solution.mj = $DER.CH4.amountOfParticles * CH4.molarMassOfBaseMolecule ($RES_SIM_357) (168|173) [SCAL] (1) $DER.CO2.mass = $DER.CO2.amountOfParticles * CO2.molarMassOfBaseMolecule ($RES_SIM_358) (169|174) [SCAL] (1) $DER.H2O.mass = $DER.H2O.amountOfBaseMolecules * H2O.molarMassOfBaseMolecule ($RES_SIM_359) (170|175) [SCAL] (1) $DER.H2.mass = $DER.H2.amountOfParticles * H2.molarMassOfBaseMolecule ($RES_SIM_360) (171|176) [SCAL] (1) $DER.CO2.solution.Vj = $DER.CO2.amountOfParticles * CO2.molarVolume + CO2.amountOfParticles * $DER.CO2.molarVolume ($RES_SIM_361) (172|177) [SCAL] (1) $DER.CO2.solution.mj = $DER.CO2.amountOfParticles * CO2.molarMassOfBaseMolecule ($RES_SIM_362) (173|178) [SCAL] (1) $DER.H2.solution.dV = ($DER.H2.molarVolume * H2.q + H2.molarVolume * $DER.H2.q) + ($DER.$DER.H2.molarVolume * H2.amountOfParticles + $DER.H2.molarVolume * $DER.H2.amountOfParticles) ($RES_SIM_363) (174|179) [SCAL] (1) $DER.CO2.solution.dV = ($DER.CO2.molarVolume * CO2.q + CO2.molarVolume * $DER.CO2.q) + ($DER.$DER.CO2.molarVolume * CO2.amountOfParticles + $DER.CO2.molarVolume * $DER.CO2.amountOfParticles) ($RES_SIM_364) (175|180) [SCAL] (1) $DER.CH4.solution.dV = ($DER.CH4.molarVolume * CH4.q + CH4.molarVolume * $DER.CH4.q) + ($DER.$DER.CH4.molarVolume * CH4.amountOfParticles + $DER.CH4.molarVolume * $DER.CH4.amountOfParticles) ($RES_SIM_365) (176|181) [SCAL] (1) $DER.H2.c = ($DER.H2.amountOfParticles * solution.volume - $DER.solution.volume * H2.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_366) (177|182) [SCAL] (1) $DER.CO2.c = ($DER.CO2.amountOfParticles * solution.volume - $DER.solution.volume * CO2.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_367) (178|183) [SCAL] (1) $DER.H2.x = ($DER.H2.amountOfParticles * H2.amountOfSolution - $DER.H2.amountOfSolution * H2.amountOfParticles) / H2.amountOfSolution ^ 2.0 ($RES_SIM_368) (179|184) [SCAL] (1) $DER.CH4.c = ($DER.CH4.amountOfParticles * solution.volume - $DER.solution.volume * CH4.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_369) (180|185) [SCAL] (1) $DER.CO2.x = ($DER.CO2.amountOfParticles * H2.amountOfSolution - $DER.H2.amountOfSolution * CO2.amountOfParticles) / H2.amountOfSolution ^ 2.0 ($RES_SIM_370) (181|186) [SCAL] (1) $DER.H2O.port_c.c = ($DER.H2O.amountOfParticles * solution.volume - $DER.solution.volume * H2O.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_371) (182|187) [SCAL] (1) $DER.CH4.x = ($DER.CH4.amountOfParticles * H2.amountOfSolution - $DER.H2.amountOfSolution * CH4.amountOfParticles) / H2.amountOfSolution ^ 2.0 ($RES_SIM_372) (183|188) [SCAL] (1) $DER.H2O.port_m.x_mass = ($DER.H2O.solution.mj * solution.mass - $DER.solution.mass * H2O.solution.mj) / solution.mass ^ 2.0 ($RES_SIM_373) (184|189) [SCAL] (1) $DER.$DER.H2.logn = ($DER.H2.q * H2.amountOfParticles - $DER.H2.amountOfParticles * H2.q) / H2.amountOfParticles ^ 2.0 ($RES_SIM_374) (185|190) [SCAL] (1) $DER.$DER.CO2.logn = ($DER.CO2.q * CO2.amountOfParticles - $DER.CO2.amountOfParticles * CO2.q) / CO2.amountOfParticles ^ 2.0 ($RES_SIM_375) (186|191) [SCAL] (1) $DER.H2O.q = $DER.H2O.port_a.q ($RES_SIM_376) (187|192) [SCAL] (1) $DER.$DER.CH4.logn = ($DER.CH4.q * CH4.amountOfParticles - $DER.CH4.amountOfParticles * CH4.q) / CH4.amountOfParticles ^ 2.0 ($RES_SIM_377) (188|193) [SCAL] (1) $DER.H2O.solution.Ij = 0.0 ($RES_SIM_378) (189|194) [SCAL] (1) $DER.H2.port_a.q + $DER.reaction.substrates[1].q = 0.0 ($RES_SIM_379) (190|195) [SCAL] (1) $DER.H2O.solution.Vj = $DER.H2O.amountOfBaseMolecules * H2O.molarVolume + H2O.amountOfBaseMolecules * $DER.H2O.molarVolume ($RES_SIM_380) (191|196) [SCAL] (1) $DER.H2O.solution.mj = $DER.H2O.amountOfBaseMolecules * H2O.molarMassOfBaseMolecule ($RES_SIM_381) (192|197) [SCAL] (1) $DER.CH4.solution.dH = -(($DER.CH4.q * (if $SEV_0 then reaction.products[1].h_outflow else -88151.0) + CH4.q * (if $SEV_0 then $DER.reaction.products[1].h_outflow else 0.0)) + 88151.0 * $DER.CH4.q) ($RES_SIM_382) (193|198) [SCAL] (1) $DER.reaction.products[2].q + $DER.H2O.port_a.q = 0.0 ($RES_SIM_383) (194|199) [SCAL] (1) $DER.H2O.solution.dV = ($DER.H2O.molarVolume * H2O.q + H2O.molarVolume * $DER.H2O.q) + ($DER.$DER.H2O.molarVolume * H2O.amountOfBaseMolecules + $DER.H2O.molarVolume * $DER.H2O.amountOfBaseMolecules) ($RES_SIM_384) (195|200) [SCAL] (1) ($DER.CH4.solution.Ij + $DER.CO2.solution.Ij + $DER.H2O.solution.Ij + $DER.H2.solution.Ij) - $DER.H2.moleFractionBasedIonicStrength = 0.0 ($RES_SIM_385) (196|201) [SCAL] (1) $DER.H2O.SelfClustering_K = exp(-H2O.SelfClustering_dG / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) / 8.31446261815324) * (0.014465439387523548 * ((H2O.SelfClustering_dG * (-0.030445520876280545 * $DER.H2O.SelfClustering_dG) - $DER.H2O.SelfClustering_dG * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0 * 8.31446261815324)) ($RES_SIM_386) (197|202) [SCAL] (1) ($DER.CH4.solution.Gj + $DER.CO2.solution.Gj + $DER.H2O.solution.Gj + $DER.H2.solution.Gj) - $DER.solution.gibbsEnergy = 0.0 ($RES_SIM_387) (198|203) [SCAL] (1) $DER.$FUN_11 = (1/H2.a) * $DER.H2.a ($RES_SIM_388) (199|204) [SCAL] (1) ($DER.CH4.solution.Vj + $DER.CO2.solution.Vj + $DER.H2O.solution.Vj + $DER.H2.solution.Vj) - $DER.solution.volume = 0.0 ($RES_SIM_389) (200|205) [SCAL] (1) $DER.H2.amountOfParticles = exp(H2.logn) * $DER.H2.logn ($RES_SIM_390) (201|206) [SCAL] (1) $DER.$FUN_9 = -exp(-reaction.kE * $FUN_8) * (reaction.kE * $DER.$FUN_8) ($RES_SIM_391) (202|207) [SCAL] (1) $DER.$FUN_8 = sign(reaction.du) * $DER.reaction.du ($RES_SIM_392) (203|208) [SCAL] (1) $DER.$FUN_7 = (1/H2O.a) * $DER.H2O.a ($RES_SIM_393) (204|209) [SCAL] (1) $DER.H2.solution.dH = -(($DER.H2.q * (if $SEV_5 then reaction.substrates[1].h_outflow else -4157.0) + H2.q * (if $SEV_5 then $DER.reaction.substrates[1].h_outflow else 0.0)) + 4157.0 * $DER.H2.q) ($RES_SIM_394) (205|210) [SCAL] (1) $DER.CO2.solution.dH = -(($DER.CO2.q * (if $SEV_1 then reaction.substrates[2].h_outflow else -412900.0) + CO2.q * (if $SEV_1 then $DER.reaction.substrates[2].h_outflow else 0.0)) + 412900.0 * $DER.CO2.q) ($RES_SIM_395) (206|211) [SCAL] (1) $DER.H2.solution.Gj = $DER.H2.amountOfParticles * H2.port_a.u + H2.amountOfParticles * $DER.H2.port_a.u ($RES_SIM_396) (207|212) [SCAL] (1) $DER.CO2.solution.Gj = $DER.CO2.amountOfParticles * CO2.port_a.u + CO2.amountOfParticles * $DER.CO2.port_a.u ($RES_SIM_397) (208|213) [SCAL] (1) $DER.CH4.solution.Gj = $DER.CH4.amountOfParticles * CH4.port_a.u + CH4.amountOfParticles * $DER.CH4.port_a.u ($RES_SIM_398) (209|214) [-IF-] (1) ($RES_SIM_399) (209|214) [----] if $SEV_3 then (209|214) [----] [SCAL] (1) ($DER.reaction.h_mix * (reaction.products.q * fill(1.0, 2)) + reaction.h_mix * (reaction.products.q * fill(0.0, 2) + $DER.reaction.products.q * fill(1.0, 2))) + $DER.reaction.substrates.q * {-4157.0, -412900.0} = 0.0 ($RES_SIM_400) (209|214) [----] elseif $SEV_4 then (209|214) [----] [SCAL] (1) ($DER.reaction.h_mix * (reaction.substrates.q * fill(1.0, 2)) + reaction.h_mix * (reaction.substrates.q * fill(0.0, 2) + $DER.reaction.substrates.q * fill(1.0, 2))) + (reaction.products.q * {0.0, -75.3 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)} + $DER.reaction.products.q * {-88151.0, (-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))}) = 0.0 ($RES_SIM_401) (209|214) [----] else (209|214) [----] [SCAL] (1) $DER.reaction.h_mix = 0.0 ($RES_SIM_402) (209|214) [----] end if; (210|215) [SCAL] (1) $DER.CH4.port_a.u = (8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $DER.$FUN_2 - 8.31446261815324 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * $FUN_2) - (-((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * ((-179.9329196713064) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) + (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure))) ($RES_SIM_403) (211|216) [SCAL] (1) $DER.H2O.c = ($DER.H2O.amountOfParticles * solution.volume - $DER.solution.volume * H2O.amountOfParticles) / solution.volume ^ 2.0 ($RES_SIM_404) (212|217) [SCAL] (1) $DER.CH4.a = $DER.CH4.x ($RES_SIM_405) (213|218) [SCAL] (1) ($DER.CH4.solution.mj + $DER.CO2.solution.mj + $DER.H2O.solution.mj + $DER.H2.solution.mj) - $DER.solution.mass = 0.0 ($RES_SIM_406) (214|219) [SCAL] (1) $DER.H2O.x = ($DER.H2O.amountOfFreeMolecule * H2.amountOfSolution - $DER.H2.amountOfSolution * H2O.amountOfFreeMolecule) / H2.amountOfSolution ^ 2.0 ($RES_SIM_407) (215|220) [SCAL] (1) ($DER.CH4.amountOfParticles + $DER.CO2.amountOfParticles + $DER.H2O.amountOfParticles + $DER.H2.amountOfParticles) - $DER.H2.amountOfSolution = 0.0 ($RES_SIM_408) (216|221) [ARRY] (2) $DER.reaction.products.h_outflow = $DER.reaction.h_mix * fill(1.0, 2) .+ reaction.h_mix * fill(0.0, 2) ($RES_SIM_409) (217|223) [SCAL] (1) $DER.$DER.H2O.logn = ($DER.H2O.q * H2O.amountOfBaseMolecules - $DER.H2O.amountOfBaseMolecules * H2O.q) / H2O.amountOfBaseMolecules ^ 2.0 ($RES_SIM_410) (218|224) [SCAL] (1) ($DER.CH4.solution.dV + $DER.CO2.solution.dV + $DER.H2O.solution.dV + $DER.H2.solution.dV) - $DER.solution.volume_der = 0.0 ($RES_SIM_411) (219|225) [ARRY] (2) $DER.reaction.substrates.h_outflow = $DER.reaction.h_mix * fill(1.0, 2) .+ reaction.h_mix * fill(0.0, 2) ($RES_SIM_412) (220|227) [SCAL] (1) $DER.H2O.amountOfParticles * (1.0 - H2O.SelfClustering_K * H2O.x) - H2O.amountOfParticles * ($DER.H2O.SelfClustering_K * H2O.x + H2O.SelfClustering_K * $DER.H2O.x) = $DER.H2O.amountOfFreeMolecule ($RES_SIM_413) (221|228) [SCAL] (1) ($DER.CH4.solution.dH + $DER.CO2.solution.dH + $DER.H2O.solution.dH + $DER.H2.solution.dH) - $DER.solution.heatFromEnvironment = 0.0 ($RES_SIM_414) (222|229) [ARRY] (2) $DER.reaction.rr * reaction.p = -$DER.reaction.products.q ($RES_SIM_415) (223|231) [SCAL] (1) $DER.H2O.x = ((0.5 * ((($DER.H2.amountOfSolution * H2O.amountOfBaseMolecules - $DER.H2O.amountOfBaseMolecules * H2.amountOfSolution) / H2O.amountOfBaseMolecules ^ 2.0 + 2.0 * $DER.H2O.SelfClustering_K) - $DER.$FUN_5)) * H2O.SelfClustering_K ^ 2.0 - 0.5 * (2.0 * H2O.SelfClustering_K * $DER.H2O.SelfClustering_K) * ((H2.amountOfSolution / H2O.amountOfBaseMolecules + 2.0 * H2O.SelfClustering_K) - $FUN_5)) / (H2O.SelfClustering_K ^ 2.0) ^ 2.0 ($RES_SIM_416) (224|232) [SCAL] (1) $DER.H2O.amountOfBonds = $DER.H2O.x * H2O.amountOfBaseMolecules * H2O.SelfClustering_K + H2O.x * $DER.H2O.amountOfBaseMolecules * H2O.SelfClustering_K + H2O.x * H2O.amountOfBaseMolecules * $DER.H2O.SelfClustering_K ($RES_SIM_417) (225|233) [SCAL] (1) $DER.H2O.amountOfBaseMolecules = exp(H2O.logn) * $DER.H2O.logn ($RES_SIM_418) (226|234) [SCAL] (1) $DER.H2O.solution.dH = (($DER.H2O.q * ((-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) - H2O.q * (75.3 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG))) + (-((75.3 * (0.030445520876280545 * $DER.$DER.H2O.SelfClustering_dG)) * H2O.amountOfBaseMolecules + (75.3 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)) * $DER.H2O.amountOfBaseMolecules))) - (($DER.H2O.q * (if $SEV_2 then reaction.products[2].h_outflow else (-285830.0) + 75.3 * ((-298.15) + 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) + H2O.q * (if $SEV_2 then $DER.reaction.products[2].h_outflow else -75.3 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG))) + 81.6348 * $DER.$DER.H2O.amountOfBonds) ($RES_SIM_419) (227|235) [SCAL] (1) $DER.reaction.substrates[2].q + $DER.CO2.port_a.q = 0.0 ($RES_SIM_420) (228|236) [SCAL] (1) $DER.$FUN_5 = (0.5 / ((4.0 * H2.amountOfSolution * H2O.SelfClustering_K) / H2O.amountOfBaseMolecules + (H2.amountOfSolution / H2O.amountOfBaseMolecules) ^ 2.0) ^ 0.5) * (((4.0 * $DER.H2.amountOfSolution * H2O.SelfClustering_K + 4.0 * H2.amountOfSolution * $DER.H2O.SelfClustering_K) * H2O.amountOfBaseMolecules - 4.0 * $DER.H2O.amountOfBaseMolecules * H2.amountOfSolution * H2O.SelfClustering_K) / H2O.amountOfBaseMolecules ^ 2.0 + 2.0 * (H2.amountOfSolution / H2O.amountOfBaseMolecules) * ((H2.amountOfSolution * $DER.H2O.amountOfBaseMolecules - $DER.H2.amountOfSolution * H2O.amountOfBaseMolecules) / H2O.amountOfBaseMolecules ^ 2.0)) ($RES_SIM_421) (229|237) [SCAL] (1) $DER.H2O.solution.Gj = ($DER.H2O.amountOfBaseMolecules * H2O.port_a.u + H2O.amountOfBaseMolecules * $DER.H2O.port_a.u) + ($DER.H2O.amountOfBonds * H2O.SelfClustering_dG + H2O.amountOfBonds * $DER.H2O.SelfClustering_dG) ($RES_SIM_422) (230|238) [SCAL] (1) $DER.$FUN_4 = (1/CO2.a) * $DER.CO2.a ($RES_SIM_423) (231|239) [SCAL] (1) $DER.CO2.amountOfParticles = exp(CO2.logn) * $DER.CO2.logn ($RES_SIM_424) (232|240) [SCAL] (1) $DER.$FUN_2 = (1/CH4.a) * $DER.CH4.a ($RES_SIM_425) (233|241) [SCAL] (1) $DER.CH4.amountOfParticles = exp(CH4.logn) * $DER.CH4.logn ($RES_SIM_426) (234|242) [SCAL] (1) $DER.H2.a = $DER.H2.x ($RES_SIM_427) (235|243) [SCAL] (1) $DER.H2.port_a.u = (8.31446261815324 * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $DER.$FUN_11 - 8.31446261815324 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * $FUN_11) - (-((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * ((-73.44289787019957) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) + (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure))) ($RES_SIM_428) (236|244) [SCAL] (1) $DER.H2.molarVolume = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * ((1/Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength)) ($RES_SIM_429) (237|245) [SCAL] (1) $DER.H2.uPure = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarEntropyPure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarEntropyPure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_430) (238|246) [SCAL] (1) $DER.CH4.molarVolume = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * log(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) + Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) * ((1/Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.activityCoefficient(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength)) ($RES_SIM_431) (239|247) [SCAL] (1) $DER.H2.u0 = -(-((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * ((-73.44289787019957) - (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * ((-1e5) + H2.pressure)) + (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * ((((0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) + $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) * (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.H2.stateOfMatter.molarVolumePure(Chemical.Obsolete.Substances.Hydrogen_aqueous(0.00201588, 0.0, 17740.0, -4157.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C1333740&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure))) ($RES_SIM_432) (240|248) [SCAL] (1) $DER.CH4.uPure = $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarEnthalpyElectroneutral(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - ((0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) * $fDER0.Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarEntropyPure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength, -0.030445520876280545 * $DER.H2O.SelfClustering_dG, $DER.H2.pressure, 0.0, $DER.H2.moleFractionBasedIonicStrength) - (0.030445520876280545 * $DER.H2O.SelfClustering_dG) * Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.CH4.stateOfMatter.molarEntropyPure(Chemical.Obsolete.Substances.Methan_aqueous(0.01604246, 0.0, -34504.0, -88151.0, 1.0, 0.0, {\"http://www.vias.org/genchem/standard_enthalpies_table.html, https://webbook.nist.gov/cgi/cbook.cgi?ID=C74828&Mask=10#Solubility\"}, 0.0, 0.0, false, 0.0, 0.0, 1000.0), 0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG), H2.pressure, 0.0, H2.moleFractionBasedIonicStrength)) ($RES_SIM_433) (241|249) [SCAL] (1) $DER.H2.molarEntropyPure = -(((2.01588e-6 * (0.030445520876280545 * $DER.H2O.SelfClustering_dG)) / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG)) ^ 2.0) * ((-1e5) + H2.pressure) + (2.01588e-6 / (0.030445520876280545 * ((-81.6348) - H2O.SelfClustering_dG))) * $DER.H2.pressure) ($RES_SIM_434) =================== Scalar Matching =================== variable to equation ********************** var 1 --> eqn 66 var 2 --> eqn 45 var 3 --> eqn 91 var 4 --> eqn 2 var 5 --> eqn 115 var 6 --> eqn 123 var 7 --> eqn 60 var 8 --> eqn 41 var 9 --> eqn 119 var 10 --> eqn 244 var 11 --> eqn 72 var 12 --> eqn 64 var 13 --> eqn 70 var 14 --> eqn 31 var 15 --> eqn 57 var 16 --> eqn 7 var 17 --> eqn 8 var 18 --> eqn 117 var 19 --> eqn 56 var 20 --> eqn 109 var 21 --> eqn 110 var 22 --> eqn 40 var 23 --> eqn 26 var 24 --> eqn 97 var 25 --> eqn 149 var 26 --> eqn 128 var 27 --> eqn 246 var 28 --> eqn 232 var 29 --> eqn 59 var 30 --> eqn 5 var 31 --> eqn 105 var 32 --> eqn 106 var 33 --> eqn 80 var 34 --> eqn 82 var 35 --> eqn 55 var 36 --> eqn 67 var 37 --> eqn 111 var 38 --> eqn 118 var 39 --> eqn 24 var 40 --> eqn 121 var 41 --> eqn 16 var 42 --> eqn 120 var 43 --> eqn 78 var 44 --> eqn 50 var 45 --> eqn 122 var 46 --> eqn 98 var 47 --> eqn 25 var 48 --> eqn 62 var 49 --> eqn 90 var 50 --> eqn 32 var 51 --> eqn 15 var 52 --> eqn 12 var 53 --> eqn 28 var 54 --> eqn 147 var 55 --> eqn 47 var 56 --> eqn 3 var 57 --> eqn 36 var 58 --> eqn 13 var 59 --> eqn 107 var 60 --> eqn 52 var 61 --> eqn 22 var 62 --> eqn 79 var 63 --> eqn 129 var 64 --> eqn 94 var 65 --> eqn 54 var 66 --> eqn 76 var 67 --> eqn 53 var 68 --> eqn 9 var 69 --> eqn 104 var 70 --> eqn 39 var 71 --> eqn 1 var 72 --> eqn 29 var 73 --> eqn 4 var 74 --> eqn 95 var 75 --> eqn 93 var 76 --> eqn 51 var 77 --> eqn 44 var 78 --> eqn 116 var 79 --> eqn 68 var 80 --> eqn 89 var 81 --> eqn 77 var 82 --> eqn 99 var 83 --> eqn 65 var 84 --> eqn 42 var 85 --> eqn 14 var 86 --> eqn 30 var 87 --> eqn 100 var 88 --> eqn 38 var 89 --> eqn 34 var 90 --> eqn 73 var 91 --> eqn 27 var 92 --> eqn 23 var 93 --> eqn 239 var 94 --> eqn 10 var 95 --> eqn 88 var 96 --> eqn 92 var 97 --> eqn 63 var 98 --> eqn 87 var 99 --> eqn 86 var 100 --> eqn 37 var 101 --> eqn 48 var 102 --> eqn 85 var 103 --> eqn 84 var 104 --> eqn 49 var 105 --> eqn 83 var 106 --> eqn 81 var 107 --> eqn 6 var 108 --> eqn 17 var 109 --> eqn 125 var 110 --> eqn 19 var 111 --> eqn 127 var 112 --> eqn 113 var 113 --> eqn 75 var 114 --> eqn 108 var 115 --> eqn 11 var 116 --> eqn 103 var 117 --> eqn 21 var 118 --> eqn 35 var 119 --> eqn 33 var 120 --> eqn 46 var 121 --> eqn 71 var 122 --> eqn 96 var 123 --> eqn 101 var 124 --> eqn 102 var 125 --> eqn 69 var 126 --> eqn 43 var 127 --> eqn 61 var 128 --> eqn 114 var 129 --> eqn 58 var 130 --> eqn 130 var 131 --> eqn 133 var 132 --> eqn 144 var 133 --> eqn 141 var 134 --> eqn 145 var 135 --> eqn 148 var 136 --> eqn 146 var 137 --> eqn 150 var 138 --> eqn 151 var 139 --> eqn 152 var 140 --> eqn 153 var 141 --> eqn 154 var 142 --> eqn 155 var 143 --> eqn 156 var 144 --> eqn 157 var 145 --> eqn 158 var 146 --> eqn 159 var 147 --> eqn 160 var 148 --> eqn 162 var 149 --> eqn 164 var 150 --> eqn 138 var 151 --> eqn 173 var 152 --> eqn 174 var 153 --> eqn 175 var 154 --> eqn -1 var 155 --> eqn 179 var 156 --> eqn -1 var 157 --> eqn 181 var 158 --> eqn 182 var 159 --> eqn 184 var 160 --> eqn 185 var 161 --> eqn -1 var 162 --> eqn 188 var 163 --> eqn 189 var 164 --> eqn 190 var 165 --> eqn 192 var 166 --> eqn 194 var 167 --> eqn 166 var 168 --> eqn 198 var 169 --> eqn -1 var 170 --> eqn 168 var 171 --> eqn 167 var 172 --> eqn 193 var 173 --> eqn 165 var 174 --> eqn 202 var 175 --> eqn 171 var 176 --> eqn 176 var 177 --> eqn 195 var 178 --> eqn 169 var 179 --> eqn 206 var 180 --> eqn 135 var 181 --> eqn 207 var 182 --> eqn 140 var 183 --> eqn 208 var 184 --> eqn 161 var 185 --> eqn 163 var 186 --> eqn 211 var 187 --> eqn 139 var 188 --> eqn 212 var 189 --> eqn 213 var 190 --> eqn 215 var 191 --> eqn 204 var 192 --> eqn 216 var 193 --> eqn 187 var 194 --> eqn 218 var 195 --> eqn 172 var 196 --> eqn 177 var 197 --> eqn 196 var 198 --> eqn 170 var 199 --> eqn 205 var 200 --> eqn 223 var 201 --> eqn -1 var 202 --> eqn 180 var 203 --> eqn 224 var 204 --> eqn 199 var 205 --> eqn 178 var 206 --> eqn 214 var 207 --> eqn 225 var 208 --> eqn 226 var 209 --> eqn 227 var 210 --> eqn 186 var 211 --> eqn 228 var 212 --> eqn 197 var 213 --> eqn 210 var 214 --> eqn 209 var 215 --> eqn 229 var 216 --> eqn 230 var 217 --> eqn 134 var 218 --> eqn 219 var 219 --> eqn 221 var 220 --> eqn 222 var 221 --> eqn 234 var 222 --> eqn 191 var 223 --> eqn 136 var 224 --> eqn -1 var 225 --> eqn 131 var 226 --> eqn 132 var 227 --> eqn 235 var 228 --> eqn 201 var 229 --> eqn 236 var 230 --> eqn 231 var 231 --> eqn 137 var 232 --> eqn 233 var 233 --> eqn 237 var 234 --> eqn 142 var 235 --> eqn 238 var 236 --> eqn 220 var 237 --> eqn 217 var 238 --> eqn 240 var 239 --> eqn 241 var 240 --> eqn 183 var 241 --> eqn 242 var 242 --> eqn 203 var 243 --> eqn 243 var 244 --> eqn 245 var 245 --> eqn 247 var 246 --> eqn 200 var 247 --> eqn 248 var 248 --> eqn 143 var 249 --> eqn 249 var 250 --> eqn 18 var 251 --> eqn 112 var 252 --> eqn 124 var 253 --> eqn 126 var 254 --> eqn 74 var 255 --> eqn 20 equation to variable ********************** eqn 1 --> var 71 eqn 2 --> var 4 eqn 3 --> var 56 eqn 4 --> var 73 eqn 5 --> var 30 eqn 6 --> var 107 eqn 7 --> var 16 eqn 8 --> var 17 eqn 9 --> var 68 eqn 10 --> var 94 eqn 11 --> var 115 eqn 12 --> var 52 eqn 13 --> var 58 eqn 14 --> var 85 eqn 15 --> var 51 eqn 16 --> var 41 eqn 17 --> var 108 eqn 18 --> var 250 eqn 19 --> var 110 eqn 20 --> var 255 eqn 21 --> var 117 eqn 22 --> var 61 eqn 23 --> var 92 eqn 24 --> var 39 eqn 25 --> var 47 eqn 26 --> var 23 eqn 27 --> var 91 eqn 28 --> var 53 eqn 29 --> var 72 eqn 30 --> var 86 eqn 31 --> var 14 eqn 32 --> var 50 eqn 33 --> var 119 eqn 34 --> var 89 eqn 35 --> var 118 eqn 36 --> var 57 eqn 37 --> var 100 eqn 38 --> var 88 eqn 39 --> var 70 eqn 40 --> var 22 eqn 41 --> var 8 eqn 42 --> var 84 eqn 43 --> var 126 eqn 44 --> var 77 eqn 45 --> var 2 eqn 46 --> var 120 eqn 47 --> var 55 eqn 48 --> var 101 eqn 49 --> var 104 eqn 50 --> var 44 eqn 51 --> var 76 eqn 52 --> var 60 eqn 53 --> var 67 eqn 54 --> var 65 eqn 55 --> var 35 eqn 56 --> var 19 eqn 57 --> var 15 eqn 58 --> var 129 eqn 59 --> var 29 eqn 60 --> var 7 eqn 61 --> var 127 eqn 62 --> var 48 eqn 63 --> var 97 eqn 64 --> var 12 eqn 65 --> var 83 eqn 66 --> var 1 eqn 67 --> var 36 eqn 68 --> var 79 eqn 69 --> var 125 eqn 70 --> var 13 eqn 71 --> var 121 eqn 72 --> var 11 eqn 73 --> var 90 eqn 74 --> var 254 eqn 75 --> var 113 eqn 76 --> var 66 eqn 77 --> var 81 eqn 78 --> var 43 eqn 79 --> var 62 eqn 80 --> var 33 eqn 81 --> var 106 eqn 82 --> var 34 eqn 83 --> var 105 eqn 84 --> var 103 eqn 85 --> var 102 eqn 86 --> var 99 eqn 87 --> var 98 eqn 88 --> var 95 eqn 89 --> var 80 eqn 90 --> var 49 eqn 91 --> var 3 eqn 92 --> var 96 eqn 93 --> var 75 eqn 94 --> var 64 eqn 95 --> var 74 eqn 96 --> var 122 eqn 97 --> var 24 eqn 98 --> var 46 eqn 99 --> var 82 eqn 100 --> var 87 eqn 101 --> var 123 eqn 102 --> var 124 eqn 103 --> var 116 eqn 104 --> var 69 eqn 105 --> var 31 eqn 106 --> var 32 eqn 107 --> var 59 eqn 108 --> var 114 eqn 109 --> var 20 eqn 110 --> var 21 eqn 111 --> var 37 eqn 112 --> var 251 eqn 113 --> var 112 eqn 114 --> var 128 eqn 115 --> var 5 eqn 116 --> var 78 eqn 117 --> var 18 eqn 118 --> var 38 eqn 119 --> var 9 eqn 120 --> var 42 eqn 121 --> var 40 eqn 122 --> var 45 eqn 123 --> var 6 eqn 124 --> var 252 eqn 125 --> var 109 eqn 126 --> var 253 eqn 127 --> var 111 eqn 128 --> var 26 eqn 129 --> var 63 eqn 130 --> var 130 eqn 131 --> var 225 eqn 132 --> var 226 eqn 133 --> var 131 eqn 134 --> var 217 eqn 135 --> var 180 eqn 136 --> var 223 eqn 137 --> var 231 eqn 138 --> var 150 eqn 139 --> var 187 eqn 140 --> var 182 eqn 141 --> var 133 eqn 142 --> var 234 eqn 143 --> var 248 eqn 144 --> var 132 eqn 145 --> var 134 eqn 146 --> var 136 eqn 147 --> var 54 eqn 148 --> var 135 eqn 149 --> var 25 eqn 150 --> var 137 eqn 151 --> var 138 eqn 152 --> var 139 eqn 153 --> var 140 eqn 154 --> var 141 eqn 155 --> var 142 eqn 156 --> var 143 eqn 157 --> var 144 eqn 158 --> var 145 eqn 159 --> var 146 eqn 160 --> var 147 eqn 161 --> var 184 eqn 162 --> var 148 eqn 163 --> var 185 eqn 164 --> var 149 eqn 165 --> var 173 eqn 166 --> var 167 eqn 167 --> var 171 eqn 168 --> var 170 eqn 169 --> var 178 eqn 170 --> var 198 eqn 171 --> var 175 eqn 172 --> var 195 eqn 173 --> var 151 eqn 174 --> var 152 eqn 175 --> var 153 eqn 176 --> var 176 eqn 177 --> var 196 eqn 178 --> var 205 eqn 179 --> var 155 eqn 180 --> var 202 eqn 181 --> var 157 eqn 182 --> var 158 eqn 183 --> var 240 eqn 184 --> var 159 eqn 185 --> var 160 eqn 186 --> var 210 eqn 187 --> var 193 eqn 188 --> var 162 eqn 189 --> var 163 eqn 190 --> var 164 eqn 191 --> var 222 eqn 192 --> var 165 eqn 193 --> var 172 eqn 194 --> var 166 eqn 195 --> var 177 eqn 196 --> var 197 eqn 197 --> var 212 eqn 198 --> var 168 eqn 199 --> var 204 eqn 200 --> var 246 eqn 201 --> var 228 eqn 202 --> var 174 eqn 203 --> var 242 eqn 204 --> var 191 eqn 205 --> var 199 eqn 206 --> var 179 eqn 207 --> var 181 eqn 208 --> var 183 eqn 209 --> var 214 eqn 210 --> var 213 eqn 211 --> var 186 eqn 212 --> var 188 eqn 213 --> var 189 eqn 214 --> var 206 eqn 215 --> var 190 eqn 216 --> var 192 eqn 217 --> var 237 eqn 218 --> var 194 eqn 219 --> var 218 eqn 220 --> var 236 eqn 221 --> var 219 eqn 222 --> var 220 eqn 223 --> var 200 eqn 224 --> var 203 eqn 225 --> var 207 eqn 226 --> var 208 eqn 227 --> var 209 eqn 228 --> var 211 eqn 229 --> var 215 eqn 230 --> var 216 eqn 231 --> var 230 eqn 232 --> var 28 eqn 233 --> var 232 eqn 234 --> var 221 eqn 235 --> var 227 eqn 236 --> var 229 eqn 237 --> var 233 eqn 238 --> var 235 eqn 239 --> var 93 eqn 240 --> var 238 eqn 241 --> var 239 eqn 242 --> var 241 eqn 243 --> var 243 eqn 244 --> var 10 eqn 245 --> var 244 eqn 246 --> var 27 eqn 247 --> var 245 eqn 248 --> var 247 eqn 249 --> var 249 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.581528180744499] Failed to read output from testmodel.py, exit status != 0: 0.3652776018716395 0.378213293 0.264702006 Calling exit ...