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.001722/0.001722, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002037/0.002037, allocations: 219 kB / 23.01 MB, free: 4.566 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.1484/0.1484, allocations: 23.88 MB / 337.1 MB, free: 11.21 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.002061/0.002061, allocations: 63.91 kB / 472.5 MB, free: 7.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3986, allocations: 59.87 MB / 0.5199 GB, free: 9.812 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.04662/0.4452, allocations: 29.67 MB / 0.5489 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.2085/0.6537, allocations: 156.6 MB / 0.7018 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003446/0.6571, allocations: 31.75 kB / 0.7018 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002724/0.6598, allocations: 0.5156 MB / 0.7023 GB, free: 14.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007572/0.6674, allocations: 1.676 MB / 0.7039 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009747/0.6772, allocations: 3.003 MB / 0.7069 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00511/0.6823, allocations: 2.609 MB / 0.7094 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.6843, allocations: 1.225 MB / 0.7106 GB, free: 6.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.6862, allocations: 1.274 MB / 0.7118 GB, free: 4.918 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002358/0.6885, allocations: 1.417 MB / 0.7132 GB, free: 3.496 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000433/0.689, allocations: 224 kB / 0.7134 GB, free: 3.277 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008457/0.6974, allocations: 2.391 MB / 0.7158 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009345/0.6984, allocations: 0.5686 MB / 0.7163 GB, free: 320 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001794/0.7001, allocations: 1.186 MB / 0.7175 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01378/0.7139, allocations: 5.122 MB / 0.7225 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.7139, allocations: 4 kB / 0.7225 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7139, allocations: 0 / 0.7225 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.796e-05/0.714, allocations: 0 / 0.7225 GB, free: 9.973 MB / 0.5606 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.006084/0.7201, allocations: 2.83 MB / 0.7253 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7202, allocations: 8.031 kB / 0.7253 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.7245, allocations: 0.8737 MB / 0.7261 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.7265, allocations: 0.9134 MB / 0.727 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/0.7268, allocations: 251.2 kB / 0.7273 GB, free: 5 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003572/0.7271, allocations: 200.3 kB / 0.7274 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003951/0.7311, allocations: 2.152 MB / 0.7295 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.453e-05/0.7311, allocations: 7.938 kB / 0.7296 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/0.7313, allocations: 80 kB / 0.7296 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.424e-05/0.7313, allocations: 51.94 kB / 0.7297 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00423/0.7356, allocations: 2.307 MB / 0.7319 GB, free: 168 kB / 0.5606 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.3141/1.05, allocations: 7.535 MB / 0.7393 GB, free: 182.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/1.054, allocations: 1.581 MB / 0.7408 GB, free: 182.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/1.055, allocations: 0.7372 MB / 0.7416 GB, free: 181.9 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008593/1.064, allocations: 4.128 MB / 0.7456 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/1.064, allocations: 48.44 kB / 0.7456 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 2.925e-06/1.064, allocations: 0 / 0.7456 GB, free: 180.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01776/1.081, allocations: 6.525 MB / 0.752 GB, free: 177.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.082, allocations: 103.6 kB / 0.7521 GB, free: 177.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/1.083, allocations: 0.9543 MB / 0.753 GB, free: 177 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/1.083, allocations: 51.95 kB / 0.7531 GB, free: 176.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004579/1.083, allocations: 0.9138 MB / 0.754 GB, free: 176.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004362/1.084, allocations: 0.6185 MB / 0.7546 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/1.084, allocations: 412.7 kB / 0.755 GB, free: 175.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/1.084, allocations: 302.2 kB / 0.7553 GB, free: 175.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/1.086, allocations: 0.6247 MB / 0.7559 GB, free: 175.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/1.087, allocations: 1.192 MB / 0.757 GB, free: 174.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/1.09, allocations: 1.984 MB / 0.759 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-05/1.09, allocations: 5.5 kB / 0.759 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005283/1.095, allocations: 2.576 MB / 0.7615 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.055e-05/1.095, allocations: 12.97 kB / 0.7615 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/1.095, allocations: 17.5 kB / 0.7615 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/1.097, allocations: 0.5986 MB / 0.7621 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/1.1, allocations: 489.5 kB / 0.7626 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007941/1.107, allocations: 8.957 MB / 0.7713 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/1.109, allocations: 67.55 kB / 0.7714 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002739/1.11, allocations: 160.4 kB / 0.7715 GB, free: 163.2 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.001026/1.111, allocations: 428.1 kB / 0.7719 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004244/1.111, allocations: 160.8 kB / 0.7721 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/1.116, allocations: 2.615 MB / 0.7747 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.116, allocations: 18.5 kB / 0.7747 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.116, allocations: 3.969 kB / 0.7747 GB, free: 161.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.809e-05/1.116, allocations: 18.61 kB / 0.7747 GB, free: 161.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006665/1.123, allocations: 4.102 MB / 0.7787 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/1.123, allocations: 2.094 kB / 0.7787 GB, free: 159 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.125, allocations: 376 kB / 0.7791 GB, free: 158.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001774/1.127, allocations: 0.4948 MB / 0.7795 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.127, allocations: 79.8 kB / 0.7796 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00477/1.131, allocations: 6.36 MB / 0.7858 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.131, allocations: 6.688 kB / 0.7858 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004972/1.136, allocations: 3.147 MB / 0.7889 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/1.137, allocations: 135 kB / 0.789 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.137, allocations: 40 kB / 0.7891 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007882/1.138, allocations: 35.98 kB / 0.7891 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002999/1.138, allocations: 180.2 kB / 0.7893 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001599/1.138, allocations: 128 kB / 0.7894 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006818/1.139, allocations: 0.6218 MB / 0.79 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.139, allocations: 0 / 0.79 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00252/1.142, allocations: 0.8368 MB / 0.7908 GB, free: 147.3 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.001449/1.143, allocations: 0.808 MB / 0.7916 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003574/1.147, allocations: 2.322 MB / 0.7939 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.147, allocations: 0 / 0.7939 GB, free: 144.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00189/1.148, allocations: 1.332 MB / 0.7952 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/1.15, allocations: 315.1 kB / 0.7955 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/1.156, allocations: 3.642 MB / 0.799 GB, free: 139 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008597/1.157, allocations: 1.41 MB / 0.8004 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001054/1.158, allocations: 343.2 kB / 0.8008 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of SimCode: time 2.174e-06/1.158, allocations: 0 / 0.8008 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.05813/1.216, allocations: 69.39 MB / 0.8685 GB, free: 68.55 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: 12.53861859900644] Failed to read output from testmodel.py, exit status != 0: 1.2256117869983427 1.236700289 0.519826169 Calling exit ...