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.001249/0.001249, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001296/0.001296, allocations: 162.1 kB / 23.01 MB, free: 4.598 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.346/1.346, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 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.1259/0.1259, allocations: 17.37 MB / 277.1 MB, free: 15.29 MB / 270.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.001973/0.001973, allocations: 71.83 kB / 412.4 MB, free: 5.734 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 59.85 MB / 472.3 MB, free: 9.77 MB / 446.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.2445/0.3475, allocations: 28.6 MB / 0.4891 GB, free: 38.44 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1449/0.4925, allocations: 134.4 MB / 0.6204 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.4938, allocations: 31.75 kB / 0.6204 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001359/0.4952, allocations: 496.1 kB / 0.6209 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004365/0.4995, allocations: 1.652 MB / 0.6225 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007479/0.507, allocations: 3.003 MB / 0.6254 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003121/0.5101, allocations: 2.598 MB / 0.628 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00136/0.5115, allocations: 1.202 MB / 0.6291 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001362/0.5128, allocations: 1.278 MB / 0.6304 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.5146, allocations: 1.265 MB / 0.6316 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003443/0.5149, allocations: 231.9 kB / 0.6318 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005377/0.5203, allocations: 2.219 MB / 0.634 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0005733/0.5209, allocations: 0.5686 MB / 0.6346 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001118/0.522, allocations: 0.988 MB / 0.6355 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007968/0.5299, allocations: 5.119 MB / 0.6405 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.53, allocations: 0 / 0.6405 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.172e-06/0.53, allocations: 0 / 0.6405 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.252e-05/0.53, allocations: 0 / 0.6405 GB, free: 7.496 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.004706/0.5347, allocations: 2.83 MB / 0.6433 GB, free: 4.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.5347, allocations: 8.031 kB / 0.6433 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.5388, allocations: 0.8749 MB / 0.6441 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001521/0.5403, allocations: 0.9134 MB / 0.645 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.5405, allocations: 251.2 kB / 0.6453 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002902/0.5408, allocations: 200.3 kB / 0.6455 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003433/0.5442, allocations: 2.156 MB / 0.6476 GB, free: 140 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.113e-05/0.5443, allocations: 7.938 kB / 0.6476 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001842/0.5445, allocations: 80 kB / 0.6477 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.5445, allocations: 44 kB / 0.6477 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.5484, allocations: 2.284 MB / 0.6499 GB, free: 13.72 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.01052/0.5589, allocations: 5.843 MB / 0.6556 GB, free: 7.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/0.5631, allocations: 1.553 MB / 0.6572 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/0.5643, allocations: 0.7355 MB / 0.6579 GB, free: 5.438 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007688/0.572, allocations: 3.937 MB / 0.6617 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/0.5721, allocations: 47.88 kB / 0.6618 GB, free: 1.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=132): time 2.865e-06/0.5721, allocations: 0 / 0.6618 GB, free: 1.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=174): time 0.01714/0.5892, allocations: 6.514 MB / 0.6681 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.5893, allocations: 99.11 kB / 0.6682 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.5904, allocations: 0.939 MB / 0.6691 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.5905, allocations: 53.7 kB / 0.6692 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.5912, allocations: 0.9181 MB / 0.6701 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.5917, allocations: 0.6119 MB / 0.6707 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000566/0.5922, allocations: 415.4 kB / 0.6711 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5924, allocations: 305.1 kB / 0.6714 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/0.5935, allocations: 0.6287 MB / 0.672 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.5952, allocations: 1.189 MB / 0.6731 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003046/0.5983, allocations: 1.992 MB / 0.6751 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.367e-06/0.5983, allocations: 4 kB / 0.6751 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005175/0.6034, allocations: 2.571 MB / 0.6776 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.6035, allocations: 12 kB / 0.6776 GB, free: 500 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.6035, allocations: 16 kB / 0.6776 GB, free: 484 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002125/0.6056, allocations: 0.61 MB / 0.6782 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/0.6078, allocations: 479.3 kB / 0.6787 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009733/0.6175, allocations: 8.793 MB / 0.6873 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/0.6188, allocations: 71.98 kB / 0.6873 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.619, allocations: 164.1 kB / 0.6875 GB, free: 5.895 MB / 0.5762 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.000761/0.6198, allocations: 437.1 kB / 0.6879 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.6201, allocations: 147 kB / 0.6881 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/0.6257, allocations: 2.623 MB / 0.6906 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.6257, allocations: 20 kB / 0.6906 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.6257, allocations: 4 kB / 0.6906 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/0.6258, allocations: 11.95 kB / 0.6906 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1961/0.8219, allocations: 3.667 MB / 0.6942 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.8219, allocations: 5.75 kB / 0.6942 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/0.8237, allocations: 375.5 kB / 0.6946 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001706/0.8254, allocations: 0.4965 MB / 0.6951 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.8256, allocations: 75.64 kB / 0.6952 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004496/0.8301, allocations: 6.252 MB / 0.7013 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8301, allocations: 3.938 kB / 0.7013 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004789/0.8348, allocations: 3.149 MB / 0.7043 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/0.8351, allocations: 138 kB / 0.7045 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.8353, allocations: 30.97 kB / 0.7045 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.836, allocations: 42.42 kB / 0.7045 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/0.8363, allocations: 174.1 kB / 0.7047 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/0.8365, allocations: 120.1 kB / 0.7048 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005736/0.837, allocations: 0.5951 MB / 0.7054 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.837, allocations: 3.938 kB / 0.7054 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002017/0.8391, allocations: 0.8298 MB / 0.7062 GB, free: 172.3 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.001191/0.8402, allocations: 0.8033 MB / 0.707 GB, free: 172.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.8434, allocations: 2.319 MB / 0.7093 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.8434, allocations: 3.969 kB / 0.7093 GB, free: 171.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/0.8451, allocations: 1.323 MB / 0.7106 GB, free: 170.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/0.8463, allocations: 296.4 kB / 0.7108 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.8506, allocations: 3.582 MB / 0.7143 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.8512, allocations: 0.8256 MB / 0.7151 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001219/0.8524, allocations: 434.2 kB / 0.7156 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006049/0.853, allocations: 282.3 kB / 0.7158 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.853, allocations: 0 / 0.7158 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04726/0.9002, allocations: 34.78 MB / 0.7498 GB, free: 161.5 MB / 0.5762 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 -s ida -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.3931962449569255] Failed to read output from testmodel.py, exit status != 0: 0.907727109035477 0.9163408789999999 0.384212681 Calling exit ...