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.001579/0.001579, allocations: 114.9 kB / 17.13 MB, free: 5.926 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.0016/0.0016, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.697/1.697, 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 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.1644/0.1644, allocations: 23.86 MB / 333.4 MB, free: 1.219 MB / 254.1 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: 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.002244/0.002244, allocations: 60.19 kB / 467.2 MB, free: 30.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1196, allocations: 59.84 MB / 0.5146 GB, free: 12.45 MB / 382.1 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.04395/0.1635, allocations: 29.34 MB / 0.5433 GB, free: 15.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.505/0.6685, allocations: 156.5 MB / 0.6961 GB, free: 6.156 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002025/0.6705, allocations: 31.75 kB / 0.6962 GB, free: 6.125 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.6723, allocations: 0.5034 MB / 0.6967 GB, free: 5.621 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005863/0.6781, allocations: 1.669 MB / 0.6983 GB, free: 3.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009138/0.6873, allocations: 2.995 MB / 0.7012 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00461/0.6919, allocations: 2.6 MB / 0.7038 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002065/0.6939, allocations: 1.249 MB / 0.705 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.6959, allocations: 1.274 MB / 0.7062 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.6984, allocations: 1.413 MB / 0.7076 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005067/0.6989, allocations: 228 kB / 0.7078 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007944/0.7068, allocations: 2.387 MB / 0.7102 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008589/0.7077, allocations: 0.5647 MB / 0.7107 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.7094, allocations: 1.182 MB / 0.7119 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.7222, allocations: 5.134 MB / 0.7169 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.7222, allocations: 0 / 0.7169 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7222, allocations: 4 kB / 0.7169 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.825e-05/0.7222, allocations: 0 / 0.7169 GB, free: 0.8125 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.006324/0.7286, allocations: 2.903 MB / 0.7197 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.7286, allocations: 12.03 kB / 0.7197 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/0.7332, allocations: 0.8736 MB / 0.7206 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002005/0.7352, allocations: 0.979 MB / 0.7215 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.7354, allocations: 203.8 kB / 0.7217 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003718/0.7358, allocations: 196.3 kB / 0.7219 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.7398, allocations: 2.16 MB / 0.724 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.7399, allocations: 3.938 kB / 0.724 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/0.7401, allocations: 80 kB / 0.7241 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.29e-05/0.7401, allocations: 48 kB / 0.7241 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.7445, allocations: 2.299 MB / 0.7264 GB, free: 6.902 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.01348/0.7579, allocations: 7.645 MB / 0.7339 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004926/0.7629, allocations: 2.255 MB / 0.7361 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.7643, allocations: 0.7312 MB / 0.7368 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.7746, allocations: 6.657 MB / 0.7433 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.7747, allocations: 56.92 kB / 0.7433 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=132): time 3.306e-06/0.7747, allocations: 0 / 0.7433 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=174): time 0.01964/0.7943, allocations: 6.822 MB / 0.75 GB, free: 13.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.306e-05/0.7944, allocations: 95.11 kB / 0.7501 GB, free: 13.21 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.7958, allocations: 0.9536 MB / 0.751 GB, free: 12.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.7959, allocations: 53.7 kB / 0.7511 GB, free: 12.19 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007343/0.7967, allocations: 0.9064 MB / 0.752 GB, free: 11.27 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006404/0.7973, allocations: 0.6275 MB / 0.7526 GB, free: 10.64 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006129/0.7979, allocations: 403.5 kB / 0.7529 GB, free: 10.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.7981, allocations: 305.1 kB / 0.7532 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.7993, allocations: 0.6248 MB / 0.7538 GB, free: 9.305 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001832/0.8012, allocations: 1.193 MB / 0.755 GB, free: 7.859 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/0.8045, allocations: 1.992 MB / 0.757 GB, free: 5.625 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.256e-05/0.8045, allocations: 8 kB / 0.757 GB, free: 5.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005706/0.8102, allocations: 2.577 MB / 0.7595 GB, free: 3.016 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.8102, allocations: 12 kB / 0.7595 GB, free: 3.004 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.602e-05/0.8102, allocations: 16 kB / 0.7595 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002377/0.8126, allocations: 0.6104 MB / 0.7601 GB, free: 2.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00236/0.815, allocations: 475.4 kB / 0.7606 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.8261, allocations: 9.368 MB / 0.7697 GB, free: 7.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/0.8278, allocations: 67.98 kB / 0.7698 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/0.8281, allocations: 164 kB / 0.7699 GB, free: 7.703 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.0009507/0.829, allocations: 423.9 kB / 0.7703 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003682/0.8294, allocations: 159 kB / 0.7705 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006075/0.8355, allocations: 2.621 MB / 0.773 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.8355, allocations: 20 kB / 0.7731 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/0.8355, allocations: 4 kB / 0.7731 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.291e-05/0.8355, allocations: 15.95 kB / 0.7731 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007776/0.8433, allocations: 4.128 MB / 0.7771 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.8433, allocations: 4 kB / 0.7771 GB, free: 260 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/0.8454, allocations: 383.6 kB / 0.7775 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002073/0.8475, allocations: 0.4957 MB / 0.778 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000188/0.8477, allocations: 75.95 kB / 0.778 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/0.8548, allocations: 6.669 MB / 0.7846 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.8548, allocations: 4.031 kB / 0.7846 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006263/0.8611, allocations: 3.153 MB / 0.7876 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/0.8614, allocations: 220 kB / 0.7878 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002047/0.8617, allocations: 32 kB / 0.7879 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008465/0.8625, allocations: 47.92 kB / 0.7879 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.8629, allocations: 165.8 kB / 0.7881 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002116/0.8631, allocations: 120 kB / 0.7882 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009214/0.864, allocations: 0.6257 MB / 0.7888 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.864, allocations: 0 / 0.7888 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002727/0.8667, allocations: 0.8342 MB / 0.7896 GB, free: 2.895 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.001865/0.8686, allocations: 0.8122 MB / 0.7904 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004559/0.8732, allocations: 2.324 MB / 0.7927 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.8732, allocations: 0 / 0.7927 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002473/0.8756, allocations: 1.315 MB / 0.794 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.8773, allocations: 309.6 kB / 0.7943 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00674/0.884, allocations: 3.635 MB / 0.7978 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.8852, allocations: 1.406 MB / 0.7992 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/0.8863, allocations: 339.2 kB / 0.7995 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of SimCode: time 1.072e-06/0.8863, allocations: 3.938 kB / 0.7995 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of Templates: time 0.3432/1.23, allocations: 69.38 MB / 0.8673 GB, free: 205.2 MB / 0.6075 GB " [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=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 13.186373256001389] Failed to read output from testmodel.py, exit status != 0: 1.2389519620046485 1.2482933459999999 0.5237007579999999 Calling exit ...