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.001565/0.001565, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001712/0.001712, allocations: 218.8 kB / 22.25 MB, free: 5.117 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.417/1.417, allocations: 230.6 MB / 256 MB, free: 7.98 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.1301/0.1301, allocations: 23.85 MB / 336.3 MB, free: 11.18 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.00204/0.00204, allocations: 67.89 kB / 471.7 MB, free: 7.172 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.299, allocations: 59.85 MB / 0.5191 GB, free: 9.867 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.03448/0.3335, allocations: 26.68 MB / 0.5451 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02171/0.3552, allocations: 16.79 MB / 0.5615 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007642/0.356, allocations: 19.81 kB / 0.5615 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009013/0.3569, allocations: 336.4 kB / 0.5618 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00378/0.3606, allocations: 1.511 MB / 0.5633 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005575/0.3662, allocations: 2.015 MB / 0.5653 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00208/0.3683, allocations: 1.55 MB / 0.5668 GB, free: 9.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009739/0.3693, allocations: 0.6978 MB / 0.5675 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008422/0.3701, allocations: 0.7833 MB / 0.5682 GB, free: 7.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001196/0.3713, allocations: 0.8682 MB / 0.5691 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001888/0.3715, allocations: 136 kB / 0.5692 GB, free: 6.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005085/0.3766, allocations: 1.802 MB / 0.571 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.3769, allocations: 331 kB / 0.5713 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007173/0.3776, allocations: 0.6806 MB / 0.572 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.383, allocations: 3.447 MB / 0.5753 GB, free: 432 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.383, allocations: 7.875 kB / 0.5753 GB, free: 424 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.383, allocations: 0 / 0.5753 GB, free: 424 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.383, allocations: 0 / 0.5753 GB, free: 424 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.003413/0.3864, allocations: 1.777 MB / 0.5771 GB, free: 14.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.3864, allocations: 8.031 kB / 0.5771 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.3876, allocations: 275.5 kB / 0.5773 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.3887, allocations: 0.6165 MB / 0.5779 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000222/0.389, allocations: 138.1 kB / 0.5781 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.3892, allocations: 116.3 kB / 0.5782 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.3914, allocations: 1.337 MB / 0.5795 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.35e-05/0.3914, allocations: 4 kB / 0.5795 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.3915, allocations: 44 kB / 0.5795 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.464e-05/0.3916, allocations: 28 kB / 0.5796 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002733/0.3943, allocations: 1.699 MB / 0.5812 GB, free: 10.25 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.006904/0.4012, allocations: 4.241 MB / 0.5854 GB, free: 5.805 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003415/0.4046, allocations: 1.914 MB / 0.5872 GB, free: 3.891 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008471/0.4055, allocations: 0.5338 MB / 0.5878 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006043/0.4115, allocations: 2.935 MB / 0.5906 GB, free: 400 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.4115, allocations: 43.2 kB / 0.5907 GB, free: 348 kB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.255e-06/0.4115, allocations: 3.938 kB / 0.5907 GB, free: 344 kB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.0151/0.4266, allocations: 3.437 MB / 0.594 GB, free: 12.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.4267, allocations: 60.41 kB / 0.5941 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006807/0.4274, allocations: 0.5901 MB / 0.5947 GB, free: 12.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.428e-05/0.4274, allocations: 41.7 kB / 0.5947 GB, free: 12.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.4278, allocations: 0.5468 MB / 0.5952 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.4281, allocations: 353 kB / 0.5956 GB, free: 11.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/0.4285, allocations: 234.8 kB / 0.5958 GB, free: 11 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.4286, allocations: 394.7 kB / 0.5962 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.4293, allocations: 358.5 kB / 0.5965 GB, free: 10.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/0.4302, allocations: 0.7477 MB / 0.5972 GB, free: 9.336 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001727/0.432, allocations: 1.2 MB / 0.5984 GB, free: 7.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.432, allocations: 8 kB / 0.5984 GB, free: 7.949 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004166/0.4361, allocations: 1.467 MB / 0.5999 GB, free: 6.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4362, allocations: 15.92 kB / 0.5999 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.4362, allocations: 12.09 kB / 0.5999 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.4383, allocations: 245.5 kB / 0.6001 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.4397, allocations: 327.5 kB / 0.6004 GB, free: 5.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005678/0.4453, allocations: 3.667 MB / 0.604 GB, free: 1.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006706/0.446, allocations: 43.98 kB / 0.604 GB, free: 1.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.4461, allocations: 67.98 kB / 0.6041 GB, free: 1.875 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.0004078/0.4465, allocations: 273.4 kB / 0.6044 GB, free: 1.598 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.4467, allocations: 91.39 kB / 0.6045 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.4509, allocations: 1.339 MB / 0.6058 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4509, allocations: 11.94 kB / 0.6058 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.4509, allocations: 0 / 0.6058 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4509, allocations: 3.984 kB / 0.6058 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.4524, allocations: 1.037 MB / 0.6068 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4524, allocations: 4.125 kB / 0.6068 GB, free: 15.03 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/0.4536, allocations: 219.7 kB / 0.607 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002064/0.4557, allocations: 229.6 kB / 0.6072 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/0.4557, allocations: 31.98 kB / 0.6073 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00529/0.461, allocations: 3.565 MB / 0.6107 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.461, allocations: 0 / 0.6107 GB, free: 10.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.4657, allocations: 1.744 MB / 0.6124 GB, free: 8.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.4658, allocations: 83.38 kB / 0.6125 GB, free: 8.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/0.4659, allocations: 20.06 kB / 0.6125 GB, free: 8.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005001/0.4664, allocations: 20 kB / 0.6126 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/0.4666, allocations: 84.84 kB / 0.6126 GB, free: 8.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.467e-05/0.4667, allocations: 43.92 kB / 0.6127 GB, free: 8.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.4671, allocations: 387.1 kB / 0.6131 GB, free: 8.363 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4671, allocations: 0 / 0.6131 GB, free: 8.363 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001893/0.469, allocations: 0.6817 MB / 0.6137 GB, free: 7.68 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.001344/0.4704, allocations: 0.8287 MB / 0.6145 GB, free: 6.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.4725, allocations: 1.187 MB / 0.6157 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4725, allocations: 0 / 0.6157 GB, free: 5.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.4736, allocations: 0.6992 MB / 0.6164 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000922/0.4745, allocations: 201.3 kB / 0.6166 GB, free: 4.707 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.4778, allocations: 2.013 MB / 0.6185 GB, free: 2.66 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006876/0.4785, allocations: 1.038 MB / 0.6195 GB, free: 1.594 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007355/0.4793, allocations: 234.9 kB / 0.6198 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/0.4796, allocations: 161.5 kB / 0.6199 GB, free: 1.211 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4796, allocations: 0 / 0.6199 GB, free: 1.211 MB / 462.1 MB Notification: Performance of Templates: time 0.03915/0.5188, allocations: 24.95 MB / 0.6443 GB, free: 8.359 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.7316835089586675] Failed to read output from testmodel.py, exit status != 0: 0.5271839359775186 0.541454916 0.155257307 Calling exit ...