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.00133/0.00133, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001394/0.001394, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1371/0.1371, allocations: 23.89 MB / 333.4 MB, free: 1.191 MB / 254.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: 72.89 kB / 467.2 MB, free: 30.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09456/0.09663, allocations: 59.84 MB / 0.5147 GB, free: 12.39 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.04177/0.1384, allocations: 29.61 MB / 0.5436 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4154/0.5538, allocations: 156.5 MB / 0.6965 GB, free: 5.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.5551, allocations: 35.75 kB / 0.6965 GB, free: 5.859 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.5564, allocations: 0.5111 MB / 0.697 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004501/0.5609, allocations: 1.668 MB / 0.6986 GB, free: 3.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008112/0.5691, allocations: 2.991 MB / 0.7016 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003661/0.5727, allocations: 2.594 MB / 0.7041 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.5743, allocations: 1.241 MB / 0.7053 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001571/0.5759, allocations: 1.278 MB / 0.7065 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002002/0.5779, allocations: 1.417 MB / 0.7079 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.5783, allocations: 228 kB / 0.7081 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006755/0.585, allocations: 2.391 MB / 0.7105 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006687/0.5857, allocations: 0.5608 MB / 0.711 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.587, allocations: 1.19 MB / 0.7122 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01039/0.5974, allocations: 5.126 MB / 0.7172 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.223e-06/0.5974, allocations: 4 kB / 0.7172 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5974, allocations: 0 / 0.7172 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.214e-05/0.5975, allocations: 0 / 0.7172 GB, free: 0.5469 MB / 0.4981 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.00562/0.6031, allocations: 2.905 MB / 0.72 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.6031, allocations: 12.03 kB / 0.7201 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004555/0.6077, allocations: 0.8741 MB / 0.7209 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001757/0.6094, allocations: 0.9839 MB / 0.7219 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000244/0.6097, allocations: 203.8 kB / 0.7221 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.61, allocations: 196.3 kB / 0.7222 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003964/0.614, allocations: 2.16 MB / 0.7244 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.352e-05/0.614, allocations: 0 / 0.7244 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.6142, allocations: 76.88 kB / 0.7244 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.085e-05/0.6143, allocations: 48 kB / 0.7245 GB, free: 8.938 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.6186, allocations: 2.311 MB / 0.7267 GB, free: 6.625 MB / 0.5137 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.01251/0.6311, allocations: 7.648 MB / 0.7342 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004999/0.6361, allocations: 2.248 MB / 0.7364 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001385/0.6375, allocations: 0.7312 MB / 0.7371 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009783/0.6473, allocations: 6.665 MB / 0.7436 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.6473, allocations: 55.62 kB / 0.7437 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=132): time 2.434e-06/0.6473, allocations: 0 / 0.7437 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of matching and sorting (n=174): time 0.01942/0.6667, allocations: 6.82 MB / 0.7503 GB, free: 13.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.545e-05/0.6668, allocations: 95.11 kB / 0.7504 GB, free: 12.94 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.6681, allocations: 0.9536 MB / 0.7514 GB, free: 11.97 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.6682, allocations: 53.7 kB / 0.7514 GB, free: 11.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007072/0.6689, allocations: 0.9064 MB / 0.7523 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005484/0.6695, allocations: 0.6197 MB / 0.7529 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006559/0.6701, allocations: 411.5 kB / 0.7533 GB, free: 9.961 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6703, allocations: 301.1 kB / 0.7536 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.6716, allocations: 0.6287 MB / 0.7542 GB, free: 9.031 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.6733, allocations: 1.193 MB / 0.7554 GB, free: 7.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00328/0.6766, allocations: 1.984 MB / 0.7573 GB, free: 5.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.6766, allocations: 8 kB / 0.7573 GB, free: 5.352 MB / 0.545 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005778/0.6824, allocations: 2.571 MB / 0.7598 GB, free: 2.754 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.733e-05/0.6824, allocations: 16 kB / 0.7598 GB, free: 2.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.6824, allocations: 16 kB / 0.7598 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/0.6848, allocations: 0.6024 MB / 0.7604 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002345/0.6872, allocations: 491.3 kB / 0.7609 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01105/0.6982, allocations: 9.363 MB / 0.77 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.6997, allocations: 66.75 kB / 0.7701 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002541/0.6999, allocations: 170.6 kB / 0.7703 GB, free: 7.434 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.0008739/0.7008, allocations: 421.2 kB / 0.7707 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003397/0.7011, allocations: 162.9 kB / 0.7708 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006451/0.7076, allocations: 2.612 MB / 0.7734 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.427e-05/0.7076, allocations: 20 kB / 0.7734 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.7076, allocations: 7.938 kB / 0.7734 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.9e-05/0.7077, allocations: 7.969 kB / 0.7734 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00807/0.7157, allocations: 4.136 MB / 0.7774 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.7157, allocations: 4 kB / 0.7775 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002118/0.7179, allocations: 379.6 kB / 0.7778 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002162/0.72, allocations: 0.5022 MB / 0.7783 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.7202, allocations: 75.95 kB / 0.7784 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007504/0.7277, allocations: 6.667 MB / 0.7849 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.7277, allocations: 6.719 kB / 0.7849 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006722/0.7344, allocations: 3.149 MB / 0.788 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/0.7348, allocations: 216 kB / 0.7882 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000198/0.735, allocations: 32 kB / 0.7882 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.7358, allocations: 43.92 kB / 0.7882 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/0.7362, allocations: 173.7 kB / 0.7884 GB, free: 4.211 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002042/0.7364, allocations: 124 kB / 0.7885 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009606/0.7374, allocations: 0.6218 MB / 0.7891 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.7374, allocations: 0 / 0.7891 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002585/0.74, allocations: 0.8345 MB / 0.79 GB, free: 2.625 MB / 0.5762 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.00198/0.742, allocations: 0.8091 MB / 0.7907 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004716/0.7467, allocations: 2.316 MB / 0.793 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.77e-06/0.7467, allocations: 7.938 kB / 0.793 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002592/0.7493, allocations: 1.316 MB / 0.7943 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/0.751, allocations: 310 kB / 0.7946 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006647/0.7576, allocations: 3.651 MB / 0.7982 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001191/0.7588, allocations: 1.402 MB / 0.7995 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/0.7599, allocations: 339.2 kB / 0.7999 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of SimCode: time 1.133e-06/0.7599, allocations: 0 / 0.7999 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of Templates: time 0.2952/1.055, allocations: 69.38 MB / 0.8676 GB, free: 204.6 MB / 0.6075 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.154857282002922] Failed to read output from testmodel.py, exit status != 0: 1.062791955017019 1.071611217 0.472022455 Calling exit ...