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.001545/0.001545, allocations: 77.55 kB / 19.76 MB, free: 2.031 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.001418/0.001418, allocations: 159.6 kB / 23.01 MB, free: 4.949 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.364/1.364, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 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.123/0.123, allocations: 17.44 MB / 277.2 MB, free: 15.17 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.001979/0.001979, allocations: 72.17 kB / 412.6 MB, free: 5.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1043, allocations: 59.88 MB / 472.5 MB, free: 9.543 MB / 446.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.2591/0.3634, allocations: 28.6 MB / 0.4893 GB, free: 38.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1492/0.5125, allocations: 134.4 MB / 0.6205 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001259/0.5138, allocations: 31.75 kB / 0.6206 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001424/0.5152, allocations: 488.2 kB / 0.621 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004827/0.52, allocations: 1.652 MB / 0.6227 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008189/0.5282, allocations: 3.011 MB / 0.6256 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.004128/0.5324, allocations: 2.601 MB / 0.6281 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001886/0.5342, allocations: 1.198 MB / 0.6293 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.536, allocations: 1.27 MB / 0.6305 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001941/0.5379, allocations: 1.269 MB / 0.6318 GB, free: 324 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003939/0.5383, allocations: 228 kB / 0.632 GB, free: 96 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005921/0.5442, allocations: 2.223 MB / 0.6342 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006065/0.5448, allocations: 0.5725 MB / 0.6347 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.546, allocations: 0.988 MB / 0.6357 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008421/0.5544, allocations: 5.115 MB / 0.6407 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5544, allocations: 0 / 0.6407 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5544, allocations: 0 / 0.6407 GB, free: 7.168 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.272e-05/0.5544, allocations: 3.938 kB / 0.6407 GB, free: 7.164 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.004774/0.5592, allocations: 2.828 MB / 0.6435 GB, free: 4.293 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.5592, allocations: 8.031 kB / 0.6435 GB, free: 4.285 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004124/0.5634, allocations: 0.8754 MB / 0.6443 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/0.565, allocations: 0.9173 MB / 0.6452 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.5652, allocations: 255.2 kB / 0.6455 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003015/0.5655, allocations: 200.3 kB / 0.6457 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.569, allocations: 2.152 MB / 0.6478 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.916e-05/0.569, allocations: 4 kB / 0.6478 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.5692, allocations: 76 kB / 0.6478 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.5693, allocations: 51.94 kB / 0.6479 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.5732, allocations: 2.291 MB / 0.6501 GB, free: 13.38 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.01041/0.5836, allocations: 5.832 MB / 0.6558 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/0.5878, allocations: 1.549 MB / 0.6573 GB, free: 5.852 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.589, allocations: 0.7355 MB / 0.658 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00747/0.5965, allocations: 3.925 MB / 0.6619 GB, free: 1.156 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.5966, allocations: 43.88 kB / 0.6619 GB, free: 1.105 MB / 0.545 GB Notification: Performance of pre-optimization done (n=132): time 3.005e-06/0.5966, allocations: 7.938 kB / 0.6619 GB, free: 1.098 MB / 0.545 GB Notification: Performance of matching and sorting (n=174): time 0.01847/0.615, allocations: 6.514 MB / 0.6683 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.6151, allocations: 99.11 kB / 0.6684 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001256/0.6164, allocations: 0.9429 MB / 0.6693 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/0.6165, allocations: 57.7 kB / 0.6694 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007148/0.6172, allocations: 0.9142 MB / 0.6703 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005428/0.6178, allocations: 0.6235 MB / 0.6709 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005869/0.6184, allocations: 403.5 kB / 0.6712 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.6185, allocations: 301.1 kB / 0.6715 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.6197, allocations: 0.6248 MB / 0.6721 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.6215, allocations: 1.193 MB / 0.6733 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/0.6247, allocations: 1.988 MB / 0.6752 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.558e-06/0.6247, allocations: 4 kB / 0.6753 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.005419/0.6302, allocations: 2.571 MB / 0.6778 GB, free: 188 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.6302, allocations: 12 kB / 0.6778 GB, free: 176 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.135e-05/0.6302, allocations: 16 kB / 0.6778 GB, free: 160 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002217/0.6324, allocations: 0.6098 MB / 0.6784 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002251/0.6347, allocations: 483.3 kB / 0.6788 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.6449, allocations: 8.804 MB / 0.6874 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.6463, allocations: 72.22 kB / 0.6875 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.6465, allocations: 171.9 kB / 0.6877 GB, free: 5.559 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.0008159/0.6474, allocations: 432.5 kB / 0.6881 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.6477, allocations: 147 kB / 0.6882 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005915/0.6536, allocations: 2.615 MB / 0.6908 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.6536, allocations: 20 kB / 0.6908 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6536, allocations: 4 kB / 0.6908 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.6537, allocations: 11.95 kB / 0.6908 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1926/0.8462, allocations: 3.682 MB / 0.6944 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.8462, allocations: 3.125 kB / 0.6944 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/0.8481, allocations: 381.5 kB / 0.6948 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001695/0.8498, allocations: 0.4926 MB / 0.6953 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.8499, allocations: 78.64 kB / 0.6953 GB, free: 178.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.8542, allocations: 6.254 MB / 0.7014 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.8542, allocations: 6.625 kB / 0.7014 GB, free: 173.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004468/0.8587, allocations: 3.14 MB / 0.7045 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.8589, allocations: 138.9 kB / 0.7046 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/0.8591, allocations: 33.59 kB / 0.7047 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007542/0.8598, allocations: 45.73 kB / 0.7047 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.8601, allocations: 172 kB / 0.7049 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.8602, allocations: 119.6 kB / 0.705 GB, free: 172.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005545/0.8608, allocations: 0.594 MB / 0.7056 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.8608, allocations: 0 / 0.7056 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001935/0.8627, allocations: 0.8324 MB / 0.7064 GB, free: 172.1 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.001171/0.8639, allocations: 0.8063 MB / 0.7072 GB, free: 172 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003012/0.8669, allocations: 2.311 MB / 0.7094 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8669, allocations: 4.953 kB / 0.7094 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00166/0.8685, allocations: 1.319 MB / 0.7107 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.8697, allocations: 301.3 kB / 0.711 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.8739, allocations: 3.58 MB / 0.7145 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005965/0.8745, allocations: 0.829 MB / 0.7153 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001204/0.8757, allocations: 437.6 kB / 0.7157 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00059/0.8763, allocations: 277.9 kB / 0.716 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.8763, allocations: 0 / 0.716 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.04651/0.9228, allocations: 34.77 MB / 0.75 GB, free: 161.3 MB / 0.5762 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 -s ida -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.426235961029306] Failed to read output from testmodel.py, exit status != 0: 0.9303749640239403 0.938428037 0.38190642499999994 Calling exit ...