Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001393/0.001393, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001529/0.001529, allocations: 219.2 kB / 22.99 MB, free: 4.914 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1374/0.1374, allocations: 23.88 MB / 337.1 MB, free: 10.98 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") translateModel(Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis") [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 67.89 kB / 472.4 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3377, allocations: 59.85 MB / 0.5198 GB, free: 9.82 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.07129/0.409, allocations: 26.21 MB / 0.5454 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02205/0.431, allocations: 14.7 MB / 0.5597 GB, free: 48 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.4329, allocations: 15.88 kB / 0.5597 GB, free: 32 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.4344, allocations: 308.6 kB / 0.56 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004977/0.4393, allocations: 1.471 MB / 0.5615 GB, free: 14.56 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006111/0.4455, allocations: 2.019 MB / 0.5634 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002572/0.448, allocations: 1.546 MB / 0.5649 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001112/0.4491, allocations: 0.6962 MB / 0.5656 GB, free: 10.87 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001025/0.4502, allocations: 0.7832 MB / 0.5664 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.4514, allocations: 0.7785 MB / 0.5671 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002556/0.4517, allocations: 136 kB / 0.5673 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005259/0.4569, allocations: 1.7 MB / 0.5689 GB, free: 7.469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004844/0.4574, allocations: 327 kB / 0.5693 GB, free: 7.148 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000837/0.4583, allocations: 0.5719 MB / 0.5698 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00819/0.4664, allocations: 3.443 MB / 0.5732 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4665, allocations: 0 / 0.5732 GB, free: 3.117 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4665, allocations: 0 / 0.5732 GB, free: 3.117 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.25e-05/0.4665, allocations: 4 kB / 0.5732 GB, free: 3.113 MB / 414.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.003888/0.4704, allocations: 1.769 MB / 0.5749 GB, free: 1.305 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4704, allocations: 12.03 kB / 0.5749 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.4717, allocations: 283.4 kB / 0.5752 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001291/0.473, allocations: 0.6088 MB / 0.5758 GB, free: 392 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.4732, allocations: 138.1 kB / 0.5759 GB, free: 240 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002175/0.4734, allocations: 120.3 kB / 0.576 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.4757, allocations: 1.329 MB / 0.5773 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.572e-05/0.4758, allocations: 0 / 0.5773 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.4759, allocations: 44 kB / 0.5774 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.777e-05/0.4759, allocations: 28 kB / 0.5774 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.4787, allocations: 1.679 MB / 0.579 GB, free: 12.98 MB / 430.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.006978/0.4857, allocations: 3.379 MB / 0.5823 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00353/0.4892, allocations: 1.875 MB / 0.5842 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.4902, allocations: 0.5299 MB / 0.5847 GB, free: 7.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006355/0.4965, allocations: 2.795 MB / 0.5874 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.4966, allocations: 47.16 kB / 0.5875 GB, free: 4.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.786e-06/0.4966, allocations: 0 / 0.5875 GB, free: 4.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01479/0.5114, allocations: 3.413 MB / 0.5908 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.38e-05/0.5114, allocations: 64.41 kB / 0.5908 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/0.5122, allocations: 0.574 MB / 0.5914 GB, free: 128 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.5122, allocations: 41.7 kB / 0.5914 GB, free: 80 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/0.5127, allocations: 0.5622 MB / 0.592 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/0.513, allocations: 349.1 kB / 0.5923 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003506/0.5134, allocations: 234.8 kB / 0.5926 GB, free: 14.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.5136, allocations: 386.8 kB / 0.5929 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.5142, allocations: 358.5 kB / 0.5933 GB, free: 14.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.5153, allocations: 0.7516 MB / 0.594 GB, free: 13.26 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001832/0.5171, allocations: 1.204 MB / 0.5952 GB, free: 11.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.5171, allocations: 4 kB / 0.5952 GB, free: 11.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004127/0.5212, allocations: 1.471 MB / 0.5966 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.464e-05/0.5213, allocations: 12 kB / 0.5966 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.5213, allocations: 15.98 kB / 0.5966 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001945/0.5232, allocations: 241.7 kB / 0.5969 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.5247, allocations: 327.5 kB / 0.5972 GB, free: 9.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.5304, allocations: 3.583 MB / 0.6007 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.5314, allocations: 47.92 kB / 0.6007 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.5315, allocations: 71.86 kB / 0.6008 GB, free: 5.898 MB / 446.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.0004939/0.532, allocations: 273.6 kB / 0.6011 GB, free: 5.621 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001911/0.5322, allocations: 83.48 kB / 0.6011 GB, free: 5.539 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.5363, allocations: 1.324 MB / 0.6024 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.5364, allocations: 8 kB / 0.6024 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5364, allocations: 4 kB / 0.6024 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.5364, allocations: 11.97 kB / 0.6025 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.5378, allocations: 0.8039 MB / 0.6032 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5378, allocations: 0 / 0.6032 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.539, allocations: 211.8 kB / 0.6034 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.5409, allocations: 233.5 kB / 0.6037 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/0.5409, allocations: 35.98 kB / 0.6037 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005307/0.5462, allocations: 3.492 MB / 0.6071 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5463, allocations: 0 / 0.6071 GB, free: 15.15 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/0.5508, allocations: 1.729 MB / 0.6088 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.5511, allocations: 83.38 kB / 0.6089 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5512, allocations: 20 kB / 0.6089 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.5517, allocations: 27.92 kB / 0.6089 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002048/0.5519, allocations: 84.8 kB / 0.609 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.552, allocations: 39.98 kB / 0.609 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004681/0.5524, allocations: 363.1 kB / 0.6094 GB, free: 12.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5524, allocations: 0 / 0.6094 GB, free: 12.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002076/0.5545, allocations: 0.674 MB / 0.61 GB, free: 12.11 MB / 462.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.001556/0.5561, allocations: 0.8302 MB / 0.6109 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002315/0.5584, allocations: 1.184 MB / 0.612 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5584, allocations: 0 / 0.612 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5595, allocations: 0.6988 MB / 0.6127 GB, free: 9.34 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5606, allocations: 205.7 kB / 0.6129 GB, free: 9.137 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.5642, allocations: 2.038 MB / 0.6149 GB, free: 7.055 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.5647, allocations: 451.4 kB / 0.6153 GB, free: 6.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/0.5653, allocations: 207.5 kB / 0.6155 GB, free: 6.387 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5653, allocations: 0 / 0.6155 GB, free: 6.387 MB / 462.1 MB Notification: Performance of Templates: time 0.03697/0.6022, allocations: 27.13 MB / 0.642 GB, free: 11.3 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.631370890885592] Failed to read output from testmodel.py, exit status != 0: 0.6117535550147295 0.6270491370000001 0.15715394100000002 Calling exit ...