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.001367/0.001367, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001734/0.001734, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.469/1.469, 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.1523/0.1523, allocations: 23.92 MB / 337.1 MB, free: 11.04 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.00202/0.00202, allocations: 59.91 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3725, allocations: 59.88 MB / 0.5198 GB, free: 9.711 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.07716/0.4496, allocations: 28.47 MB / 0.5476 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1811/0.6307, allocations: 134.4 MB / 0.6789 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.6329, allocations: 31.75 kB / 0.6789 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/0.6348, allocations: 488.2 kB / 0.6794 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006121/0.641, allocations: 1.652 MB / 0.681 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009397/0.6504, allocations: 3.003 MB / 0.6839 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004663/0.655, allocations: 2.617 MB / 0.6865 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001985/0.657, allocations: 1.225 MB / 0.6877 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001689/0.6587, allocations: 1.27 MB / 0.6889 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.6606, allocations: 1.417 MB / 0.6903 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003967/0.661, allocations: 228 kB / 0.6905 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005805/0.6668, allocations: 2.27 MB / 0.6927 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00059/0.6674, allocations: 0.5685 MB / 0.6933 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.6685, allocations: 0.9803 MB / 0.6942 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008813/0.6774, allocations: 5.122 MB / 0.6992 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.6774, allocations: 4 kB / 0.6992 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6774, allocations: 4 kB / 0.6992 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.907e-05/0.6774, allocations: 0 / 0.6992 GB, free: 1.543 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.005159/0.6825, allocations: 2.819 MB / 0.702 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6826, allocations: 16.03 kB / 0.702 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.687, allocations: 0.8659 MB / 0.7029 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.6888, allocations: 0.9173 MB / 0.7037 GB, free: 12.85 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002184/0.689, allocations: 255.2 kB / 0.704 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.6893, allocations: 196.3 kB / 0.7042 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003793/0.6931, allocations: 2.156 MB / 0.7063 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.6931, allocations: 0 / 0.7063 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.6933, allocations: 76 kB / 0.7064 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-05/0.6934, allocations: 52 kB / 0.7064 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004154/0.6975, allocations: 2.284 MB / 0.7086 GB, free: 7.773 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.0112/0.7087, allocations: 5.842 MB / 0.7143 GB, free: 1.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004358/0.7131, allocations: 1.549 MB / 0.7159 GB, free: 232 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.7144, allocations: 0.7361 MB / 0.7166 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008276/0.7227, allocations: 3.928 MB / 0.7204 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.7227, allocations: 51.88 kB / 0.7205 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.717e-06/0.7227, allocations: 0 / 0.7205 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01825/0.741, allocations: 6.514 MB / 0.7268 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.7411, allocations: 99.11 kB / 0.7269 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.7423, allocations: 0.939 MB / 0.7278 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.7424, allocations: 53.7 kB / 0.7279 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006766/0.7431, allocations: 0.9219 MB / 0.7288 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000544/0.7436, allocations: 0.6158 MB / 0.7294 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006232/0.7442, allocations: 411.5 kB / 0.7298 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.7444, allocations: 305.1 kB / 0.7301 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001213/0.7456, allocations: 0.617 MB / 0.7307 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.218/0.9636, allocations: 1.192 MB / 0.7318 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002995/0.9666, allocations: 1.993 MB / 0.7338 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.275e-05/0.9666, allocations: 5.062 kB / 0.7338 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005085/0.9716, allocations: 2.566 MB / 0.7363 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.951e-05/0.9717, allocations: 12.66 kB / 0.7363 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.9717, allocations: 18.28 kB / 0.7363 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00228/0.974, allocations: 0.608 MB / 0.7369 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.9763, allocations: 480.1 kB / 0.7374 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00779/0.9841, allocations: 8.8 MB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.9855, allocations: 63.66 kB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/0.9857, allocations: 163.4 kB / 0.7462 GB, free: 174.9 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.0007119/0.9864, allocations: 428.9 kB / 0.7466 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002805/0.9867, allocations: 159.6 kB / 0.7467 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005505/0.9922, allocations: 2.612 MB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.9922, allocations: 23.19 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.9922, allocations: 9.656 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.9923, allocations: 7.734 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006719/0.999, allocations: 3.67 MB / 0.7529 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.754e-06/0.999, allocations: 1.438 kB / 0.7529 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/1.001, allocations: 378.5 kB / 0.7533 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/1.003, allocations: 0.5069 MB / 0.7538 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000157/1.003, allocations: 78.48 kB / 0.7538 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/1.008, allocations: 6.248 MB / 0.7599 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.008, allocations: 1.188 kB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005411/1.014, allocations: 3.148 MB / 0.763 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/1.014, allocations: 134.7 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002046/1.014, allocations: 34.61 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/1.015, allocations: 39.2 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003441/1.015, allocations: 180.7 kB / 0.7634 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.015, allocations: 124.2 kB / 0.7635 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007191/1.016, allocations: 0.593 MB / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/1.016, allocations: 0 / 0.7641 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002445/1.019, allocations: 0.8354 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.001453/1.02, allocations: 0.8072 MB / 0.7657 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003762/1.024, allocations: 2.332 MB / 0.768 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.024, allocations: 1.188 kB / 0.768 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001898/1.026, allocations: 1.321 MB / 0.7693 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/1.027, allocations: 292.5 kB / 0.7695 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/1.032, allocations: 3.578 MB / 0.773 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/1.033, allocations: 0.8247 MB / 0.7738 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001437/1.034, allocations: 432.6 kB / 0.7743 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006538/1.035, allocations: 282.1 kB / 0.7745 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/1.035, allocations: 3.938 kB / 0.7745 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0428/1.077, allocations: 37.91 MB / 0.8116 GB, free: 125.5 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 cvode -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.986002414996619] Failed to read output from testmodel.py, exit status != 0: 1.085719632988912 1.094055115 0.41443259000000005 Calling exit ...