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.001618/0.001618, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.001964/0.001964, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.023/1.023, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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.08889/0.08889, allocations: 17.46 MB / 278.5 MB, free: 11.4 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 354.8 MB, free: 9.566 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.405e-05, allocations: 9.484 kB / 354.8 MB, free: 9.559 MB / 282.7 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.04048/0.0405, allocations: 32 MB / 386.8 MB, free: 9.684 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.2543/0.2948, allocations: 134.3 MB / 0.5089 GB, free: 2.598 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.2959, allocations: 35.75 kB / 0.5089 GB, free: 2.562 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007398/0.2966, allocations: 357.1 kB / 0.5093 GB, free: 2.215 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001943/0.2985, allocations: 1.156 MB / 0.5104 GB, free: 1.055 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002768/0.3013, allocations: 1.579 MB / 0.512 GB, free: 15.47 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.3035, allocations: 2.686 MB / 0.5146 GB, free: 12.77 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.3045, allocations: 1.254 MB / 0.5158 GB, free: 11.47 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.3058, allocations: 1.767 MB / 0.5175 GB, free: 9.699 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.3068, allocations: 1.173 MB / 0.5187 GB, free: 8.523 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002503/0.3071, allocations: 227.9 kB / 0.5189 GB, free: 8.301 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.3087, allocations: 1.029 MB / 0.5199 GB, free: 7.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006933/0.3094, allocations: 0.5918 MB / 0.5205 GB, free: 6.676 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005822/0.31, allocations: 0.8497 MB / 0.5213 GB, free: 5.824 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.3123, allocations: 2.959 MB / 0.5242 GB, free: 2.855 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3123, allocations: 0 / 0.5242 GB, free: 2.855 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3123, allocations: 0 / 0.5242 GB, free: 2.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.65e-05/0.3123, allocations: 0 / 0.5242 GB, free: 2.855 MB / 394.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.002529/0.3148, allocations: 2.697 MB / 0.5268 GB, free: 112 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.3148, allocations: 8.031 kB / 0.5268 GB, free: 104 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00236/0.3172, allocations: 1.234 MB / 0.528 GB, free: 14.86 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.3182, allocations: 0.9193 MB / 0.5289 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.3184, allocations: 255.2 kB / 0.5292 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.3186, allocations: 204.3 kB / 0.5294 GB, free: 13.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.3201, allocations: 1.578 MB / 0.5309 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.3201, allocations: 4.125 kB / 0.5309 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/0.3203, allocations: 80.38 kB / 0.531 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.3203, allocations: 47.94 kB / 0.531 GB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.3217, allocations: 1.272 MB / 0.5323 GB, free: 10.4 MB / 410.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.005795/0.3275, allocations: 6.102 MB / 0.5382 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/0.3293, allocations: 1.278 MB / 0.5395 GB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.3298, allocations: 451.7 kB / 0.5399 GB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003044/0.3328, allocations: 2.904 MB / 0.5428 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3328, allocations: 54.69 kB / 0.5428 GB, free: 15.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 2.334e-06/0.3328, allocations: 0 / 0.5428 GB, free: 15.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=174): time 0.009746/0.3426, allocations: 4.656 MB / 0.5474 GB, free: 10.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3426, allocations: 103 kB / 0.5475 GB, free: 10.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007091/0.3434, allocations: 0.965 MB / 0.5484 GB, free: 9.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.509e-05/0.3434, allocations: 49.7 kB / 0.5484 GB, free: 9.492 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.3439, allocations: 0.9909 MB / 0.5494 GB, free: 8.488 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.3443, allocations: 0.6274 MB / 0.55 GB, free: 7.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/0.3446, allocations: 417.1 kB / 0.5504 GB, free: 7.438 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.3447, allocations: 480.7 kB / 0.5509 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.3451, allocations: 307.9 kB / 0.5512 GB, free: 6.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007152/0.3458, allocations: 1.105 MB / 0.5523 GB, free: 5.211 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.3471, allocations: 1.61 MB / 0.5538 GB, free: 3.262 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/0.3472, allocations: 12 kB / 0.5538 GB, free: 3.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=262) (initialization): time 0.002467/0.3496, allocations: 1.939 MB / 0.5557 GB, free: 1.277 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.3496, allocations: 12 kB / 0.5557 GB, free: 1.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.029e-05/0.3497, allocations: 24.16 kB / 0.5558 GB, free: 1.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.3509, allocations: 0.5518 MB / 0.5563 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.352, allocations: 483.3 kB / 0.5568 GB, free: 200 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2099/0.5619, allocations: 10.56 MB / 0.5671 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.563, allocations: 60.34 kB / 0.5671 GB, free: 30.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.5632, allocations: 137.4 kB / 0.5673 GB, free: 30.3 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.0005367/0.5638, allocations: 285.1 kB / 0.5675 GB, free: 30.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.5641, allocations: 208.9 kB / 0.5677 GB, free: 30.13 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003024/0.5671, allocations: 1.965 MB / 0.5697 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.5671, allocations: 22.53 kB / 0.5697 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.5672, allocations: 5.875 kB / 0.5697 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.5672, allocations: 13.34 kB / 0.5697 GB, free: 29.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004477/0.5716, allocations: 3.127 MB / 0.5727 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.5717, allocations: 1.719 kB / 0.5728 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.5727, allocations: 371.9 kB / 0.5731 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.5737, allocations: 478 kB / 0.5736 GB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.5739, allocations: 72.97 kB / 0.5736 GB, free: 29.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003457/0.5773, allocations: 7.568 MB / 0.581 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5773, allocations: 2.625 kB / 0.581 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/0.58, allocations: 2.2 MB / 0.5832 GB, free: 22.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.5802, allocations: 131.7 kB / 0.5833 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.5804, allocations: 35.72 kB / 0.5833 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003941/0.5808, allocations: 39.78 kB / 0.5834 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002383/0.581, allocations: 172.4 kB / 0.5835 GB, free: 22.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.5811, allocations: 108 kB / 0.5836 GB, free: 22.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003966/0.5815, allocations: 0.4997 MB / 0.5841 GB, free: 21.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5815, allocations: 1.859 kB / 0.5841 GB, free: 21.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001669/0.5832, allocations: 0.6321 MB / 0.5847 GB, free: 21.89 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.0008696/0.584, allocations: 454.5 kB / 0.5852 GB, free: 21.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.5861, allocations: 2.037 MB / 0.5872 GB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5861, allocations: 0.5625 kB / 0.5872 GB, free: 21.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.5871, allocations: 1.269 MB / 0.5884 GB, free: 20.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008966/0.588, allocations: 333.2 kB / 0.5887 GB, free: 20.45 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.005171/0.5932, allocations: 3.187 MB / 0.5918 GB, free: 19.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.5936, allocations: 368 kB / 0.5922 GB, free: 18.96 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001214/0.5948, allocations: 406.7 kB / 0.5926 GB, free: 18.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009253/0.5957, allocations: 0.5415 MB / 0.5931 GB, free: 18.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/0.5957, allocations: 0 / 0.5931 GB, free: 18.84 MB / 426.7 MB Notification: Performance of Templates: time 0.0392/0.6349, allocations: 34.3 MB / 0.6266 GB, free: 1.387 MB / 426.7 MB " [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=240 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.63541666790843]