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.001017/0.001017, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001906/0.001906, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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.096/1.096, allocations: 177.1 MB / 203.8 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.09043/0.09043, allocations: 17.38 MB / 277.7 MB, free: 11.72 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.978e-06/3.978e-06, allocations: 4 kB / 353.5 MB, free: 10.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.855e-05/3.253e-05, allocations: 2.312 kB / 353.5 MB, free: 10.31 MB / 282.7 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.04648/0.04651, allocations: 32.36 MB / 385.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2935/0.34, allocations: 148.5 MB / 0.5218 GB, free: 5.293 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.3413, allocations: 35.75 kB / 0.5218 GB, free: 5.258 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.3424, allocations: 497.5 kB / 0.5223 GB, free: 4.773 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003723/0.3461, allocations: 1.71 MB / 0.524 GB, free: 3.051 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006074/0.3522, allocations: 3.084 MB / 0.527 GB, free: 15.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002762/0.3549, allocations: 2.686 MB / 0.5296 GB, free: 13.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.3563, allocations: 1.254 MB / 0.5308 GB, free: 11.95 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001575/0.3579, allocations: 1.77 MB / 0.5326 GB, free: 10.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.3593, allocations: 1.177 MB / 0.5337 GB, free: 8.996 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003596/0.3597, allocations: 228 kB / 0.5339 GB, free: 8.773 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004063/0.3637, allocations: 2.23 MB / 0.5361 GB, free: 6.539 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000381/0.3641, allocations: 0.584 MB / 0.5367 GB, free: 5.953 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007903/0.3649, allocations: 0.8458 MB / 0.5375 GB, free: 5.105 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007491/0.3724, allocations: 4.492 MB / 0.5419 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3724, allocations: 0 / 0.5419 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3724, allocations: 0 / 0.5419 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.666e-05/0.3725, allocations: 4 kB / 0.5419 GB, free: 0.5938 MB / 410.7 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.003846/0.3763, allocations: 2.946 MB / 0.5448 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.3763, allocations: 8.031 kB / 0.5448 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/0.3794, allocations: 1.234 MB / 0.546 GB, free: 12.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.3807, allocations: 0.9309 MB / 0.5469 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001695/0.3808, allocations: 255.2 kB / 0.5471 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.3811, allocations: 200.3 kB / 0.5473 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/0.3838, allocations: 1.738 MB / 0.549 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.3838, allocations: 4.188 kB / 0.549 GB, free: 9.117 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/0.3839, allocations: 80.38 kB / 0.5491 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.104e-05/0.384, allocations: 51.94 kB / 0.5492 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.386, allocations: 1.514 MB / 0.5506 GB, free: 7.473 MB / 426.7 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.007153/0.3932, allocations: 6.057 MB / 0.5566 GB, free: 1.266 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1366/0.5298, allocations: 1.398 MB / 0.5579 GB, free: 153.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000959/0.5307, allocations: 0.5238 MB / 0.5584 GB, free: 153.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004745/0.5355, allocations: 3.878 MB / 0.5622 GB, free: 152.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.5355, allocations: 56.02 kB / 0.5623 GB, free: 152.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 2.866e-06/0.5355, allocations: 1.312 kB / 0.5623 GB, free: 152.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.01023/0.5458, allocations: 5.531 MB / 0.5677 GB, free: 150.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.5458, allocations: 99.66 kB / 0.5678 GB, free: 150.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007703/0.5466, allocations: 0.972 MB / 0.5687 GB, free: 150.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.5467, allocations: 58.44 kB / 0.5688 GB, free: 150 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.5471, allocations: 0.9855 MB / 0.5697 GB, free: 149.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003326/0.5474, allocations: 0.6157 MB / 0.5703 GB, free: 149 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003653/0.5478, allocations: 408.5 kB / 0.5707 GB, free: 148.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.357e-05/0.5478, allocations: 480.5 kB / 0.5712 GB, free: 148.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005319/0.5483, allocations: 400.7 kB / 0.5716 GB, free: 148.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.5491, allocations: 1.177 MB / 0.5727 GB, free: 147.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.5505, allocations: 1.76 MB / 0.5744 GB, free: 145.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/0.5506, allocations: 3.719 kB / 0.5744 GB, free: 145.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.002611/0.5532, allocations: 2.147 MB / 0.5765 GB, free: 145.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5532, allocations: 12.84 kB / 0.5766 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/0.5532, allocations: 21.81 kB / 0.5766 GB, free: 145.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.5545, allocations: 0.5654 MB / 0.5771 GB, free: 145 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.5555, allocations: 484.7 kB / 0.5776 GB, free: 144.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004375/0.5599, allocations: 10.75 MB / 0.5881 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.5607, allocations: 65.92 kB / 0.5882 GB, free: 133.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.5608, allocations: 154.5 kB / 0.5883 GB, free: 133.5 MB / 426.7 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 (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.0004782/0.5613, allocations: 285.9 kB / 0.5886 GB, free: 133.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002372/0.5616, allocations: 208.5 kB / 0.5888 GB, free: 133 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002679/0.5642, allocations: 2.13 MB / 0.5909 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.5642, allocations: 19.94 kB / 0.5909 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.5643, allocations: 10.69 kB / 0.5909 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5643, allocations: 10.59 kB / 0.5909 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/0.5678, allocations: 3.274 MB / 0.5941 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5678, allocations: 0 / 0.5941 GB, free: 127.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009205/0.5687, allocations: 366.2 kB / 0.5944 GB, free: 127.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.5698, allocations: 490.7 kB / 0.5949 GB, free: 126.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/0.5699, allocations: 71.95 kB / 0.595 GB, free: 126.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/0.5725, allocations: 7.698 MB / 0.6025 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5725, allocations: 0 / 0.6025 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002625/0.5751, allocations: 2.448 MB / 0.6049 GB, free: 116.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001762/0.5753, allocations: 129.8 kB / 0.605 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.5754, allocations: 35.98 kB / 0.605 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.5758, allocations: 39.94 kB / 0.6051 GB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.576, allocations: 169.7 kB / 0.6052 GB, free: 115.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.5761, allocations: 120 kB / 0.6054 GB, free: 115.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003895/0.5765, allocations: 0.5345 MB / 0.6059 GB, free: 115.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5765, allocations: 2.656 kB / 0.6059 GB, free: 115.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001811/0.5784, allocations: 0.83 MB / 0.6067 GB, free: 114.5 MB / 426.7 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 (153): * Single equations (assignments): 148 * 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.001071/0.5794, allocations: 0.8437 MB / 0.6075 GB, free: 113.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.5815, allocations: 2.195 MB / 0.6097 GB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5815, allocations: 4 kB / 0.6097 GB, free: 111.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009903/0.5825, allocations: 1.345 MB / 0.611 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008682/0.5834, allocations: 336.2 kB / 0.6113 GB, free: 109.9 MB / 426.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.5871, allocations: 3.22 MB / 0.6144 GB, free: 106.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.5873, allocations: 366.6 kB / 0.6148 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008938/0.5882, allocations: 417 kB / 0.6152 GB, free: 106 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/0.5886, allocations: 264.3 kB / 0.6154 GB, free: 105.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.934e-06/0.5886, allocations: 0 / 0.6154 GB, free: 105.8 MB / 426.7 MB Notification: Performance of Templates: time 0.034/0.6226, allocations: 34.87 MB / 0.6495 GB, free: 72.02 MB / 426.7 MB " [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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5798559142276645]