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.001339/0.001339, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001521/0.001521, allocations: 206.3 kB / 22.99 MB, free: 4.953 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1414/0.1414, allocations: 23.92 MB / 337.1 MB, free: 10.94 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.002053/0.002053, allocations: 71.89 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 59.88 MB / 0.5198 GB, free: 9.734 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.07287/0.3931, allocations: 26.12 MB / 0.5453 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02019/0.4133, allocations: 14.72 MB / 0.5597 GB, free: 88 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.4144, allocations: 19.81 kB / 0.5597 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.4154, allocations: 300.4 kB / 0.56 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.4201, allocations: 1.475 MB / 0.5615 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005997/0.4261, allocations: 2.022 MB / 0.5634 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.4287, allocations: 1.551 MB / 0.565 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.4299, allocations: 0.7041 MB / 0.5656 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.4309, allocations: 0.7794 MB / 0.5664 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001306/0.4322, allocations: 0.8644 MB / 0.5672 GB, free: 9.238 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002491/0.4325, allocations: 136 kB / 0.5674 GB, free: 9.105 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00515/0.4376, allocations: 1.743 MB / 0.5691 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004637/0.4381, allocations: 331 kB / 0.5694 GB, free: 7.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008583/0.4389, allocations: 0.5836 MB / 0.57 GB, free: 6.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008352/0.4473, allocations: 3.432 MB / 0.5733 GB, free: 3.004 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.4473, allocations: 4 kB / 0.5733 GB, free: 3 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4473, allocations: 0 / 0.5733 GB, free: 3 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.4473, allocations: 0 / 0.5733 GB, free: 3 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.003611/0.4509, allocations: 1.773 MB / 0.5751 GB, free: 1.188 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.451, allocations: 8.031 kB / 0.5751 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.4523, allocations: 271.8 kB / 0.5753 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001214/0.4535, allocations: 0.6243 MB / 0.5759 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.4536, allocations: 134.1 kB / 0.5761 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/0.4539, allocations: 112.3 kB / 0.5762 GB, free: 12 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.4562, allocations: 1.337 MB / 0.5775 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.731e-05/0.4562, allocations: 4 kB / 0.5775 GB, free: 14.62 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.4563, allocations: 43.98 kB / 0.5775 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.4563, allocations: 28 kB / 0.5775 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.459, allocations: 1.675 MB / 0.5792 GB, free: 12.87 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.006773/0.4658, allocations: 3.386 MB / 0.5825 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.4695, allocations: 1.871 MB / 0.5843 GB, free: 7.523 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/0.4704, allocations: 0.5338 MB / 0.5848 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006549/0.4769, allocations: 2.775 MB / 0.5875 GB, free: 4.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.477, allocations: 43.16 kB / 0.5876 GB, free: 4.133 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 3.417e-06/0.477, allocations: 4 kB / 0.5876 GB, free: 4.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=95): time 0.01435/0.4914, allocations: 3.424 MB / 0.5909 GB, free: 0.668 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.4914, allocations: 64.41 kB / 0.591 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007309/0.4921, allocations: 0.5701 MB / 0.5916 GB, free: 12 kB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.4923, allocations: 41.7 kB / 0.5916 GB, free: 15.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.4927, allocations: 0.5584 MB / 0.5921 GB, free: 15.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003282/0.493, allocations: 353 kB / 0.5925 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003413/0.4933, allocations: 234.8 kB / 0.5927 GB, free: 14.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.4936, allocations: 386.8 kB / 0.5931 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.4942, allocations: 358.5 kB / 0.5934 GB, free: 14.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/0.4952, allocations: 0.7555 MB / 0.5941 GB, free: 13.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.497, allocations: 1.196 MB / 0.5953 GB, free: 11.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.497, allocations: 4 kB / 0.5953 GB, free: 11.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00405/0.5011, allocations: 1.475 MB / 0.5968 GB, free: 10.28 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.5011, allocations: 12 kB / 0.5968 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.5011, allocations: 12 kB / 0.5968 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001795/0.5029, allocations: 249.8 kB / 0.597 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.5044, allocations: 323.5 kB / 0.5973 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005572/0.51, allocations: 3.587 MB / 0.6008 GB, free: 5.898 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008628/0.5109, allocations: 43.94 kB / 0.6009 GB, free: 5.855 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.511, allocations: 71.97 kB / 0.6009 GB, free: 5.785 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.0005142/0.5115, allocations: 273.4 kB / 0.6012 GB, free: 5.508 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.5117, allocations: 79.48 kB / 0.6013 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003975/0.5157, allocations: 1.331 MB / 0.6026 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.5157, allocations: 12 kB / 0.6026 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5157, allocations: 0 / 0.6026 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.5158, allocations: 3.984 kB / 0.6026 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.5171, allocations: 0.8 MB / 0.6034 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.5171, allocations: 4 kB / 0.6034 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001203/0.5183, allocations: 219.8 kB / 0.6036 GB, free: 2.992 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.5201, allocations: 225.5 kB / 0.6038 GB, free: 2.766 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.5202, allocations: 31.98 kB / 0.6038 GB, free: 2.734 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005147/0.5253, allocations: 3.496 MB / 0.6072 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.5253, allocations: 4.031 kB / 0.6073 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004387/0.5297, allocations: 1.729 MB / 0.6089 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002533/0.53, allocations: 83.44 kB / 0.609 GB, free: 13.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.5301, allocations: 20 kB / 0.609 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.5306, allocations: 23.94 kB / 0.6091 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.5308, allocations: 80.84 kB / 0.6091 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.5308, allocations: 39.98 kB / 0.6092 GB, free: 13.03 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004788/0.5313, allocations: 371 kB / 0.6095 GB, free: 12.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5313, allocations: 4 kB / 0.6095 GB, free: 12.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002102/0.5334, allocations: 0.6818 MB / 0.6102 GB, free: 11.98 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.535, allocations: 0.8223 MB / 0.611 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002328/0.5373, allocations: 1.191 MB / 0.6122 GB, free: 9.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5373, allocations: 1.375 kB / 0.6122 GB, free: 9.938 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.5384, allocations: 0.6983 MB / 0.6128 GB, free: 9.211 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001046/0.5395, allocations: 207.7 kB / 0.613 GB, free: 9.012 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.543, allocations: 2.03 MB / 0.615 GB, free: 6.941 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.5435, allocations: 451.4 kB / 0.6155 GB, free: 6.469 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004866/0.544, allocations: 208.9 kB / 0.6157 GB, free: 6.27 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.544, allocations: 0 / 0.6157 GB, free: 6.27 MB / 462.1 MB Notification: Performance of Templates: time 0.03764/0.5816, allocations: 27.12 MB / 0.6421 GB, free: 11.19 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: 9.768424479989335] Failed to read output from testmodel.py, exit status != 0: 0.5910340609843843 0.605092242 0.154524551 Calling exit ...