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.001789/0.001789, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001776/0.001776, allocations: 217.3 kB / 22.25 MB, free: 5.105 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.569/1.569, allocations: 230.6 MB / 256 MB, free: 7.828 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.1554/0.1554, allocations: 23.88 MB / 336.3 MB, free: 11.02 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.002166/0.002166, allocations: 60.19 kB / 471.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3825, allocations: 59.86 MB / 0.519 GB, free: 9.734 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.07724/0.4597, allocations: 28.56 MB / 0.5469 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1888/0.6485, allocations: 134.4 MB / 0.6781 GB, free: 6.539 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002231/0.6508, allocations: 35.75 kB / 0.6782 GB, free: 6.504 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.002308/0.6531, allocations: 484.1 kB / 0.6786 GB, free: 6.027 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.006315/0.6594, allocations: 1.648 MB / 0.6802 GB, free: 4.367 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.01078/0.6702, allocations: 3.011 MB / 0.6832 GB, free: 1.34 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.005271/0.6754, allocations: 2.609 MB / 0.6857 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.6781, allocations: 1.225 MB / 0.6869 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002735/0.6809, allocations: 1.278 MB / 0.6882 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003361/0.6842, allocations: 1.417 MB / 0.6896 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001302/0.6855, allocations: 224 kB / 0.6898 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009913/0.6954, allocations: 2.266 MB / 0.692 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001191/0.6966, allocations: 0.5724 MB / 0.6925 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002277/0.6989, allocations: 0.9803 MB / 0.6935 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01179/0.7107, allocations: 5.126 MB / 0.6985 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.7107, allocations: 7.938 kB / 0.6985 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7107, allocations: 0 / 0.6985 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001335/0.7108, allocations: 0 / 0.6985 GB, free: 1.547 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.007502/0.7183, allocations: 2.821 MB / 0.7013 GB, free: 14.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.7184, allocations: 8.031 kB / 0.7013 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005128/0.7235, allocations: 0.8737 MB / 0.7021 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.7265, allocations: 0.9134 MB / 0.703 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.7268, allocations: 255.2 kB / 0.7033 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006568/0.7275, allocations: 196.3 kB / 0.7035 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00517/0.7326, allocations: 2.152 MB / 0.7056 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/0.7327, allocations: 7.984 kB / 0.7056 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/0.7329, allocations: 76 kB / 0.7056 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.733, allocations: 44 kB / 0.7057 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004768/0.7377, allocations: 2.288 MB / 0.7079 GB, free: 7.781 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.01309/0.7508, allocations: 5.846 MB / 0.7136 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004457/0.7553, allocations: 1.55 MB / 0.7151 GB, free: 236 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.7567, allocations: 0.7352 MB / 0.7159 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00883/0.7655, allocations: 3.916 MB / 0.7197 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.16e-05/0.7656, allocations: 47.88 kB / 0.7197 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.256e-06/0.7656, allocations: 0 / 0.7197 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01935/0.7849, allocations: 6.524 MB / 0.7261 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.324e-05/0.785, allocations: 99.11 kB / 0.7262 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.7864, allocations: 0.9429 MB / 0.7271 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001509/0.7866, allocations: 53.7 kB / 0.7272 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007692/0.7873, allocations: 0.9142 MB / 0.7281 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000654/0.788, allocations: 0.6197 MB / 0.7287 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006698/0.7887, allocations: 411.5 kB / 0.7291 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7888, allocations: 301.1 kB / 0.7293 GB, free: 1.473 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.7901, allocations: 0.6248 MB / 0.7299 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2456/1.036, allocations: 1.186 MB / 0.7311 GB, free: 184.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002982/1.039, allocations: 1.988 MB / 0.733 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.395e-05/1.039, allocations: 5.531 kB / 0.7331 GB, free: 183.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.004929/1.044, allocations: 2.567 MB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.981e-05/1.044, allocations: 13.09 kB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/1.044, allocations: 21.12 kB / 0.7356 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002076/1.046, allocations: 0.5974 MB / 0.7362 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.048, allocations: 484.8 kB / 0.7366 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0074/1.055, allocations: 8.807 MB / 0.7452 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/1.057, allocations: 65.5 kB / 0.7453 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000251/1.057, allocations: 163.6 kB / 0.7455 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.0007403/1.058, allocations: 429.7 kB / 0.7459 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002829/1.058, allocations: 156.7 kB / 0.746 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00528/1.063, allocations: 2.61 MB / 0.7486 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/1.063, allocations: 18.75 kB / 0.7486 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.063, allocations: 10.75 kB / 0.7486 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/1.063, allocations: 10.27 kB / 0.7486 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006568/1.07, allocations: 3.675 MB / 0.7522 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/1.07, allocations: 2.719 kB / 0.7522 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002018/1.072, allocations: 381.6 kB / 0.7526 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/1.074, allocations: 0.4957 MB / 0.753 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/1.074, allocations: 74.42 kB / 0.7531 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005247/1.079, allocations: 6.253 MB / 0.7592 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.079, allocations: 3.75 kB / 0.7592 GB, free: 166.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006132/1.085, allocations: 3.144 MB / 0.7623 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/1.086, allocations: 137.3 kB / 0.7624 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002356/1.086, allocations: 37.91 kB / 0.7625 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008361/1.087, allocations: 41.42 kB / 0.7625 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004662/1.087, allocations: 176.8 kB / 0.7627 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/1.088, allocations: 126.4 kB / 0.7628 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009623/1.089, allocations: 0.5923 MB / 0.7634 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.089, allocations: 2.656 kB / 0.7634 GB, free: 164.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003362/1.092, allocations: 0.8294 MB / 0.7642 GB, free: 164.4 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.001803/1.094, allocations: 0.8089 MB / 0.765 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004296/1.098, allocations: 2.337 MB / 0.7673 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.098, allocations: 0 / 0.7673 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/1.1, allocations: 1.317 MB / 0.7685 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.001804/1.102, allocations: 297.3 kB / 0.7688 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/1.108, allocations: 3.574 MB / 0.7723 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007997/1.109, allocations: 0.83 MB / 0.7731 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001606/1.11, allocations: 432.5 kB / 0.7735 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006737/1.111, allocations: 274.5 kB / 0.7738 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/1.111, allocations: 2.656 kB / 0.7738 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.04665/1.158, allocations: 37.91 MB / 0.8108 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 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.547369378153235] Failed to read output from testmodel.py, exit status != 0: 1.1671508131548762 1.176304818 0.463125207 Calling exit ...