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.001241/0.001241, allocations: 99.75 kB / 18.94 MB, free: 2.828 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.001392/0.001392, allocations: 215.6 kB / 22.25 MB, free: 5.105 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.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.812 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.1308/0.1308, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.001982/0.001982, allocations: 63.91 kB / 471.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2956, allocations: 59.86 MB / 0.519 GB, free: 9.758 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.07019/0.3658, allocations: 26.09 MB / 0.5445 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02111/0.3869, allocations: 14.71 MB / 0.5589 GB, free: 160 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.388, allocations: 19.88 kB / 0.5589 GB, free: 140 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.3892, allocations: 308.3 kB / 0.5592 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005492/0.3947, allocations: 1.471 MB / 0.5606 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00691/0.4016, allocations: 2.019 MB / 0.5626 GB, free: 13 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003029/0.4046, allocations: 1.546 MB / 0.5641 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/0.406, allocations: 0.7017 MB / 0.5648 GB, free: 10.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.4072, allocations: 0.791 MB / 0.5655 GB, free: 10.2 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001641/0.4089, allocations: 0.8683 MB / 0.5664 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003888/0.4093, allocations: 136 kB / 0.5665 GB, free: 9.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00544/0.4147, allocations: 1.739 MB / 0.5682 GB, free: 7.449 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000493/0.4152, allocations: 331 kB / 0.5685 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009657/0.4162, allocations: 0.5758 MB / 0.5691 GB, free: 6.547 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006929/0.4231, allocations: 3.44 MB / 0.5725 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4231, allocations: 0 / 0.5725 GB, free: 3.094 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4231, allocations: 0 / 0.5725 GB, free: 3.094 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.4231, allocations: 0 / 0.5725 GB, free: 3.094 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.003481/0.4266, allocations: 1.773 MB / 0.5742 GB, free: 1.281 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4267, allocations: 12.03 kB / 0.5742 GB, free: 1.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.4279, allocations: 279.5 kB / 0.5745 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.429, allocations: 0.6127 MB / 0.5751 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/0.4292, allocations: 138.1 kB / 0.5752 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.4294, allocations: 120.3 kB / 0.5753 GB, free: 96 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.4317, allocations: 1.333 MB / 0.5766 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.4317, allocations: 4 kB / 0.5766 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.4318, allocations: 44 kB / 0.5767 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.4318, allocations: 24 kB / 0.5767 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/0.4346, allocations: 1.675 MB / 0.5783 GB, free: 12.96 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.006655/0.4412, allocations: 3.387 MB / 0.5816 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00352/0.4448, allocations: 1.871 MB / 0.5835 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008803/0.4456, allocations: 0.5338 MB / 0.584 GB, free: 7.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006358/0.452, allocations: 2.787 MB / 0.5867 GB, free: 4.262 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.452, allocations: 47.16 kB / 0.5867 GB, free: 4.207 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.555e-06/0.452, allocations: 0 / 0.5867 GB, free: 4.207 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01636/0.4684, allocations: 3.421 MB / 0.5901 GB, free: 0.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/0.4685, allocations: 64.41 kB / 0.5901 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007276/0.4692, allocations: 0.574 MB / 0.5907 GB, free: 92 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.268e-05/0.4693, allocations: 37.7 kB / 0.5907 GB, free: 48 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004335/0.4697, allocations: 0.5623 MB / 0.5913 GB, free: 15.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.47, allocations: 345.1 kB / 0.5916 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.4704, allocations: 234.8 kB / 0.5918 GB, free: 14.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.4706, allocations: 394.7 kB / 0.5922 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006548/0.4712, allocations: 358.5 kB / 0.5926 GB, free: 14.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009971/0.4722, allocations: 0.7477 MB / 0.5933 GB, free: 13.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.474, allocations: 1.204 MB / 0.5945 GB, free: 11.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.474, allocations: 4 kB / 0.5945 GB, free: 11.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00449/0.4785, allocations: 1.471 MB / 0.5959 GB, free: 10.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.687e-05/0.4785, allocations: 18.72 kB / 0.5959 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.4786, allocations: 12 kB / 0.5959 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.4808, allocations: 237.5 kB / 0.5962 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.4823, allocations: 331.5 kB / 0.5965 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.488, allocations: 3.583 MB / 0.6 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008826/0.4889, allocations: 51.94 kB / 0.6 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.489, allocations: 67.98 kB / 0.6001 GB, free: 5.867 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.0004922/0.4895, allocations: 277.4 kB / 0.6004 GB, free: 5.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.4897, allocations: 83.42 kB / 0.6004 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004339/0.494, allocations: 1.33 MB / 0.6017 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.494, allocations: 12 kB / 0.6017 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4941, allocations: 0 / 0.6017 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.4941, allocations: 3.984 kB / 0.6018 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.4954, allocations: 0.8 MB / 0.6025 GB, free: 3.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.4954, allocations: 4 kB / 0.6025 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.4967, allocations: 211.8 kB / 0.6027 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002156/0.4988, allocations: 229.6 kB / 0.603 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.4989, allocations: 31.98 kB / 0.603 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005421/0.5043, allocations: 3.496 MB / 0.6064 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.5043, allocations: 7.969 kB / 0.6064 GB, free: 15.11 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004883/0.5092, allocations: 1.729 MB / 0.6081 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002284/0.5095, allocations: 83.44 kB / 0.6082 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.5096, allocations: 20 kB / 0.6082 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/0.5102, allocations: 19.94 kB / 0.6082 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002036/0.5104, allocations: 88.78 kB / 0.6083 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.5105, allocations: 39.98 kB / 0.6083 GB, free: 13.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004784/0.511, allocations: 359.1 kB / 0.6087 GB, free: 12.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.511, allocations: 0 / 0.6087 GB, free: 12.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002395/0.5134, allocations: 0.6818 MB / 0.6093 GB, free: 12.07 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.001827/0.5152, allocations: 0.8223 MB / 0.6101 GB, free: 11.24 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002339/0.5175, allocations: 1.192 MB / 0.6113 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.5175, allocations: 0 / 0.6113 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.5187, allocations: 0.698 MB / 0.612 GB, free: 9.301 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001139/0.5198, allocations: 206.6 kB / 0.6122 GB, free: 9.098 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.5236, allocations: 2.004 MB / 0.6141 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005123/0.5241, allocations: 451.4 kB / 0.6146 GB, free: 6.59 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008015/0.5249, allocations: 229.8 kB / 0.6148 GB, free: 6.367 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003691/0.5253, allocations: 154.3 kB / 0.6149 GB, free: 6.219 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5253, allocations: 0 / 0.6149 GB, free: 6.219 MB / 462.1 MB Notification: Performance of Templates: time 0.04084/0.5661, allocations: 25.7 MB / 0.64 GB, free: 12.71 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: 5.562260107602924] Failed to read output from testmodel.py, exit status != 0: 0.5749221569858491 0.589330523 0.163038973 Calling exit ...