Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001389/0.001389, 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.001659/0.001659, allocations: 212.3 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1463/0.1463, allocations: 23.88 MB / 337.1 MB, free: 10.96 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.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.HydrogenCombustion") translateModel(Chemical.Obsolete.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002041/0.002041, allocations: 63.89 kB / 472.4 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3837, allocations: 59.86 MB / 0.5198 GB, free: 9.828 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.HydrogenCombustion): time 0.0746/0.4583, allocations: 28.47 MB / 0.5476 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1949/0.6532, allocations: 134.4 MB / 0.6788 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.6557, allocations: 31.75 kB / 0.6788 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002076/0.6577, allocations: 484.2 kB / 0.6793 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006842/0.6646, allocations: 1.652 MB / 0.6809 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01016/0.6747, allocations: 3.007 MB / 0.6838 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004784/0.6795, allocations: 2.601 MB / 0.6864 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002116/0.6816, allocations: 1.237 MB / 0.6876 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002079/0.6837, allocations: 1.278 MB / 0.6888 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002309/0.686, allocations: 1.417 MB / 0.6902 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.6865, allocations: 228 kB / 0.6904 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00668/0.6932, allocations: 2.266 MB / 0.6926 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008025/0.694, allocations: 0.5647 MB / 0.6932 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.6955, allocations: 0.9841 MB / 0.6942 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01246/0.7079, allocations: 5.122 MB / 0.6992 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.708, allocations: 0 / 0.6992 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.096e-06/0.708, allocations: 0 / 0.6992 GB, free: 1.539 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.474e-05/0.708, 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.006421/0.7145, allocations: 2.827 MB / 0.7019 GB, free: 14.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.7145, allocations: 12.03 kB / 0.7019 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.7191, allocations: 0.862 MB / 0.7028 GB, free: 13.79 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.7211, allocations: 0.9172 MB / 0.7037 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/0.7213, allocations: 251.2 kB / 0.7039 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.7217, allocations: 200.3 kB / 0.7041 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003997/0.7257, allocations: 2.148 MB / 0.7062 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.7257, allocations: 7.938 kB / 0.7062 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/0.7259, allocations: 80 kB / 0.7063 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/0.7259, allocations: 48 kB / 0.7063 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004094/0.73, allocations: 2.288 MB / 0.7086 GB, free: 7.766 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.01129/0.7413, allocations: 5.831 MB / 0.7143 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004464/0.7458, allocations: 1.57 MB / 0.7158 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.7472, allocations: 0.7322 MB / 0.7165 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008212/0.7554, allocations: 3.92 MB / 0.7203 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.7555, allocations: 43.88 kB / 0.7204 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.687e-06/0.7555, allocations: 0 / 0.7204 GB, free: 11.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01838/0.7739, allocations: 6.52 MB / 0.7267 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/0.7739, allocations: 99.11 kB / 0.7268 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.7752, allocations: 0.9351 MB / 0.7278 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.7754, allocations: 53.7 kB / 0.7278 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007485/0.7761, allocations: 0.9219 MB / 0.7287 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006219/0.7768, allocations: 0.6158 MB / 0.7293 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006893/0.7774, allocations: 411.5 kB / 0.7297 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.7776, allocations: 301.1 kB / 0.73 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/0.779, allocations: 0.6326 MB / 0.7306 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2683/1.047, allocations: 1.185 MB / 0.7318 GB, free: 184.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003273/1.051, allocations: 1.989 MB / 0.7337 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.051, allocations: 5.031 kB / 0.7337 GB, free: 183.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005563/1.056, allocations: 2.562 MB / 0.7362 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/1.056, allocations: 19.25 kB / 0.7362 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/1.056, allocations: 19.98 kB / 0.7362 GB, free: 182.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/1.059, allocations: 0.603 MB / 0.7368 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002378/1.061, allocations: 484.9 kB / 0.7373 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008089/1.069, allocations: 8.803 MB / 0.7459 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/1.071, allocations: 62.72 kB / 0.746 GB, free: 175 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.071, allocations: 163.1 kB / 0.7461 GB, free: 175 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.0007646/1.072, allocations: 429.7 kB / 0.7465 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/1.072, allocations: 153.1 kB / 0.7467 GB, free: 174.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005751/1.078, allocations: 2.614 MB / 0.7492 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.078, allocations: 17.88 kB / 0.7492 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/1.078, allocations: 9.438 kB / 0.7492 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/1.078, allocations: 12.05 kB / 0.7493 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00721/1.085, allocations: 3.671 MB / 0.7528 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.085, allocations: 1.5 kB / 0.7528 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/1.087, allocations: 380.8 kB / 0.7532 GB, free: 172.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/1.089, allocations: 0.5063 MB / 0.7537 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/1.09, allocations: 73.89 kB / 0.7538 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005269/1.095, allocations: 6.253 MB / 0.7599 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.095, allocations: 5 kB / 0.7599 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006274/1.101, allocations: 3.141 MB / 0.7629 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/1.102, allocations: 136.3 kB / 0.7631 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/1.102, allocations: 34.16 kB / 0.7631 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008432/1.103, allocations: 41.86 kB / 0.7632 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/1.103, allocations: 184.3 kB / 0.7633 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/1.103, allocations: 122.2 kB / 0.7634 GB, free: 165 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007791/1.104, allocations: 0.5914 MB / 0.764 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.104, allocations: 1.219 kB / 0.764 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003115/1.107, allocations: 0.8336 MB / 0.7648 GB, free: 164.6 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.00183/1.109, allocations: 0.8096 MB / 0.7656 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004254/1.113, allocations: 2.327 MB / 0.7679 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.113, allocations: 2.625 kB / 0.7679 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002212/1.115, allocations: 1.319 MB / 0.7692 GB, free: 162.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/1.117, allocations: 291.2 kB / 0.7695 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/1.123, allocations: 3.584 MB / 0.773 GB, free: 160.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006805/1.123, allocations: 0.8278 MB / 0.7738 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001514/1.125, allocations: 438.9 kB / 0.7742 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006681/1.125, allocations: 273 kB / 0.7745 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/1.125, allocations: 2.656 kB / 0.7745 GB, free: 160.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04396/1.169, allocations: 37.91 MB / 0.8115 GB, free: 125.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.sim & ./Chemical_Chemical.Obsolete.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.290564245005953] Failed to read output from testmodel.py, exit status != 0: 1.1774592639994808 1.186437304 0.476069604 Calling exit ...