Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.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.001325/0.001325, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001447/0.001447, allocations: 201.9 kB / 22.99 MB, free: 4.957 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.396/1.396, 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.1304/0.1304, 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.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion") translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion") [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.002018/0.002018, allocations: 71.89 kB / 472.4 MB, free: 6.961 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2885, allocations: 59.88 MB / 0.5198 GB, free: 9.719 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.HydrogenCombustion): time 0.07115/0.3596, allocations: 28.46 MB / 0.5476 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1644/0.524, allocations: 134.4 MB / 0.6789 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.5256, allocations: 35.75 kB / 0.6789 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00156/0.5272, allocations: 476.2 kB / 0.6794 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004883/0.5321, allocations: 1.652 MB / 0.681 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008099/0.5402, allocations: 3.015 MB / 0.6839 GB, free: 1.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003764/0.5439, allocations: 2.601 MB / 0.6865 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001605/0.5456, allocations: 1.237 MB / 0.6877 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.5472, allocations: 1.27 MB / 0.6889 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.5492, allocations: 1.413 MB / 0.6903 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004991/0.5497, allocations: 228 kB / 0.6905 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005486/0.5552, allocations: 2.262 MB / 0.6927 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006204/0.5558, allocations: 0.5724 MB / 0.6933 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.557, allocations: 0.9881 MB / 0.6942 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008965/0.566, allocations: 5.122 MB / 0.6992 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.566, allocations: 0 / 0.6992 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.774e-06/0.566, allocations: 0 / 0.6992 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.943e-05/0.566, allocations: 0 / 0.6992 GB, free: 1.539 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 492 * Number of variables: 492 Notification: Performance of Generate backend data structure: time 0.005342/0.5714, allocations: 2.827 MB / 0.702 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.5714, allocations: 8.031 kB / 0.702 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.5758, allocations: 0.8698 MB / 0.7028 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.5776, allocations: 0.9134 MB / 0.7037 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002193/0.5779, allocations: 259.2 kB / 0.704 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.5782, allocations: 200.3 kB / 0.7042 GB, free: 12.37 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.5821, allocations: 2.148 MB / 0.7063 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.5821, allocations: 0 / 0.7063 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001903/0.5823, allocations: 76 kB / 0.7063 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.782e-05/0.5823, allocations: 48 kB / 0.7064 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004027/0.5864, allocations: 2.299 MB / 0.7086 GB, free: 7.758 MB / 0.545 GB 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.01076/0.5971, allocations: 5.826 MB / 0.7143 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004339/0.6015, allocations: 1.561 MB / 0.7159 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.6027, allocations: 0.735 MB / 0.7166 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00779/0.6105, allocations: 3.925 MB / 0.7204 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/0.6106, allocations: 51.8 kB / 0.7205 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.376e-06/0.6106, allocations: 0 / 0.7205 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01813/0.6287, allocations: 6.516 MB / 0.7268 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.96e-05/0.6288, allocations: 95.11 kB / 0.7269 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.63, allocations: 0.9352 MB / 0.7278 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001504/0.6301, allocations: 57.7 kB / 0.7279 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006476/0.6308, allocations: 0.9219 MB / 0.7288 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000545/0.6313, allocations: 0.6197 MB / 0.7294 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006075/0.6319, allocations: 407.5 kB / 0.7298 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.632, allocations: 301.1 kB / 0.7301 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.6332, allocations: 0.6209 MB / 0.7307 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2023/0.8355, allocations: 1.194 MB / 0.7318 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002937/0.8385, allocations: 1.989 MB / 0.7338 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.34e-05/0.8385, allocations: 8.25 kB / 0.7338 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005149/0.8436, allocations: 2.562 MB / 0.7363 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.8437, allocations: 13.22 kB / 0.7363 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.8437, allocations: 19.41 kB / 0.7363 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/0.8459, allocations: 0.6084 MB / 0.7369 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002253/0.8482, allocations: 485.1 kB / 0.7374 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007871/0.856, allocations: 8.803 MB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.8575, allocations: 62.45 kB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.8577, allocations: 162.8 kB / 0.7462 GB, free: 174.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 80 * 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 (208): * Single equations (assignments): 202 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,10), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007742/0.8585, allocations: 430.2 kB / 0.7466 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.8588, allocations: 154.3 kB / 0.7467 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005792/0.8646, allocations: 2.613 MB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.975e-05/0.8646, allocations: 18.47 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.8646, allocations: 7.719 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.8647, allocations: 9.953 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006923/0.8716, allocations: 3.677 MB / 0.7529 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.8716, allocations: 1.125 kB / 0.7529 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002086/0.8737, allocations: 375 kB / 0.7533 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.8758, allocations: 0.5072 MB / 0.7538 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/0.876, allocations: 78.95 kB / 0.7538 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005114/0.8811, allocations: 6.25 MB / 0.7599 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.8812, allocations: 1.312 kB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005773/0.8869, allocations: 3.143 MB / 0.763 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003488/0.8873, allocations: 137.2 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.8875, allocations: 33.77 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008359/0.8883, allocations: 38.06 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003774/0.8887, allocations: 181 kB / 0.7634 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002078/0.8889, allocations: 124.7 kB / 0.7635 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008222/0.8897, allocations: 0.5921 MB / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.8897, allocations: 0 / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002751/0.8925, allocations: 0.8321 MB / 0.7649 GB, free: 164.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (H2_gas.logn,O2_gas.logn,H2O_gas.molarVolume,H2O_gas.logn,H2_gas1.logn,O2_gas1.logn,H2O_gas1.molarVolume,H2O_gas1.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 (154): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,9,100.0%), (1,6,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,10), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001632/0.8941, allocations: 0.8153 MB / 0.7657 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003953/0.8981, allocations: 2.333 MB / 0.768 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.8981, allocations: 0.9062 kB / 0.768 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.9001, allocations: 1.315 MB / 0.7693 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001425/0.9016, allocations: 297.2 kB / 0.7695 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005911/0.9075, allocations: 3.573 MB / 0.773 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008911/0.9084, allocations: 0.8262 MB / 0.7738 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001836/0.9102, allocations: 442.1 kB / 0.7743 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007857/0.911, allocations: 276.7 kB / 0.7745 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.394e-06/0.911, allocations: 0 / 0.7745 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04379/0.9548, allocations: 37.92 MB / 0.8116 GB, free: 125.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.sim & ./Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.629191599000478] Failed to read output from testmodel.py, exit status != 0: 0.9631868519936688 0.973423872 0.404966449 Calling exit ...