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.001844/0.001844, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002407/0.002407, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.1425/0.1425, allocations: 23.86 MB / 337 MB, free: 11.32 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.002025/0.002025, allocations: 63.91 kB / 472.4 MB, free: 7.238 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2984/0.3005, allocations: 59.86 MB / 0.5198 GB, free: 9.801 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.03676/0.3372, allocations: 26.67 MB / 0.5458 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02431/0.3615, allocations: 16.8 MB / 0.5623 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.3625, allocations: 15.88 kB / 0.5623 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.3638, allocations: 336.1 kB / 0.5626 GB, free: 13.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004766/0.3685, allocations: 1.503 MB / 0.5641 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006396/0.3749, allocations: 2.022 MB / 0.566 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002664/0.3776, allocations: 1.554 MB / 0.5675 GB, free: 9.137 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.3789, allocations: 0.7057 MB / 0.5682 GB, free: 8.539 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001261/0.3802, allocations: 0.7794 MB / 0.569 GB, free: 7.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001485/0.3817, allocations: 0.8644 MB / 0.5698 GB, free: 6.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.382, allocations: 132 kB / 0.57 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005696/0.3877, allocations: 1.806 MB / 0.5717 GB, free: 4.953 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004602/0.3882, allocations: 331 kB / 0.572 GB, free: 4.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000955/0.3891, allocations: 0.6806 MB / 0.5727 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007296/0.3964, allocations: 3.447 MB / 0.5761 GB, free: 496 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3964, allocations: 4 kB / 0.5761 GB, free: 492 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3964, allocations: 0 / 0.5761 GB, free: 492 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.3964, allocations: 0 / 0.5761 GB, free: 492 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.003743/0.4002, allocations: 1.777 MB / 0.5778 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4002, allocations: 12.02 kB / 0.5778 GB, free: 14.65 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.4015, allocations: 271.5 kB / 0.5781 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.4026, allocations: 0.6165 MB / 0.5787 GB, free: 13.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/0.4028, allocations: 138.1 kB / 0.5788 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.403, allocations: 112.3 kB / 0.5789 GB, free: 13.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.4052, allocations: 1.341 MB / 0.5802 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.666e-05/0.4053, allocations: 4 kB / 0.5802 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.4054, allocations: 43.94 kB / 0.5803 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.4054, allocations: 24 kB / 0.5803 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002788/0.4082, allocations: 1.699 MB / 0.582 GB, free: 10.32 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.007263/0.4155, allocations: 4.245 MB / 0.5861 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003587/0.419, allocations: 1.91 MB / 0.588 GB, free: 3.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008998/0.4199, allocations: 0.526 MB / 0.5885 GB, free: 3.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00652/0.4265, allocations: 2.95 MB / 0.5914 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.4265, allocations: 39.22 kB / 0.5914 GB, free: 416 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.264e-06/0.4265, allocations: 0 / 0.5914 GB, free: 416 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0163/0.4428, allocations: 3.436 MB / 0.5948 GB, free: 12.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.4429, allocations: 64.41 kB / 0.5948 GB, free: 12.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007517/0.4436, allocations: 0.5823 MB / 0.5954 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-05/0.4437, allocations: 45.7 kB / 0.5954 GB, free: 12.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.4441, allocations: 0.5428 MB / 0.596 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003566/0.4445, allocations: 353 kB / 0.5963 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003548/0.4448, allocations: 242.8 kB / 0.5965 GB, free: 11.07 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.445, allocations: 394.7 kB / 0.5969 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006749/0.4457, allocations: 358.5 kB / 0.5973 GB, free: 10.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.4467, allocations: 0.7438 MB / 0.598 GB, free: 9.406 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.4486, allocations: 1.212 MB / 0.5992 GB, free: 8.016 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.4486, allocations: 4 kB / 0.5992 GB, free: 8.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004516/0.4531, allocations: 1.475 MB / 0.6006 GB, free: 6.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.65e-05/0.4532, allocations: 12 kB / 0.6006 GB, free: 6.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.4532, allocations: 12 kB / 0.6006 GB, free: 6.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.4554, allocations: 249.5 kB / 0.6009 GB, free: 6.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.457, allocations: 323.5 kB / 0.6012 GB, free: 5.934 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006088/0.4631, allocations: 3.663 MB / 0.6048 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008411/0.4639, allocations: 43.94 kB / 0.6048 GB, free: 2.004 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.464, allocations: 63.98 kB / 0.6049 GB, free: 1.941 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.0004685/0.4645, allocations: 277.5 kB / 0.6051 GB, free: 1.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.4647, allocations: 91.39 kB / 0.6052 GB, free: 1.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004423/0.4691, allocations: 1.328 MB / 0.6065 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.4692, allocations: 15.94 kB / 0.6065 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4692, allocations: 0 / 0.6065 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.4692, allocations: 3.984 kB / 0.6065 GB, free: 212 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.4708, allocations: 1.041 MB / 0.6075 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4708, allocations: 4 kB / 0.6075 GB, free: 15.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.4721, allocations: 211.8 kB / 0.6077 GB, free: 14.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.4741, allocations: 229.6 kB / 0.608 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/0.4742, allocations: 35.98 kB / 0.608 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005553/0.4798, allocations: 3.553 MB / 0.6115 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4798, allocations: 12.03 kB / 0.6115 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.4845, allocations: 1.74 MB / 0.6132 GB, free: 9.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.4848, allocations: 83.44 kB / 0.6133 GB, free: 8.973 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4849, allocations: 20 kB / 0.6133 GB, free: 8.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005318/0.4854, allocations: 24 kB / 0.6133 GB, free: 8.93 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002231/0.4857, allocations: 80.78 kB / 0.6134 GB, free: 8.852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-05/0.4858, allocations: 47.86 kB / 0.6134 GB, free: 8.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004981/0.4863, allocations: 403 kB / 0.6138 GB, free: 8.418 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4863, allocations: 0 / 0.6138 GB, free: 8.418 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002056/0.4883, allocations: 0.6818 MB / 0.6145 GB, free: 7.734 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.001563/0.4899, allocations: 0.817 MB / 0.6153 GB, free: 6.906 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.4922, allocations: 1.188 MB / 0.6164 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4922, allocations: 4 kB / 0.6164 GB, free: 5.691 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4934, allocations: 0.7058 MB / 0.6171 GB, free: 4.957 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.4945, allocations: 190.5 kB / 0.6173 GB, free: 4.77 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.4983, allocations: 2.058 MB / 0.6193 GB, free: 2.672 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007387/0.499, allocations: 1.03 MB / 0.6203 GB, free: 1.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/0.4996, allocations: 208.6 kB / 0.6205 GB, free: 1.414 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.4996, allocations: 0 / 0.6205 GB, free: 1.414 MB / 462.1 MB Notification: Performance of Templates: time 0.03712/0.5367, allocations: 26.78 MB / 0.6467 GB, free: 6.684 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.850862982217222] Failed to read output from testmodel.py, exit status != 0: 0.5463463368359953 0.5612538819999999 0.161555992 Calling exit ...