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.00149/0.00149, allocations: 104.3 kB / 19.7 MB, free: 2.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.001902/0.001902, allocations: 211 kB / 22.99 MB, free: 4.41 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1403/0.1403, allocations: 23.93 MB / 337.1 MB, free: 10.91 MB / 270.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.002059/0.002059, allocations: 71.89 kB / 472.4 MB, free: 6.941 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3677, allocations: 59.87 MB / 0.5198 GB, free: 9.789 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.07917/0.4469, allocations: 28.56 MB / 0.5477 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.6326, allocations: 134.4 MB / 0.6789 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002259/0.6349, allocations: 35.69 kB / 0.679 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.6366, allocations: 488.2 kB / 0.6794 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005916/0.6425, allocations: 1.652 MB / 0.6811 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009115/0.6516, allocations: 3.007 MB / 0.684 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004531/0.6561, allocations: 2.613 MB / 0.6865 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.658, allocations: 1.225 MB / 0.6877 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.6597, allocations: 1.27 MB / 0.689 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.6621, allocations: 1.421 MB / 0.6904 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.6625, allocations: 232 kB / 0.6906 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006995/0.6695, allocations: 2.262 MB / 0.6928 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006403/0.6701, allocations: 0.5724 MB / 0.6934 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001305/0.6714, allocations: 0.9803 MB / 0.6943 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01193/0.6834, allocations: 5.126 MB / 0.6993 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.6834, allocations: 0 / 0.6993 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6834, allocations: 0 / 0.6993 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.37e-05/0.6834, allocations: 0 / 0.6993 GB, free: 1.422 MB / 0.5294 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.005636/0.689, allocations: 2.827 MB / 0.7021 GB, free: 14.55 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6891, allocations: 8.031 kB / 0.7021 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.6934, allocations: 0.8698 MB / 0.7029 GB, free: 13.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.6954, allocations: 0.9095 MB / 0.7038 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.6956, allocations: 259.2 kB / 0.7041 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003383/0.6959, allocations: 196.3 kB / 0.7043 GB, free: 12.26 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.6997, allocations: 2.156 MB / 0.7064 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.6997, allocations: 0 / 0.7064 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001806/0.6999, allocations: 80 kB / 0.7064 GB, free: 9.984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.6999, allocations: 52 kB / 0.7065 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003967/0.7039, allocations: 2.28 MB / 0.7087 GB, free: 7.652 MB / 0.545 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.01126/0.7152, allocations: 5.846 MB / 0.7144 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004076/0.7192, allocations: 1.546 MB / 0.7159 GB, free: 108 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.7206, allocations: 0.7353 MB / 0.7167 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008158/0.7287, allocations: 3.928 MB / 0.7205 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.323e-05/0.7288, allocations: 55.86 kB / 0.7205 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.496e-06/0.7288, allocations: 0 / 0.7205 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01779/0.7466, allocations: 6.516 MB / 0.7269 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.7467, allocations: 99.05 kB / 0.727 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.7479, allocations: 0.939 MB / 0.7279 GB, free: 3.656 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.748, allocations: 53.7 kB / 0.728 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007095/0.7487, allocations: 0.9142 MB / 0.7289 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005535/0.7493, allocations: 0.6236 MB / 0.7295 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005801/0.7499, allocations: 407.5 kB / 0.7299 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.75, allocations: 301.1 kB / 0.7302 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.7512, allocations: 0.6248 MB / 0.7308 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2836/1.035, allocations: 1.189 MB / 0.7319 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00387/1.039, allocations: 1.99 MB / 0.7339 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.171e-05/1.039, allocations: 4.75 kB / 0.7339 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.006338/1.045, allocations: 2.57 MB / 0.7364 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/1.045, allocations: 13.38 kB / 0.7364 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.735e-05/1.045, allocations: 17.34 kB / 0.7364 GB, free: 182.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/1.047, allocations: 0.5974 MB / 0.737 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/1.05, allocations: 482.7 kB / 0.7375 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008879/1.059, allocations: 8.811 MB / 0.7461 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/1.061, allocations: 65.89 kB / 0.7461 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007609/1.062, allocations: 164.6 kB / 0.7463 GB, free: 174.9 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.00159/1.063, allocations: 426.5 kB / 0.7467 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006005/1.064, allocations: 155.9 kB / 0.7468 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006309/1.07, allocations: 2.606 MB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.07, allocations: 17.88 kB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-05/1.07, allocations: 16.03 kB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-05/1.07, allocations: 12.23 kB / 0.7494 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007965/1.078, allocations: 3.669 MB / 0.753 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.078, allocations: 2.344 kB / 0.753 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/1.08, allocations: 377.4 kB / 0.7534 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002107/1.082, allocations: 0.5033 MB / 0.7539 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002441/1.083, allocations: 78.73 kB / 0.7539 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006265/1.089, allocations: 6.251 MB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.089, allocations: 1.906 kB / 0.76 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006841/1.096, allocations: 3.14 MB / 0.7631 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/1.096, allocations: 139 kB / 0.7632 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/1.097, allocations: 38.77 kB / 0.7633 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/1.098, allocations: 38.77 kB / 0.7633 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004727/1.098, allocations: 175.8 kB / 0.7635 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000306/1.098, allocations: 127 kB / 0.7636 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00119/1.1, allocations: 0.592 MB / 0.7642 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.1, allocations: 2.656 kB / 0.7642 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003654/1.103, allocations: 0.8345 MB / 0.765 GB, free: 164.5 MB / 0.5606 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.002239/1.105, allocations: 0.8098 MB / 0.7658 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004824/1.11, allocations: 2.329 MB / 0.7681 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/1.11, allocations: 0 / 0.7681 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002295/1.113, allocations: 1.315 MB / 0.7693 GB, free: 162.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.115, allocations: 294.6 kB / 0.7696 GB, free: 162.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006797/1.121, allocations: 3.64 MB / 0.7732 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/1.122, allocations: 0.8319 MB / 0.774 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000973/1.123, allocations: 334.2 kB / 0.7743 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/1.123, allocations: 0 / 0.7743 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.0581/1.181, allocations: 70.04 MB / 0.8427 GB, free: 93.29 MB / 0.5606 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.995164346008096] Failed to read output from testmodel.py, exit status != 0: 1.1903162759845145 1.199384021 0.5136351680000001 Calling exit ...