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.001632/0.001632, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001654/0.001654, allocations: 204 kB / 20.09 MB, free: 2.977 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.46/1.46, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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.1341/0.1341, allocations: 23.9 MB / 333.4 MB, free: 1.27 MB / 254.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: 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.002143/0.002143, allocations: 60.78 kB / 467.2 MB, free: 30.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09677, allocations: 59.85 MB / 0.5147 GB, free: 12.39 MB / 382.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.04122/0.138, allocations: 26.72 MB / 0.5408 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02317/0.1612, allocations: 16.76 MB / 0.5572 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008249/0.162, allocations: 23.75 kB / 0.5572 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.1632, allocations: 329.6 kB / 0.5575 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.1678, allocations: 1.494 MB / 0.559 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005559/0.1733, allocations: 2 MB / 0.5609 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.1757, allocations: 1.545 MB / 0.5624 GB, free: 11.49 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000945/0.1766, allocations: 0.7106 MB / 0.5631 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009411/0.1776, allocations: 0.7833 MB / 0.5639 GB, free: 9.973 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.1787, allocations: 0.8644 MB / 0.5647 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.179, allocations: 135.9 kB / 0.5649 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.1842, allocations: 1.81 MB / 0.5666 GB, free: 7.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.1845, allocations: 323.1 kB / 0.5669 GB, free: 6.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008069/0.1853, allocations: 0.6845 MB / 0.5676 GB, free: 6.156 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006576/0.1919, allocations: 3.447 MB / 0.571 GB, free: 2.695 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1919, allocations: 0 / 0.571 GB, free: 2.695 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1919, allocations: 0 / 0.571 GB, free: 2.695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.1919, allocations: 0 / 0.571 GB, free: 2.695 MB / 430.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.003842/0.1957, allocations: 1.85 MB / 0.5728 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1958, allocations: 16.03 kB / 0.5728 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.1971, allocations: 275.8 kB / 0.5731 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.1982, allocations: 0.6731 MB / 0.5737 GB, free: 15.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.1984, allocations: 112.4 kB / 0.5738 GB, free: 15.67 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.1986, allocations: 120.3 kB / 0.5739 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.201, allocations: 1.333 MB / 0.5752 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.2011, allocations: 4 kB / 0.5752 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.2012, allocations: 44 kB / 0.5753 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.218e-05/0.2012, allocations: 28 kB / 0.5753 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.2042, allocations: 1.691 MB / 0.577 GB, free: 12.4 MB / 446.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.00736/0.2116, allocations: 4.311 MB / 0.5812 GB, free: 7.883 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003933/0.2155, allocations: 2.207 MB / 0.5833 GB, free: 5.598 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009609/0.2165, allocations: 0.5381 MB / 0.5839 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2149/0.4314, allocations: 5.387 MB / 0.5891 GB, free: 64.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4314, allocations: 44.55 kB / 0.5892 GB, free: 64.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.545e-06/0.4314, allocations: 0 / 0.5892 GB, free: 64.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01529/0.4467, allocations: 3.583 MB / 0.5927 GB, free: 63.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.4467, allocations: 61.25 kB / 0.5927 GB, free: 63.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.4475, allocations: 0.586 MB / 0.5933 GB, free: 63.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.4475, allocations: 45.3 kB / 0.5933 GB, free: 63.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.4478, allocations: 0.5434 MB / 0.5939 GB, free: 62.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.448, allocations: 352 kB / 0.5942 GB, free: 62.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.4483, allocations: 234.5 kB / 0.5944 GB, free: 62.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.4484, allocations: 391.6 kB / 0.5948 GB, free: 62.28 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006441/0.4491, allocations: 359.4 kB / 0.5951 GB, free: 62.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007873/0.4499, allocations: 0.7471 MB / 0.5959 GB, free: 61.53 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.4514, allocations: 1.202 MB / 0.597 GB, free: 60.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.4514, allocations: 4.344 kB / 0.597 GB, free: 60.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003991/0.4554, allocations: 1.477 MB / 0.5985 GB, free: 60.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/0.4554, allocations: 14.56 kB / 0.5985 GB, free: 60.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.4554, allocations: 16.69 kB / 0.5985 GB, free: 60.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.4575, allocations: 242.8 kB / 0.5987 GB, free: 60.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.459, allocations: 329.5 kB / 0.5991 GB, free: 59.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00483/0.4638, allocations: 3.853 MB / 0.6028 GB, free: 56.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.4647, allocations: 46.67 kB / 0.6029 GB, free: 56.53 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.4648, allocations: 69.02 kB / 0.6029 GB, free: 56.52 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.0004216/0.4652, allocations: 276.9 kB / 0.6032 GB, free: 56.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.4654, allocations: 88.31 kB / 0.6033 GB, free: 56.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004223/0.4696, allocations: 1.337 MB / 0.6046 GB, free: 55.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4696, allocations: 10.47 kB / 0.6046 GB, free: 55.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4696, allocations: 0 / 0.6046 GB, free: 55.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.4696, allocations: 6.312 kB / 0.6046 GB, free: 55.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.4711, allocations: 1.076 MB / 0.6057 GB, free: 55.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4711, allocations: 1.875 kB / 0.6057 GB, free: 55.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.4723, allocations: 219 kB / 0.6059 GB, free: 55.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/0.4742, allocations: 233.2 kB / 0.6061 GB, free: 55.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.146e-05/0.4743, allocations: 33.41 kB / 0.6061 GB, free: 55.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004455/0.4787, allocations: 3.781 MB / 0.6098 GB, free: 51.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4787, allocations: 1.562 kB / 0.6098 GB, free: 51.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004201/0.4829, allocations: 1.739 MB / 0.6115 GB, free: 50.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.483, allocations: 158.1 kB / 0.6117 GB, free: 50.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.4832, allocations: 18.34 kB / 0.6117 GB, free: 50.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005151/0.4837, allocations: 24.48 kB / 0.6117 GB, free: 50.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.4839, allocations: 79.95 kB / 0.6118 GB, free: 50.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/0.4839, allocations: 39.44 kB / 0.6118 GB, free: 50.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004091/0.4844, allocations: 389.1 kB / 0.6122 GB, free: 50.52 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4844, allocations: 0 / 0.6122 GB, free: 50.52 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001875/0.4862, allocations: 0.6855 MB / 0.6129 GB, free: 50.42 MB / 446.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.001262/0.4875, allocations: 0.8251 MB / 0.6137 GB, free: 50.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.4893, allocations: 1.193 MB / 0.6148 GB, free: 49.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4893, allocations: 0 / 0.6148 GB, free: 49.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009119/0.4902, allocations: 0.6995 MB / 0.6155 GB, free: 49.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.4911, allocations: 209.6 kB / 0.6157 GB, free: 49.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.4939, allocations: 2.038 MB / 0.6177 GB, free: 48.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003756/0.4943, allocations: 1.04 MB / 0.6187 GB, free: 47.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.4947, allocations: 207.5 kB / 0.6189 GB, free: 47.38 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4947, allocations: 0 / 0.6189 GB, free: 47.38 MB / 446.1 MB Notification: Performance of Templates: time 0.0224/0.5171, allocations: 26.77 MB / 0.6451 GB, free: 24.58 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.sim & ./Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.323387882002862] Failed to read output from testmodel.py, exit status != 0: 0.52465026898426 0.532992919 0.3389806 Calling exit ...