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.001365/0.001365, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001479/0.001479, allocations: 221.6 kB / 23 MB, free: 4.914 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1461/0.1461, allocations: 23.9 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.002085/0.002085, allocations: 75.89 kB / 472.4 MB, free: 7.004 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3563, allocations: 59.86 MB / 0.5198 GB, free: 9.781 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.07656/0.4329, allocations: 28.63 MB / 0.5477 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1877/0.6206, allocations: 134.4 MB / 0.6789 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002195/0.6228, allocations: 35.75 kB / 0.679 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002111/0.6249, allocations: 488.2 kB / 0.6794 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007174/0.6321, allocations: 1.648 MB / 0.6811 GB, free: 4.273 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.6422, allocations: 3.011 MB / 0.684 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004441/0.6467, allocations: 2.605 MB / 0.6865 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.6485, allocations: 1.202 MB / 0.6877 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.6502, allocations: 1.274 MB / 0.689 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.6523, allocations: 1.265 MB / 0.6902 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004598/0.6528, allocations: 228 kB / 0.6904 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006487/0.6593, allocations: 2.219 MB / 0.6926 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008877/0.6602, allocations: 0.5724 MB / 0.6931 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001519/0.6617, allocations: 0.9803 MB / 0.6941 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.6732, allocations: 5.13 MB / 0.6991 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6732, allocations: 0 / 0.6991 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.674e-06/0.6732, allocations: 0 / 0.6991 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.684e-05/0.6733, allocations: 0 / 0.6991 GB, free: 1.684 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.006082/0.6794, allocations: 2.827 MB / 0.7019 GB, free: 14.81 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.6794, allocations: 8.031 kB / 0.7019 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004373/0.6838, allocations: 0.8698 MB / 0.7027 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.6859, allocations: 0.9056 MB / 0.7036 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002442/0.6862, allocations: 259.2 kB / 0.7038 GB, free: 12.72 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003547/0.6865, allocations: 204.3 kB / 0.704 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00385/0.6904, allocations: 2.148 MB / 0.7061 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.088e-05/0.6904, allocations: 0 / 0.7061 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001791/0.6906, allocations: 80 kB / 0.7062 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-05/0.6906, allocations: 48 kB / 0.7063 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004126/0.6948, allocations: 2.284 MB / 0.7085 GB, free: 7.918 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.01162/0.7064, allocations: 5.834 MB / 0.7142 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/0.7107, allocations: 1.569 MB / 0.7157 GB, free: 368 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.7121, allocations: 0.7352 MB / 0.7164 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008794/0.7209, allocations: 3.916 MB / 0.7203 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.7209, allocations: 43.88 kB / 0.7203 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 4.859e-06/0.7209, allocations: 0 / 0.7203 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01962/0.7406, allocations: 6.53 MB / 0.7267 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.7406, allocations: 103 kB / 0.7268 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/0.7422, allocations: 0.9351 MB / 0.7277 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/0.7423, allocations: 61.69 kB / 0.7278 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008258/0.7431, allocations: 0.9103 MB / 0.7286 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007069/0.7438, allocations: 0.6197 MB / 0.7292 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000733/0.7446, allocations: 415.5 kB / 0.7296 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.7447, allocations: 301.1 kB / 0.7299 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.7461, allocations: 0.6248 MB / 0.7305 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2609/1.007, allocations: 1.189 MB / 0.7317 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003369/1.01, allocations: 1.983 MB / 0.7336 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.545e-05/1.01, allocations: 9.75 kB / 0.7337 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005651/1.016, allocations: 2.566 MB / 0.7362 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/1.016, allocations: 12.44 kB / 0.7362 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/1.016, allocations: 18.16 kB / 0.7362 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002163/1.018, allocations: 0.6034 MB / 0.7368 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/1.021, allocations: 489.6 kB / 0.7372 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007799/1.028, allocations: 8.798 MB / 0.7458 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/1.03, allocations: 62.98 kB / 0.7459 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/1.03, allocations: 163.2 kB / 0.7461 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.001036/1.031, allocations: 424.8 kB / 0.7465 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004012/1.032, allocations: 154.1 kB / 0.7466 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005771/1.037, allocations: 2.616 MB / 0.7492 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/1.037, allocations: 18.41 kB / 0.7492 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.888e-05/1.038, allocations: 8.469 kB / 0.7492 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/1.038, allocations: 10.02 kB / 0.7492 GB, free: 173.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007151/1.045, allocations: 3.668 MB / 0.7528 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.045, allocations: 1.531 kB / 0.7528 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001965/1.047, allocations: 381.6 kB / 0.7531 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001932/1.049, allocations: 0.5069 MB / 0.7536 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/1.049, allocations: 75.12 kB / 0.7537 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005105/1.054, allocations: 6.254 MB / 0.7598 GB, free: 166.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.054, allocations: 5.938 kB / 0.7598 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006305/1.06, allocations: 3.143 MB / 0.7629 GB, free: 165.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/1.061, allocations: 134.4 kB / 0.763 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003219/1.061, allocations: 39.11 kB / 0.7631 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/1.062, allocations: 41.03 kB / 0.7631 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/1.062, allocations: 172.4 kB / 0.7633 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/1.063, allocations: 126.2 kB / 0.7634 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000969/1.063, allocations: 0.5961 MB / 0.764 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.063, allocations: 0 / 0.764 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002954/1.066, allocations: 0.8294 MB / 0.7648 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.001907/1.068, allocations: 0.8135 MB / 0.7656 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004444/1.073, allocations: 2.331 MB / 0.7678 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.073, allocations: 3.969 kB / 0.7678 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/1.075, allocations: 1.319 MB / 0.7691 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.001708/1.077, allocations: 288.9 kB / 0.7694 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/1.083, allocations: 3.644 MB / 0.773 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009564/1.084, allocations: 0.83 MB / 0.7738 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/1.085, allocations: 334.6 kB / 0.7741 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.02e-07/1.085, allocations: 0 / 0.7741 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05744/1.142, allocations: 70.05 MB / 0.8425 GB, free: 93.38 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.129198043141514] Failed to read output from testmodel.py, exit status != 0: 1.1512698070146143 1.160985025 0.485249619 Calling exit ...