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.001944/0.001944, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.002605/0.002605, allocations: 211.7 kB / 22.3 MB, free: 5.281 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.543/1.543, allocations: 230.6 MB / 256.1 MB, free: 7.785 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.1579/0.1579, allocations: 23.88 MB / 336.4 MB, free: 10.91 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.002102/0.002102, allocations: 67.89 kB / 471.7 MB, free: 6.918 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4158/0.4179, allocations: 59.86 MB / 0.5191 GB, free: 9.762 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.07505/0.493, allocations: 26.18 MB / 0.5447 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.5149, allocations: 14.71 MB / 0.5591 GB, free: 48 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001328/0.5163, allocations: 19.81 kB / 0.5591 GB, free: 28 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5175, allocations: 308.9 kB / 0.5594 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005441/0.5229, allocations: 1.468 MB / 0.5608 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006849/0.5298, allocations: 2.022 MB / 0.5628 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003025/0.5328, allocations: 1.547 MB / 0.5643 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.534, allocations: 0.6879 MB / 0.565 GB, free: 10.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.5351, allocations: 0.7872 MB / 0.5657 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001304/0.5364, allocations: 0.7823 MB / 0.5665 GB, free: 9.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.5366, allocations: 136 kB / 0.5666 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005596/0.5422, allocations: 1.693 MB / 0.5683 GB, free: 7.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004807/0.5427, allocations: 327.1 kB / 0.5686 GB, free: 7.16 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008608/0.5436, allocations: 0.5797 MB / 0.5692 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008962/0.5525, allocations: 3.44 MB / 0.5725 GB, free: 3.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.5526, allocations: 4 kB / 0.5725 GB, free: 3.121 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5526, allocations: 0 / 0.5725 GB, free: 3.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.737e-05/0.5526, allocations: 0 / 0.5725 GB, free: 3.121 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.003782/0.5564, allocations: 1.773 MB / 0.5743 GB, free: 1.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5564, allocations: 8.031 kB / 0.5743 GB, free: 1.301 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.5577, allocations: 279.5 kB / 0.5745 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/0.5589, allocations: 0.6126 MB / 0.5751 GB, free: 400 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.559, allocations: 138.1 kB / 0.5753 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/0.5593, allocations: 116.3 kB / 0.5754 GB, free: 132 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002379/0.5616, allocations: 1.333 MB / 0.5767 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.5617, allocations: 0 / 0.5767 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.5618, allocations: 48 kB / 0.5767 GB, free: 14.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.5618, allocations: 24 kB / 0.5767 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002915/0.5647, allocations: 1.683 MB / 0.5784 GB, free: 12.98 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.007177/0.5719, allocations: 3.384 MB / 0.5817 GB, free: 9.512 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00371/0.5756, allocations: 1.871 MB / 0.5835 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000926/0.5765, allocations: 0.5299 MB / 0.584 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006455/0.583, allocations: 2.795 MB / 0.5868 GB, free: 4.297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.356e-05/0.5831, allocations: 47.09 kB / 0.5868 GB, free: 4.242 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.575e-06/0.5831, allocations: 4 kB / 0.5868 GB, free: 4.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01506/0.5981, allocations: 3.414 MB / 0.5901 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.5982, allocations: 68.39 kB / 0.5902 GB, free: 0.707 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008407/0.599, allocations: 0.5701 MB / 0.5908 GB, free: 128 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.032e-05/0.5991, allocations: 41.7 kB / 0.5908 GB, free: 80 kB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004793/0.5996, allocations: 0.5584 MB / 0.5913 GB, free: 15.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003597/0.5999, allocations: 345.1 kB / 0.5917 GB, free: 15.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003595/0.6003, allocations: 234.8 kB / 0.5919 GB, free: 14.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002439/0.6005, allocations: 394.7 kB / 0.5923 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.6012, allocations: 354.5 kB / 0.5926 GB, free: 14.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.6022, allocations: 0.7516 MB / 0.5934 GB, free: 13.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.6041, allocations: 1.2 MB / 0.5945 GB, free: 11.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6041, allocations: 4 kB / 0.5945 GB, free: 11.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004176/0.6083, allocations: 1.475 MB / 0.596 GB, free: 10.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.6083, allocations: 11.98 kB / 0.596 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.15e-05/0.6083, allocations: 16 kB / 0.596 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.6103, allocations: 233.6 kB / 0.5962 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.6118, allocations: 331.5 kB / 0.5965 GB, free: 9.809 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/0.6176, allocations: 3.587 MB / 0.6 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008933/0.6185, allocations: 47.92 kB / 0.6001 GB, free: 5.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.6186, allocations: 67.98 kB / 0.6001 GB, free: 5.902 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.0005548/0.6192, allocations: 273.4 kB / 0.6004 GB, free: 5.625 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002051/0.6194, allocations: 83.48 kB / 0.6005 GB, free: 5.543 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/0.6236, allocations: 1.324 MB / 0.6018 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.6236, allocations: 12.14 kB / 0.6018 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.6236, allocations: 3.984 kB / 0.6018 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.6236, allocations: 11.97 kB / 0.6018 GB, free: 4.176 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.625, allocations: 0.7885 MB / 0.6026 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/0.625, allocations: 3.938 kB / 0.6026 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.6262, allocations: 223.7 kB / 0.6028 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001888/0.6281, allocations: 229.6 kB / 0.603 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/0.6282, allocations: 31.98 kB / 0.603 GB, free: 2.852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00528/0.6335, allocations: 3.496 MB / 0.6065 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6335, allocations: 0 / 0.6065 GB, free: 15.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/0.638, allocations: 1.737 MB / 0.6082 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.6382, allocations: 79.45 kB / 0.6082 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.6383, allocations: 16 kB / 0.6082 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005274/0.6388, allocations: 27.92 kB / 0.6083 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.6391, allocations: 80.86 kB / 0.6083 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.26e-05/0.6392, allocations: 39.98 kB / 0.6084 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005114/0.6397, allocations: 363.1 kB / 0.6087 GB, free: 12.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6397, allocations: 0 / 0.6087 GB, free: 12.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002322/0.642, allocations: 0.6856 MB / 0.6094 GB, free: 12.11 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.0017/0.6437, allocations: 0.8262 MB / 0.6102 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002382/0.6461, allocations: 1.18 MB / 0.6114 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.6461, allocations: 0 / 0.6114 GB, free: 10.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.6473, allocations: 0.6946 MB / 0.612 GB, free: 9.348 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.6483, allocations: 213 kB / 0.6122 GB, free: 9.141 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.6521, allocations: 2.005 MB / 0.6142 GB, free: 7.094 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.6526, allocations: 455.4 kB / 0.6146 GB, free: 6.617 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008384/0.6535, allocations: 226.7 kB / 0.6149 GB, free: 6.395 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.6538, allocations: 165.5 kB / 0.615 GB, free: 6.242 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6538, allocations: 0 / 0.615 GB, free: 6.242 MB / 462.1 MB Notification: Performance of Templates: time 0.04081/0.6946, allocations: 23.94 MB / 0.6384 GB, free: 14.51 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: 6.380261400714517] Failed to read output from testmodel.py, exit status != 0: 0.7049537878483534 0.7217316410000001 0.165680808 Calling exit ...