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.001373/0.001373, allocations: 103.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.00147/0.00147, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 8.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.1428/0.1428, allocations: 23.85 MB / 332.7 MB, free: 12.38 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.002198/0.002198, allocations: 67.91 kB / 466.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3038, allocations: 59.82 MB / 0.514 GB, free: 9.16 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.03807/0.3419, allocations: 26.4 MB / 0.5397 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02215/0.3641, allocations: 16.77 MB / 0.5561 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.3651, allocations: 19.81 kB / 0.5561 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009841/0.3661, allocations: 331.6 kB / 0.5564 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004573/0.3707, allocations: 1.492 MB / 0.5579 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005918/0.3766, allocations: 2.002 MB / 0.5599 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002631/0.3792, allocations: 1.546 MB / 0.5614 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.3803, allocations: 0.7139 MB / 0.5621 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.3813, allocations: 0.7806 MB / 0.5628 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/0.3827, allocations: 0.8682 MB / 0.5637 GB, free: 8.348 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002264/0.3829, allocations: 136 kB / 0.5638 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005618/0.3885, allocations: 1.806 MB / 0.5656 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.389, allocations: 331 kB / 0.5659 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000865/0.3898, allocations: 0.6806 MB / 0.5666 GB, free: 5.414 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007451/0.3973, allocations: 3.444 MB / 0.5699 GB, free: 1.957 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3973, allocations: 4 kB / 0.5699 GB, free: 1.953 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3973, allocations: 0 / 0.5699 GB, free: 1.953 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.3973, allocations: 0 / 0.5699 GB, free: 1.953 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.003654/0.401, allocations: 1.856 MB / 0.5717 GB, free: 40 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.401, allocations: 12.03 kB / 0.5717 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.4023, allocations: 271.1 kB / 0.572 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.4035, allocations: 0.6808 MB / 0.5727 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.4036, allocations: 108.4 kB / 0.5728 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/0.4038, allocations: 112.3 kB / 0.5729 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002441/0.4063, allocations: 1.333 MB / 0.5742 GB, free: 13.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/0.4063, allocations: 7.938 kB / 0.5742 GB, free: 13.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.4064, allocations: 47.94 kB / 0.5742 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.4065, allocations: 28 kB / 0.5743 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003074/0.4095, allocations: 1.695 MB / 0.5759 GB, free: 11.65 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.007482/0.417, allocations: 4.3 MB / 0.5801 GB, free: 7.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003887/0.4209, allocations: 2.214 MB / 0.5823 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000924/0.4218, allocations: 0.5303 MB / 0.5828 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007827/0.4297, allocations: 5.404 MB / 0.5881 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.769e-05/0.4297, allocations: 47.09 kB / 0.5881 GB, free: 14.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.244e-06/0.4297, allocations: 0 / 0.5881 GB, free: 14.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=95): time 0.0158/0.4455, allocations: 3.587 MB / 0.5916 GB, free: 10.58 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/0.4456, allocations: 60.41 kB / 0.5917 GB, free: 10.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008015/0.4464, allocations: 0.5862 MB / 0.5922 GB, free: 9.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.738e-05/0.4464, allocations: 41.7 kB / 0.5923 GB, free: 9.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004332/0.4469, allocations: 0.5468 MB / 0.5928 GB, free: 9.312 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.4472, allocations: 357 kB / 0.5932 GB, free: 8.961 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003589/0.4475, allocations: 230.8 kB / 0.5934 GB, free: 8.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.4478, allocations: 394.7 kB / 0.5938 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007099/0.4485, allocations: 354.5 kB / 0.5941 GB, free: 7.988 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.4495, allocations: 0.7518 MB / 0.5948 GB, free: 7.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001875/0.4514, allocations: 1.2 MB / 0.596 GB, free: 5.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4514, allocations: 8 kB / 0.596 GB, free: 5.672 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00441/0.4558, allocations: 1.483 MB / 0.5975 GB, free: 4.172 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.4559, allocations: 8 kB / 0.5975 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.4559, allocations: 16 kB / 0.5975 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002047/0.4579, allocations: 237.5 kB / 0.5977 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.4594, allocations: 331.5 kB / 0.598 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006043/0.4655, allocations: 3.863 MB / 0.6018 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008241/0.4663, allocations: 40 kB / 0.6018 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.4664, allocations: 67.98 kB / 0.6019 GB, free: 15.34 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.000472/0.4669, allocations: 273.4 kB / 0.6022 GB, free: 15.06 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.4671, allocations: 91.42 kB / 0.6022 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/0.4718, allocations: 1.336 MB / 0.6036 GB, free: 13.62 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.4718, allocations: 12 kB / 0.6036 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.4718, allocations: 3.938 kB / 0.6036 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.4719, allocations: 12.11 kB / 0.6036 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002325/0.4742, allocations: 1.054 MB / 0.6046 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.4742, allocations: 4.125 kB / 0.6046 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.4758, allocations: 227.6 kB / 0.6048 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.4778, allocations: 233.5 kB / 0.6051 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.713e-05/0.4779, allocations: 31.98 kB / 0.6051 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005539/0.4835, allocations: 3.768 MB / 0.6088 GB, free: 7.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4835, allocations: 4.031 kB / 0.6088 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/0.4882, allocations: 1.744 MB / 0.6105 GB, free: 6.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002214/0.4885, allocations: 156.5 kB / 0.6106 GB, free: 5.977 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4886, allocations: 20.06 kB / 0.6106 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000522/0.4891, allocations: 20 kB / 0.6107 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002129/0.4893, allocations: 80.89 kB / 0.6107 GB, free: 5.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.4894, allocations: 48.05 kB / 0.6108 GB, free: 5.809 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005382/0.4899, allocations: 391 kB / 0.6112 GB, free: 5.434 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4899, allocations: 0 / 0.6112 GB, free: 5.434 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002147/0.4921, allocations: 0.6856 MB / 0.6118 GB, free: 4.746 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.001573/0.4937, allocations: 0.8209 MB / 0.6126 GB, free: 3.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002606/0.4963, allocations: 1.191 MB / 0.6138 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.4963, allocations: 0 / 0.6138 GB, free: 2.695 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001262/0.4975, allocations: 0.6951 MB / 0.6145 GB, free: 1.977 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4987, allocations: 206.3 kB / 0.6147 GB, free: 1.777 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/0.5024, allocations: 2.003 MB / 0.6166 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/0.5032, allocations: 1.041 MB / 0.6176 GB, free: 14.67 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008482/0.5041, allocations: 226.6 kB / 0.6179 GB, free: 14.45 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003687/0.5044, allocations: 158 kB / 0.618 GB, free: 14.3 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5044, allocations: 0 / 0.618 GB, free: 14.3 MB / 478.1 MB Notification: Performance of Templates: time 0.04065/0.5451, allocations: 24.18 MB / 0.6416 GB, free: 6.211 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.85807615891099] Failed to read output from testmodel.py, exit status != 0: 0.5537957549095154 0.568169554 0.167836424 Calling exit ...