Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Chemical_Chemical.Examples.HydrogenCombustion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 94.66 kB / 15.06 MB, free: 1.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 168.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 223.3 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.2296/0.2296, allocations: 15.27 MB / 306.4 MB, free: 15.76 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003285, allocations: 8 kB / 371.5 MB, free: 4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3056, allocations: 54.62 MB / 426.1 MB, free: 39.98 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:3019:6-3019:65: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 1.4.1-master/package.mo:3019:6-3019:65: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.Examples.HydrogenCombustion): time 0.007242/0.3129, allocations: 8.83 MB / 434.9 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1528/0.4657, allocations: 138.9 MB / 0.5604 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.4676, allocations: 39.75 kB / 0.5605 GB, free: 2.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001707/0.4693, allocations: 441.1 kB / 0.5609 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005122/0.4744, allocations: 1.496 MB / 0.5623 GB, free: 88 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008012/0.4825, allocations: 2.328 MB / 0.5646 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004267/0.4868, allocations: 2.392 MB / 0.567 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.489, allocations: 1.159 MB / 0.5681 GB, free: 10.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002088/0.4911, allocations: 1.067 MB / 0.5691 GB, free: 9.094 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002466/0.4936, allocations: 1.343 MB / 0.5704 GB, free: 7.746 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006817/0.4943, allocations: 120 kB / 0.5706 GB, free: 7.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0077/0.502, allocations: 2.246 MB / 0.5727 GB, free: 5.379 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001001/0.5031, allocations: 482.4 kB / 0.5732 GB, free: 4.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000918/0.504, allocations: 408.6 kB / 0.5736 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007107/0.5111, allocations: 3.817 MB / 0.5773 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.116e-06/0.5112, allocations: 0 / 0.5773 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5112, allocations: 0 / 0.5773 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001366/0.5114, allocations: 0 / 0.5773 GB, free: 0.6719 MB / 446.1 MB 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.1907/0.7021, allocations: 2.329 MB / 0.5796 GB, free: 128.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.7021, allocations: 11.31 kB / 0.5796 GB, free: 128.4 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003968/0.7061, allocations: 0.8535 MB / 0.5804 GB, free: 128.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001424/0.7076, allocations: 0.8872 MB / 0.5813 GB, free: 127.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.7077, allocations: 208.5 kB / 0.5815 GB, free: 127.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002571/0.708, allocations: 197.5 kB / 0.5817 GB, free: 127.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/0.7111, allocations: 2.134 MB / 0.5838 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/0.7111, allocations: 0 / 0.5838 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001553/0.7113, allocations: 80.69 kB / 0.5839 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.7113, allocations: 45.34 kB / 0.5839 GB, free: 127.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003335/0.7147, allocations: 2.298 MB / 0.5861 GB, free: 127.6 MB / 446.1 MB 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.01064/0.7253, allocations: 7.609 MB / 0.5936 GB, free: 123.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003696/0.7291, allocations: 2.198 MB / 0.5957 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.7302, allocations: 0.8236 MB / 0.5965 GB, free: 121.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006509/0.7367, allocations: 6.548 MB / 0.6029 GB, free: 116.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.7368, allocations: 49.91 kB / 0.603 GB, free: 116.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/0.7368, allocations: 3.938 kB / 0.603 GB, free: 116.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=176): time 0.01759/0.7544, allocations: 6.961 MB / 0.6098 GB, free: 113.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.7545, allocations: 102.5 kB / 0.6099 GB, free: 113.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/0.756, allocations: 0.9428 MB / 0.6108 GB, free: 112.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.7562, allocations: 56.23 kB / 0.6108 GB, free: 112.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005148/0.7567, allocations: 0.884 MB / 0.6117 GB, free: 112.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005026/0.7572, allocations: 0.5905 MB / 0.6123 GB, free: 111.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001258/0.7573, allocations: 40.69 kB / 0.6123 GB, free: 111.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.7575, allocations: 384.3 kB / 0.6127 GB, free: 111.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.7588, allocations: 0.6248 MB / 0.6133 GB, free: 111 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.7605, allocations: 1.19 MB / 0.6145 GB, free: 110.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/0.7621, allocations: 0.796 MB / 0.6152 GB, free: 109.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/0.7622, allocations: 5.5 kB / 0.6152 GB, free: 109.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005737/0.7679, allocations: 2.618 MB / 0.6178 GB, free: 108.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.768, allocations: 14.98 kB / 0.6178 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/0.768, allocations: 21.38 kB / 0.6178 GB, free: 108.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/0.7704, allocations: 0.64 MB / 0.6185 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/0.7726, allocations: 489.5 kB / 0.6189 GB, free: 108.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008522/0.7812, allocations: 8.791 MB / 0.6275 GB, free: 100.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.783, allocations: 119.5 kB / 0.6276 GB, free: 100.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/0.7835, allocations: 163.5 kB / 0.6278 GB, free: 100.7 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 11,(1,100.0%) 6} * Non-linear torn systems: 3 {1 6,1 11,1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001153/0.7847, allocations: 434.6 kB / 0.6282 GB, free: 100.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/0.7851, allocations: 152.3 kB / 0.6283 GB, free: 100.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/0.7919, allocations: 2.74 MB / 0.631 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.792, allocations: 23.27 kB / 0.631 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/0.792, allocations: 5.531 kB / 0.631 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.111e-05/0.792, allocations: 9.469 kB / 0.6311 GB, free: 99.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008397/0.8004, allocations: 4.244 MB / 0.6352 GB, free: 97.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/0.8005, allocations: 3.875 kB / 0.6352 GB, free: 97.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/0.8023, allocations: 367.5 kB / 0.6355 GB, free: 97.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002328/0.8046, allocations: 0.5976 MB / 0.6361 GB, free: 97.06 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002049/0.8048, allocations: 76.86 kB / 0.6362 GB, free: 97.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006672/0.8115, allocations: 8.091 MB / 0.6441 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.8115, allocations: 6.344 kB / 0.6441 GB, free: 89.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006079/0.8176, allocations: 3.272 MB / 0.6473 GB, free: 87.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004735/0.8181, allocations: 207.2 kB / 0.6475 GB, free: 86.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003123/0.8185, allocations: 40.7 kB / 0.6475 GB, free: 86.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.8195, allocations: 63.3 kB / 0.6476 GB, free: 86.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/0.8199, allocations: 178.6 kB / 0.6478 GB, free: 86.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000193/0.8201, allocations: 127.4 kB / 0.6479 GB, free: 86.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008671/0.821, allocations: 0.612 MB / 0.6485 GB, free: 86.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.821, allocations: 0 / 0.6485 GB, free: 86.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003434/0.8244, allocations: 0.8395 MB / 0.6493 GB, free: 85.35 MB / 446.1 MB 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 (147): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 9,(1,100.0%) 6,(1,100.0%) 8} * Non-linear torn systems: 3 {1 10,1 8,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001917/0.8263, allocations: 0.7893 MB / 0.6501 GB, free: 84.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004055/0.8304, allocations: 2.451 MB / 0.6525 GB, free: 82.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.8304, allocations: 0 / 0.6525 GB, free: 82.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002406/0.8329, allocations: 1.583 MB / 0.654 GB, free: 80.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.8347, allocations: 293.1 kB / 0.6543 GB, free: 80.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00607/0.8408, allocations: 4.366 MB / 0.6586 GB, free: 76.17 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.8419, allocations: 1.407 MB / 0.6599 GB, free: 74.73 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002252/0.8441, allocations: 439.5 kB / 0.6604 GB, free: 74.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008372/0.845, allocations: 275.2 kB / 0.6606 GB, free: 74.02 MB / 446.1 MB Notification: Performance of SimCode: time 1.083e-06/0.845, allocations: 4 kB / 0.6606 GB, free: 74.02 MB / 446.1 MB Notification: Performance of Templates: time 0.04524/0.8903, allocations: 33.76 MB / 0.6936 GB, free: 40.43 MB / 446.1 MB make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.makefile (rm -f Chemical_Chemical.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Examples.HydrogenCombustion.sim & ./Chemical_Chemical.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1)