Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis,fileNamePrefix="Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 192.2 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1824/0.1824, allocations: 15.31 MB / 305.4 MB, free: 15.29 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.91 kB / 369.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08652/0.08774, allocations: 53.61 MB / 423.6 MB, free: 14.53 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.ClimateChange.HydrogenotrophicMethanogenesis): time 0.304/0.3918, allocations: 25.78 MB / 449.3 MB, free: 39.46 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01237/0.4041, allocations: 16.46 MB / 465.8 MB, free: 31.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/0.4048, allocations: 27.22 kB / 465.8 MB, free: 31.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.4056, allocations: 302 kB / 466.1 MB, free: 31.1 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.4084, allocations: 1.343 MB / 467.5 MB, free: 30.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.4121, allocations: 1.778 MB / 469.2 MB, free: 29.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.4134, allocations: 1.544 MB / 470.8 MB, free: 28.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007557/0.4142, allocations: 0.8416 MB / 471.6 MB, free: 28.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000805/0.415, allocations: 0.8169 MB / 472.4 MB, free: 28.1 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007884/0.4158, allocations: 0.87 MB / 473.3 MB, free: 27.76 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001767/0.416, allocations: 138.4 kB / 473.4 MB, free: 27.76 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003868/0.4198, allocations: 1.825 MB / 475.3 MB, free: 27.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.4201, allocations: 338.4 kB / 475.6 MB, free: 27.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005014/0.4206, allocations: 0.6881 MB / 476.3 MB, free: 26.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.4244, allocations: 3.194 MB / 479.5 MB, free: 25.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.4244, allocations: 4 kB / 479.5 MB, free: 25.35 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4245, allocations: 1.562 kB / 479.5 MB, free: 25.35 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.4245, allocations: 0 / 479.5 MB, free: 25.35 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.002853/0.4273, allocations: 1.802 MB / 481.3 MB, free: 24.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4274, allocations: 9.969 kB / 481.3 MB, free: 24.25 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001619/0.4276, allocations: 164.8 kB / 481.5 MB, free: 24.14 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.4288, allocations: 272.5 kB / 481.7 MB, free: 24.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008047/0.4296, allocations: 0.6528 MB / 482.4 MB, free: 23.61 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.162e-05/0.4297, allocations: 110.4 kB / 482.5 MB, free: 23.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.4299, allocations: 116.4 kB / 482.6 MB, free: 23.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.4318, allocations: 1.333 MB / 483.9 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.4319, allocations: 4 kB / 483.9 MB, free: 22.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001095/0.432, allocations: 50.06 kB / 484 MB, free: 22.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.432, allocations: 25.97 kB / 484 MB, free: 22.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002481/0.4345, allocations: 1.694 MB / 485.7 MB, free: 22.41 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006213/0.4407, allocations: 4.291 MB / 490 MB, free: 19.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003175/0.4439, allocations: 2.279 MB / 492.3 MB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.4447, allocations: 0.5971 MB / 492.9 MB, free: 18.55 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005639/0.4503, allocations: 5.406 MB / 498.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.4503, allocations: 42.88 kB / 498.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 1.913e-06/0.4503, allocations: 0 / 498.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=95): time 0.01493/0.4653, allocations: 3.561 MB / 0.4901 GB, free: 12.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.518e-05/0.4653, allocations: 62.88 kB / 0.4902 GB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.4658, allocations: 0.5911 MB / 0.4908 GB, free: 12.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.664e-05/0.4659, allocations: 45.17 kB / 0.4908 GB, free: 12.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.4661, allocations: 0.5233 MB / 0.4913 GB, free: 11.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.4663, allocations: 340.8 kB / 0.4916 GB, free: 11.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.4666, allocations: 230.2 kB / 0.4919 GB, free: 11.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.225e-05/0.4667, allocations: 396.3 kB / 0.4922 GB, free: 11.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/0.4672, allocations: 359.3 kB / 0.4926 GB, free: 11.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006594/0.4679, allocations: 0.751 MB / 0.4933 GB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.4691, allocations: 1.202 MB / 0.4945 GB, free: 9.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4691, allocations: 5.781 kB / 0.4945 GB, free: 9.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003812/0.4729, allocations: 1.47 MB / 0.4959 GB, free: 8.906 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.473, allocations: 13.98 kB / 0.4959 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.473, allocations: 13.94 kB / 0.496 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002118/0.4751, allocations: 249.2 kB / 0.4962 GB, free: 8.848 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.4765, allocations: 326.9 kB / 0.4965 GB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00464/0.4812, allocations: 3.857 MB / 0.5003 GB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000854/0.482, allocations: 76.44 kB / 0.5003 GB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/0.4821, allocations: 72.16 kB / 0.5004 GB, free: 4.957 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.4825, allocations: 269.3 kB / 0.5007 GB, free: 4.688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.4826, allocations: 87.48 kB / 0.5008 GB, free: 4.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004089/0.4867, allocations: 1.335 MB / 0.5021 GB, free: 3.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4868, allocations: 8 kB / 0.5021 GB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4868, allocations: 4 kB / 0.5021 GB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.4868, allocations: 9.188 kB / 0.5021 GB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.488, allocations: 1.077 MB / 0.5031 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.488, allocations: 0 / 0.5031 GB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.4892, allocations: 214.8 kB / 0.5033 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.4912, allocations: 228.3 kB / 0.5036 GB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.287e-05/0.4913, allocations: 35.92 kB / 0.5036 GB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/0.4958, allocations: 3.775 MB / 0.5073 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.4959, allocations: 3.938 kB / 0.5073 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00442/0.5003, allocations: 1.735 MB / 0.509 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.5006, allocations: 152.3 kB / 0.5091 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5007, allocations: 24.12 kB / 0.5091 GB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005712/0.5013, allocations: 39.88 kB / 0.5092 GB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.5015, allocations: 88.77 kB / 0.5093 GB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.641e-05/0.5016, allocations: 39.98 kB / 0.5093 GB, free: 12.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004384/0.502, allocations: 391.1 kB / 0.5097 GB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.502, allocations: 0 / 0.5097 GB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002038/0.5041, allocations: 0.6675 MB / 0.5103 GB, free: 11.23 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (solution.temperature,CH4.logn,CO2.logn,H2O.logn,H2.logn) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006452/0.5105, allocations: 2.986 MB / 0.5132 GB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.5133, allocations: 1.308 MB / 0.5145 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5133, allocations: 1.25 kB / 0.5145 GB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.5144, allocations: 0.753 MB / 0.5153 GB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.5155, allocations: 204.4 kB / 0.5154 GB, free: 5.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/0.5308, allocations: 9.163 MB / 0.5244 GB, free: 12.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.5314, allocations: 1.042 MB / 0.5254 GB, free: 11.09 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009746/0.5324, allocations: 231.3 kB / 0.5256 GB, free: 10.86 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006185/0.533, allocations: 477.4 kB / 0.5261 GB, free: 10.39 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.533, allocations: 0 / 0.5261 GB, free: 10.39 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.5838, allocations: 31.69 MB / 0.557 GB, free: 10.89 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/0.584, allocations: 240.3 kB / 0.5573 GB, free: 10.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.352, allocations: 0 / 0.5573 GB, free: 10.64 MB / 430.1 MB (rm -f Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Chemical_Chemical_Examples_ClimateChange_HydrogenotrophicMethanogenesis.fmu > Chemical_Chemical.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1)