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.001572/0.001572, allocations: 79.75 kB / 19.76 MB, free: 2.02 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: 156.5 kB / 23 MB, free: 4.949 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.338/1.338, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.122/0.122, allocations: 17.37 MB / 277.1 MB, free: 15.27 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.002024/0.002024, allocations: 63.91 kB / 412.4 MB, free: 4.656 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2695, allocations: 59.84 MB / 472.3 MB, free: 2.559 MB / 366.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.079/0.3485, allocations: 26.18 MB / 498.5 MB, free: 12.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01891/0.3674, allocations: 14.69 MB / 0.5011 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.3681, allocations: 19.81 kB / 0.5011 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008136/0.3689, allocations: 313.6 kB / 0.5014 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.3723, allocations: 1.471 MB / 0.5029 GB, free: 12.06 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004865/0.3772, allocations: 2.024 MB / 0.5049 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.3791, allocations: 1.545 MB / 0.5064 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008323/0.38, allocations: 0.6879 MB / 0.507 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008414/0.3808, allocations: 0.7794 MB / 0.5078 GB, free: 6.984 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001129/0.3819, allocations: 0.7862 MB / 0.5086 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3822, allocations: 140 kB / 0.5087 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00391/0.3861, allocations: 1.693 MB / 0.5104 GB, free: 4.363 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003527/0.3864, allocations: 331 kB / 0.5107 GB, free: 4.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006554/0.3871, allocations: 0.5759 MB / 0.5112 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005342/0.3924, allocations: 3.443 MB / 0.5146 GB, free: 4 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3924, allocations: 0 / 0.5146 GB, free: 4 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3924, allocations: 0 / 0.5146 GB, free: 4 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.3924, allocations: 0 / 0.5146 GB, free: 4 kB / 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.003226/0.3957, allocations: 1.773 MB / 0.5163 GB, free: 14.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3957, allocations: 8.031 kB / 0.5163 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.3968, allocations: 283.5 kB / 0.5166 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.3979, allocations: 0.6127 MB / 0.5172 GB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.3981, allocations: 138.1 kB / 0.5173 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.3983, allocations: 116.3 kB / 0.5174 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.4004, allocations: 1.337 MB / 0.5188 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.47e-05/0.4004, allocations: 0 / 0.5188 GB, free: 11.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/0.4005, allocations: 48 kB / 0.5188 GB, free: 11.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.623e-05/0.4006, allocations: 27.98 kB / 0.5188 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.4033, allocations: 1.675 MB / 0.5205 GB, free: 9.867 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.006248/0.4095, allocations: 3.387 MB / 0.5238 GB, free: 6.387 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.4129, allocations: 1.863 MB / 0.5256 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008388/0.4137, allocations: 0.5377 MB / 0.5261 GB, free: 3.992 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005818/0.4195, allocations: 2.787 MB / 0.5288 GB, free: 1.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.4196, allocations: 51.09 kB / 0.5289 GB, free: 1.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.414e-06/0.4196, allocations: 0 / 0.5289 GB, free: 1.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01473/0.4343, allocations: 3.411 MB / 0.5322 GB, free: 13.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.4344, allocations: 64.41 kB / 0.5323 GB, free: 13.59 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006718/0.435, allocations: 0.5701 MB / 0.5328 GB, free: 13.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.4351, allocations: 37.7 kB / 0.5329 GB, free: 12.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004066/0.4355, allocations: 0.5662 MB / 0.5334 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.4358, allocations: 341.1 kB / 0.5337 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003272/0.4361, allocations: 234.8 kB / 0.534 GB, free: 11.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.4363, allocations: 394.7 kB / 0.5343 GB, free: 11.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006189/0.437, allocations: 358.5 kB / 0.5347 GB, free: 11.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009685/0.4379, allocations: 0.7515 MB / 0.5354 GB, free: 10.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001741/0.4397, allocations: 1.204 MB / 0.5366 GB, free: 8.762 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.4397, allocations: 4 kB / 0.5366 GB, free: 8.758 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004053/0.4437, allocations: 1.471 MB / 0.538 GB, free: 7.277 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.4437, allocations: 12 kB / 0.5381 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4438, allocations: 20.11 kB / 0.5381 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.4457, allocations: 237.5 kB / 0.5383 GB, free: 7.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.4471, allocations: 327.5 kB / 0.5386 GB, free: 6.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005553/0.4527, allocations: 3.594 MB / 0.5421 GB, free: 2.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007825/0.4535, allocations: 47.92 kB / 0.5422 GB, free: 2.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.4536, allocations: 68.05 kB / 0.5422 GB, free: 2.777 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.0004696/0.4541, allocations: 281.4 kB / 0.5425 GB, free: 2.492 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.4542, allocations: 79.48 kB / 0.5426 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.4583, allocations: 1.327 MB / 0.5439 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.4583, allocations: 12 kB / 0.5439 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.4583, allocations: 0 / 0.5439 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.4583, allocations: 3.984 kB / 0.5439 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.4595, allocations: 0.8003 MB / 0.5447 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4595, allocations: 0 / 0.5447 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.4608, allocations: 215.8 kB / 0.5449 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001898/0.4627, allocations: 233.5 kB / 0.5451 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/0.4627, allocations: 31.98 kB / 0.5451 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005051/0.4678, allocations: 3.488 MB / 0.5485 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4678, allocations: 4 kB / 0.5485 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004426/0.4722, allocations: 1.737 MB / 0.5502 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.4724, allocations: 79.45 kB / 0.5503 GB, free: 10.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.4725, allocations: 24 kB / 0.5503 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005106/0.473, allocations: 23.92 kB / 0.5504 GB, free: 10.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.4732, allocations: 84.84 kB / 0.5504 GB, free: 10.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.221e-05/0.4733, allocations: 39.98 kB / 0.5505 GB, free: 10.02 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004346/0.4737, allocations: 359.1 kB / 0.5508 GB, free: 9.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4737, allocations: 0 / 0.5508 GB, free: 9.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001888/0.4756, allocations: 0.6856 MB / 0.5515 GB, free: 8.988 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.001538/0.4771, allocations: 0.8254 MB / 0.5523 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002153/0.4793, allocations: 1.188 MB / 0.5535 GB, free: 6.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4793, allocations: 0 / 0.5535 GB, free: 6.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.4804, allocations: 0.6941 MB / 0.5541 GB, free: 6.219 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009306/0.4813, allocations: 210 kB / 0.5543 GB, free: 6.016 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.4847, allocations: 2.001 MB / 0.5563 GB, free: 3.973 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.4852, allocations: 455.4 kB / 0.5567 GB, free: 3.496 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000798/0.486, allocations: 226.5 kB / 0.5569 GB, free: 3.273 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/0.4863, allocations: 159.5 kB / 0.5571 GB, free: 3.125 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4863, allocations: 0 / 0.5571 GB, free: 3.125 MB / 462.1 MB Notification: Performance of Templates: time 0.03804/0.5244, allocations: 23.93 MB / 0.5805 GB, free: 11.38 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.ClimateChange.HydrogenotrophicMethanogenesis.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.395425027003512] Failed to read output from testmodel.py, exit status != 0: 0.5331266549183056 0.5473128629999999 0.15187727599999995 Calling exit ...