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.001428/0.001428, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001739/0.001739, allocations: 217.2 kB / 22.24 MB, free: 5.254 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.523/1.523, allocations: 230.6 MB / 256 MB, free: 7.801 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.1648/0.1648, allocations: 23.92 MB / 336.3 MB, free: 10.93 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.00215/0.00215, allocations: 71.91 kB / 471.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3721, allocations: 59.87 MB / 0.5191 GB, free: 9.816 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.07662/0.4487, allocations: 28.52 MB / 0.547 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1884/0.6371, allocations: 134.4 MB / 0.6782 GB, free: 6.438 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001594/0.6387, allocations: 35.75 kB / 0.6782 GB, free: 6.402 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.6402, allocations: 488.2 kB / 0.6787 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.005225/0.6454, allocations: 1.648 MB / 0.6803 GB, free: 4.262 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.008663/0.654, allocations: 3.015 MB / 0.6832 GB, free: 1.23 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.004572/0.6586, allocations: 2.601 MB / 0.6858 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.6607, allocations: 1.229 MB / 0.687 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002025/0.6627, allocations: 1.274 MB / 0.6882 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002253/0.665, allocations: 1.421 MB / 0.6896 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000381/0.6653, allocations: 224 kB / 0.6898 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00677/0.6721, allocations: 2.266 MB / 0.692 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008921/0.673, allocations: 0.5647 MB / 0.6926 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.6747, allocations: 0.9881 MB / 0.6935 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.6872, allocations: 5.126 MB / 0.6985 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6872, allocations: 0 / 0.6985 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6872, allocations: 0 / 0.6985 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.493e-05/0.6873, allocations: 0 / 0.6985 GB, free: 1.449 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.006244/0.6935, allocations: 2.823 MB / 0.7013 GB, free: 14.58 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.6936, allocations: 8.031 kB / 0.7013 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00483/0.6984, allocations: 0.8698 MB / 0.7022 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/0.7006, allocations: 0.9173 MB / 0.7031 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000294/0.7009, allocations: 255.2 kB / 0.7033 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/0.7013, allocations: 196.3 kB / 0.7035 GB, free: 12.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004099/0.7054, allocations: 2.16 MB / 0.7056 GB, free: 10.09 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/0.7054, allocations: 4 kB / 0.7056 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/0.7056, allocations: 76 kB / 0.7057 GB, free: 10.01 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.989e-05/0.7057, allocations: 44 kB / 0.7057 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004245/0.7099, allocations: 2.288 MB / 0.708 GB, free: 7.676 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.01195/0.7219, allocations: 5.838 MB / 0.7137 GB, free: 1.695 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004826/0.7267, allocations: 1.559 MB / 0.7152 GB, free: 132 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.7281, allocations: 0.7351 MB / 0.7159 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008798/0.7369, allocations: 3.929 MB / 0.7197 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.398e-05/0.7369, allocations: 43.88 kB / 0.7198 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.106e-06/0.737, allocations: 0 / 0.7198 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01992/0.7569, allocations: 6.516 MB / 0.7261 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.117e-05/0.757, allocations: 103 kB / 0.7262 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001358/0.7583, allocations: 0.9351 MB / 0.7271 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/0.7585, allocations: 57.7 kB / 0.7272 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007589/0.7592, allocations: 0.9181 MB / 0.7281 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006431/0.7599, allocations: 0.6158 MB / 0.7287 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006662/0.7605, allocations: 407.5 kB / 0.7291 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7607, allocations: 301.1 kB / 0.7294 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.762, allocations: 0.6287 MB / 0.73 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2395/1.002, allocations: 1.191 MB / 0.7312 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00315/1.005, allocations: 1.982 MB / 0.7331 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/1.005, allocations: 4.812 kB / 0.7331 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005204/1.01, allocations: 2.567 MB / 0.7356 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/1.01, allocations: 15.91 kB / 0.7356 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/1.01, allocations: 17.81 kB / 0.7356 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00229/1.012, allocations: 0.5989 MB / 0.7362 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.015, allocations: 487.4 kB / 0.7367 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00798/1.023, allocations: 8.805 MB / 0.7453 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/1.024, allocations: 63.25 kB / 0.7453 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/1.024, allocations: 160.3 kB / 0.7455 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.0008587/1.025, allocations: 431.3 kB / 0.7459 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003155/1.026, allocations: 159.5 kB / 0.7461 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005621/1.031, allocations: 2.615 MB / 0.7486 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/1.031, allocations: 19.25 kB / 0.7486 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/1.031, allocations: 8.062 kB / 0.7486 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/1.031, allocations: 9.328 kB / 0.7486 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006796/1.038, allocations: 3.675 MB / 0.7522 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/1.038, allocations: 5.25 kB / 0.7522 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002145/1.04, allocations: 380.1 kB / 0.7526 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002122/1.042, allocations: 0.4883 MB / 0.7531 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001807/1.042, allocations: 80.06 kB / 0.7532 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005172/1.048, allocations: 6.254 MB / 0.7593 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/1.048, allocations: 1.969 kB / 0.7593 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006019/1.054, allocations: 3.147 MB / 0.7623 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/1.054, allocations: 134.9 kB / 0.7625 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/1.054, allocations: 34.84 kB / 0.7625 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/1.055, allocations: 48.06 kB / 0.7625 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004056/1.056, allocations: 176.3 kB / 0.7627 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002213/1.056, allocations: 125.5 kB / 0.7628 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008189/1.057, allocations: 0.5893 MB / 0.7634 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.057, allocations: 0 / 0.7634 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003032/1.06, allocations: 0.8322 MB / 0.7642 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.002083/1.062, allocations: 0.8087 MB / 0.765 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004792/1.066, allocations: 2.338 MB / 0.7673 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/1.066, allocations: 0 / 0.7673 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00201/1.069, allocations: 1.315 MB / 0.7686 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.001607/1.07, allocations: 294.8 kB / 0.7689 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005238/1.075, allocations: 3.576 MB / 0.7724 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/1.076, allocations: 0.8282 MB / 0.7732 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001495/1.078, allocations: 431.9 kB / 0.7736 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006675/1.078, allocations: 273.6 kB / 0.7738 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/1.078, allocations: 0 / 0.7738 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04395/1.122, allocations: 37.93 MB / 0.8109 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 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.538928146939725] Failed to read output from testmodel.py, exit status != 0: 1.1306330021470785 1.139852507 0.450187741 Calling exit ...