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.001397/0.001397, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.00151/0.00151, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.449/1.449, allocations: 230.5 MB / 252.8 MB, free: 9.129 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.1434/0.1434, allocations: 23.89 MB / 332.7 MB, free: 12.3 MB / 270.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.00209/0.00209, allocations: 67.89 kB / 466.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.309, allocations: 59.83 MB / 0.514 GB, free: 9.438 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.03672/0.3457, allocations: 26.67 MB / 0.5401 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02191/0.3676, allocations: 16.77 MB / 0.5565 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009266/0.3685, allocations: 19.81 kB / 0.5565 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009475/0.3695, allocations: 336.1 kB / 0.5568 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.374, allocations: 1.492 MB / 0.5583 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005542/0.3796, allocations: 2.006 MB / 0.5602 GB, free: 11.47 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.3819, allocations: 1.542 MB / 0.5617 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.383, allocations: 0.7215 MB / 0.5624 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009879/0.384, allocations: 0.7729 MB / 0.5632 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.3852, allocations: 0.8658 MB / 0.564 GB, free: 8.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002241/0.3854, allocations: 136 kB / 0.5641 GB, free: 7.941 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00593/0.3914, allocations: 1.81 MB / 0.5659 GB, free: 6.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003879/0.3918, allocations: 327 kB / 0.5662 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008324/0.3926, allocations: 0.6883 MB / 0.5669 GB, free: 5.117 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007098/0.3997, allocations: 3.444 MB / 0.5703 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3997, allocations: 0 / 0.5703 GB, free: 1.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3997, allocations: 4 kB / 0.5703 GB, free: 1.656 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.685e-05/0.3997, allocations: 0 / 0.5703 GB, free: 1.656 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.003727/0.4035, allocations: 1.848 MB / 0.5721 GB, free: 15.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4035, allocations: 8.031 kB / 0.5721 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001238/0.4047, allocations: 275.8 kB / 0.5723 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00107/0.4058, allocations: 0.6846 MB / 0.573 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.4059, allocations: 108.4 kB / 0.5731 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.4061, allocations: 116.3 kB / 0.5732 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.4085, allocations: 1.333 MB / 0.5745 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.4085, allocations: 0 / 0.5745 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.4086, allocations: 48 kB / 0.5746 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.139e-05/0.4086, allocations: 24 kB / 0.5746 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002824/0.4115, allocations: 1.699 MB / 0.5763 GB, free: 11.36 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.006968/0.4184, allocations: 4.303 MB / 0.5805 GB, free: 6.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003781/0.4222, allocations: 2.21 MB / 0.5826 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008797/0.4231, allocations: 0.5303 MB / 0.5831 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00757/0.4307, allocations: 5.401 MB / 0.5884 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4307, allocations: 39.22 kB / 0.5884 GB, free: 13.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.444e-06/0.4307, allocations: 4 kB / 0.5884 GB, free: 13.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.01552/0.4462, allocations: 3.577 MB / 0.5919 GB, free: 10.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.4463, allocations: 64.41 kB / 0.592 GB, free: 10.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007979/0.4471, allocations: 0.5901 MB / 0.5926 GB, free: 9.633 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-05/0.4471, allocations: 45.64 kB / 0.5926 GB, free: 9.582 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004385/0.4476, allocations: 0.5467 MB / 0.5932 GB, free: 9.027 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.4479, allocations: 349.1 kB / 0.5935 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003922/0.4483, allocations: 230.8 kB / 0.5937 GB, free: 8.453 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.4486, allocations: 394.7 kB / 0.5941 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006936/0.4493, allocations: 362.5 kB / 0.5944 GB, free: 7.703 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.4504, allocations: 0.7479 MB / 0.5952 GB, free: 6.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001878/0.4522, allocations: 1.208 MB / 0.5963 GB, free: 5.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4522, allocations: 4 kB / 0.5963 GB, free: 5.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00429/0.4565, allocations: 1.463 MB / 0.5978 GB, free: 3.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.4566, allocations: 16.03 kB / 0.5978 GB, free: 3.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.4566, allocations: 16 kB / 0.5978 GB, free: 3.875 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002029/0.4586, allocations: 241.5 kB / 0.598 GB, free: 3.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.4602, allocations: 331.5 kB / 0.5984 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006188/0.4664, allocations: 3.863 MB / 0.6021 GB, free: 15.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009296/0.4673, allocations: 43.94 kB / 0.6022 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.4675, allocations: 71.97 kB / 0.6022 GB, free: 15.05 MB / 462.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.000533/0.468, allocations: 277.5 kB / 0.6025 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.4682, allocations: 91.39 kB / 0.6026 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004354/0.4725, allocations: 1.332 MB / 0.6039 GB, free: 13.34 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4726, allocations: 11.94 kB / 0.6039 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.4726, allocations: 0 / 0.6039 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4726, allocations: 3.984 kB / 0.6039 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001645/0.4742, allocations: 1.07 MB / 0.6049 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4742, allocations: 0 / 0.6049 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.4755, allocations: 215.8 kB / 0.6052 GB, free: 11.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.4774, allocations: 229.7 kB / 0.6054 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.4775, allocations: 35.98 kB / 0.6054 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005477/0.483, allocations: 3.772 MB / 0.6091 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.483, allocations: 7.969 kB / 0.6091 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004589/0.4876, allocations: 1.744 MB / 0.6108 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002228/0.4878, allocations: 152.5 kB / 0.6109 GB, free: 5.699 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.4879, allocations: 28.05 kB / 0.611 GB, free: 5.672 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005164/0.4885, allocations: 16 kB / 0.611 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.4887, allocations: 84.83 kB / 0.6111 GB, free: 5.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-05/0.4888, allocations: 43.92 kB / 0.6111 GB, free: 5.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004906/0.4892, allocations: 387.1 kB / 0.6115 GB, free: 5.156 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4892, allocations: 4 kB / 0.6115 GB, free: 5.152 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002061/0.4913, allocations: 0.6818 MB / 0.6121 GB, free: 4.469 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.001478/0.4928, allocations: 0.8247 MB / 0.613 GB, free: 3.629 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.495, allocations: 1.188 MB / 0.6141 GB, free: 2.418 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.495, allocations: 4 kB / 0.6141 GB, free: 2.414 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.4962, allocations: 0.698 MB / 0.6148 GB, free: 1.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.4972, allocations: 199.4 kB / 0.615 GB, free: 1.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.5007, allocations: 2.011 MB / 0.617 GB, free: 15.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007075/0.5014, allocations: 1.034 MB / 0.618 GB, free: 14.39 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007768/0.5022, allocations: 234.6 kB / 0.6182 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.5025, allocations: 162.1 kB / 0.6183 GB, free: 14 MB / 478.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5025, allocations: 0 / 0.6183 GB, free: 14 MB / 478.1 MB Notification: Performance of Templates: time 0.03928/0.5418, allocations: 24.18 MB / 0.642 GB, free: 5.918 MB / 494.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: 5.744457507040352] Failed to read output from testmodel.py, exit status != 0: 0.5506166210398078 0.5642232819999999 0.16151773 Calling exit ...