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.0-master/package.mo", uses=false) Using package Chemical with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-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.0008919/0.0008918, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.000929/0.0009291, allocations: 177.3 kB / 15.95 MB, free: 216 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.362/1.362, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo): time 0.2332/0.2332, allocations: 15.26 MB / 306.2 MB, free: 15.7 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004608/0.0004608, allocations: 8 kB / 371.4 MB, free: 4.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3374, allocations: 54.62 MB / 426 MB, free: 40.13 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.0-master/package.mo:3011:6-3011: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.0-master/package.mo:3011:6-3011: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.008282/0.3458, allocations: 7.913 MB / 433.9 MB, free: 37.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.5233, allocations: 129.9 MB / 0.5505 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002623/0.526, allocations: 35.75 kB / 0.5506 GB, free: 12.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.5282, allocations: 449.4 kB / 0.551 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007619/0.5359, allocations: 1.67 MB / 0.5526 GB, free: 10 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00984/0.5457, allocations: 2.516 MB / 0.5551 GB, free: 7.477 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004434/0.5502, allocations: 1.727 MB / 0.5568 GB, free: 5.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.5522, allocations: 1.155 MB / 0.5579 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.5542, allocations: 0.9503 MB / 0.5588 GB, free: 3.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.5566, allocations: 1.289 MB / 0.5601 GB, free: 2.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.557, allocations: 116 kB / 0.5602 GB, free: 2.211 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009498/0.5665, allocations: 2.642 MB / 0.5628 GB, free: 15.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008112/0.5674, allocations: 478.5 kB / 0.5632 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007249/0.5681, allocations: 412.6 kB / 0.5636 GB, free: 14.69 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009189/0.5773, allocations: 3.381 MB / 0.5669 GB, free: 11.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5774, allocations: 4 kB / 0.5669 GB, free: 11.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5774, allocations: 0 / 0.5669 GB, free: 11.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.414e-05/0.5775, allocations: 0 / 0.5669 GB, free: 11.3 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.00673/0.5842, allocations: 2.33 MB / 0.5692 GB, free: 8.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.5843, allocations: 11.97 kB / 0.5692 GB, free: 8.898 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006692/0.591, allocations: 0.8473 MB / 0.5701 GB, free: 8.051 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.5934, allocations: 0.8605 MB / 0.5709 GB, free: 7.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.5937, allocations: 203.2 kB / 0.5711 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000484/0.5942, allocations: 203.9 kB / 0.5713 GB, free: 6.734 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/0.5992, allocations: 2.121 MB / 0.5734 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.614e-05/0.5993, allocations: 7.891 kB / 0.5734 GB, free: 4.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/0.5996, allocations: 76 kB / 0.5734 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-05/0.5996, allocations: 48 kB / 0.5735 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005714/0.6053, allocations: 2.295 MB / 0.5757 GB, free: 2.145 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.2519/0.8573, allocations: 7.548 MB / 0.5831 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00378/0.8611, allocations: 2.208 MB / 0.5852 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00581/0.8669, allocations: 5.1 MB / 0.5902 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.867, allocations: 45.31 kB / 0.5903 GB, free: 12.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=133): time 3.316e-06/0.867, allocations: 2.906 kB / 0.5903 GB, free: 12.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=176): time 0.01675/0.8837, allocations: 6.934 MB / 0.597 GB, free: 10.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.8838, allocations: 101.2 kB / 0.5971 GB, free: 10.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.885, allocations: 0.9427 MB / 0.5981 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.8851, allocations: 55.45 kB / 0.5981 GB, free: 10.49 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.8856, allocations: 0.8828 MB / 0.599 GB, free: 10.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004737/0.8861, allocations: 0.5969 MB / 0.5996 GB, free: 9.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.8862, allocations: 41.25 kB / 0.5996 GB, free: 9.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.8863, allocations: 382.7 kB / 0.6 GB, free: 9.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001348/0.8877, allocations: 0.6196 MB / 0.6006 GB, free: 9.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.8894, allocations: 1.19 MB / 0.6017 GB, free: 8.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.891, allocations: 0.7932 MB / 0.6025 GB, free: 8.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.891, allocations: 6.125 kB / 0.6025 GB, free: 8.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005495/0.8965, allocations: 2.614 MB / 0.6051 GB, free: 8.367 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.8966, allocations: 15.17 kB / 0.6051 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.393e-05/0.8966, allocations: 17.84 kB / 0.6051 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002454/0.8991, allocations: 0.6413 MB / 0.6057 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002322/0.9014, allocations: 480.3 kB / 0.6062 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008152/0.9096, allocations: 8.919 MB / 0.6149 GB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.9113, allocations: 119.1 kB / 0.615 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/0.9117, allocations: 162.5 kB / 0.6152 GB, free: 1.918 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.0009041/0.9126, allocations: 433.1 kB / 0.6156 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002826/0.9129, allocations: 148.2 kB / 0.6157 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006353/0.9192, allocations: 2.74 MB / 0.6184 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.9193, allocations: 23.31 kB / 0.6184 GB, free: 1.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.9193, allocations: 6.766 kB / 0.6184 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.9193, allocations: 12.16 kB / 0.6184 GB, free: 1.383 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006636/0.926, allocations: 4.227 MB / 0.6226 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.926, allocations: 2.781 kB / 0.6226 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.9278, allocations: 362 kB / 0.6229 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/0.93, allocations: 0.5951 MB / 0.6235 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.9302, allocations: 73.38 kB / 0.6236 GB, free: 0.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008335/0.9385, allocations: 8.194 MB / 0.6316 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.9386, allocations: 6.219 kB / 0.6316 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.9441, allocations: 3.328 MB / 0.6348 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005158/0.9447, allocations: 213.7 kB / 0.635 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002166/0.9449, allocations: 36.02 kB / 0.6351 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/0.9458, allocations: 66.02 kB / 0.6351 GB, free: 9.805 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.9461, allocations: 180 kB / 0.6353 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.9463, allocations: 123 kB / 0.6354 GB, free: 9.797 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007187/0.947, allocations: 0.6125 MB / 0.636 GB, free: 9.688 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.947, allocations: 0 / 0.636 GB, free: 9.688 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002827/0.9498, allocations: 0.8371 MB / 0.6368 GB, free: 9.664 MB / 462.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.001684/0.9515, allocations: 0.7857 MB / 0.6376 GB, free: 9.492 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003937/0.9555, allocations: 2.452 MB / 0.64 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9555, allocations: 3.969 kB / 0.64 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.9579, allocations: 1.579 MB / 0.6415 GB, free: 8.297 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.9592, allocations: 265.5 kB / 0.6418 GB, free: 8.219 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006541/0.9657, allocations: 4.348 MB / 0.646 GB, free: 4.344 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.9668, allocations: 1.448 MB / 0.6474 GB, free: 2.887 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002071/0.9688, allocations: 439.5 kB / 0.6479 GB, free: 2.453 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007833/0.9696, allocations: 274 kB / 0.6481 GB, free: 2.203 MB / 462.1 MB Notification: Performance of SimCode: time 6.42e-07/0.9696, allocations: 5.859 kB / 0.6481 GB, free: 2.199 MB / 462.1 MB Notification: Performance of Templates: time 0.05057/1.02, allocations: 33.72 MB / 0.6811 GB, free: 0.8438 MB / 494.1 MB make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: