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.000929/0.000929, allocations: 76.45 kB / 19.9 MB, free: 12 kB / 13.93 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.0008585/0.0008585, allocations: 169.9 kB / 23.18 MB, free: 1.379 MB / 18.57 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 0.8664/0.8664, allocations: 177.2 MB / 203.6 MB, free: 5.746 MB / 186.7 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.09275/0.09275, allocations: 17.37 MB / 277.4 MB, free: 11.86 MB / 266.7 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.0009187/0.0009187, allocations: 67.89 kB / 412.8 MB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3153, allocations: 59.83 MB / 472.7 MB, free: 29.8 MB / 410.7 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.02659/0.3419, allocations: 28.79 MB / 0.4897 GB, free: 17.84 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1253/0.4672, allocations: 134.4 MB / 0.6209 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.4684, allocations: 31.75 kB / 0.621 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.4694, allocations: 488 kB / 0.6214 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003411/0.4728, allocations: 1.648 MB / 0.623 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.006639/0.4794, allocations: 3.014 MB / 0.626 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.4813, allocations: 2.608 MB / 0.6285 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.4824, allocations: 1.206 MB / 0.6297 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.4836, allocations: 1.82 MB / 0.6315 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.4846, allocations: 1.269 MB / 0.6327 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.4849, allocations: 228 kB / 0.6329 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.4886, allocations: 2.226 MB / 0.6351 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003435/0.4889, allocations: 0.5764 MB / 0.6357 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.3558/0.8448, allocations: 0.9789 MB / 0.6366 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.8562, allocations: 5.152 MB / 0.6417 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8563, allocations: 0 / 0.6417 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8563, allocations: 3.375 kB / 0.6417 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001108/0.8564, allocations: 2.156 kB / 0.6417 GB, free: 11.76 MB / 0.5261 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.005484/0.8619, allocations: 2.821 MB / 0.6444 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.8619, allocations: 9.812 kB / 0.6444 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002489/0.8644, allocations: 0.8779 MB / 0.6453 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.8656, allocations: 0.9127 MB / 0.6462 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.8657, allocations: 257.5 kB / 0.6464 GB, free: 9.906 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.866, allocations: 201 kB / 0.6466 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00255/0.8685, allocations: 2.157 MB / 0.6487 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.8685, allocations: 0 / 0.6487 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.8687, allocations: 81.03 kB / 0.6488 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.689e-05/0.8687, allocations: 45.62 kB / 0.6488 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002723/0.8714, allocations: 2.282 MB / 0.6511 GB, free: 9.707 MB / 0.5261 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.007072/0.8785, allocations: 5.828 MB / 0.6568 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002615/0.8811, allocations: 1.564 MB / 0.6583 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009368/0.882, allocations: 0.7345 MB / 0.659 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004305/0.8863, allocations: 3.925 MB / 0.6628 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.8864, allocations: 48.38 kB / 0.6629 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=132): time 1.963e-06/0.8864, allocations: 0 / 0.6629 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174): time 0.01023/0.8966, allocations: 6.512 MB / 0.6692 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.8966, allocations: 96.33 kB / 0.6693 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008584/0.8975, allocations: 0.9386 MB / 0.6703 GB, free: 5.688 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.8976, allocations: 55.27 kB / 0.6703 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003435/0.8979, allocations: 0.9172 MB / 0.6712 GB, free: 5.164 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.8982, allocations: 0.619 MB / 0.6718 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004588/0.8987, allocations: 407.5 kB / 0.6722 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.052e-05/0.8987, allocations: 304.6 kB / 0.6725 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008773/0.8996, allocations: 0.622 MB / 0.6731 GB, free: 4.422 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001101/0.9007, allocations: 1.193 MB / 0.6743 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.9029, allocations: 1.988 MB / 0.6762 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.9029, allocations: 8.219 kB / 0.6762 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.003284/0.9062, allocations: 2.568 MB / 0.6787 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.9062, allocations: 16.97 kB / 0.6787 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.9063, allocations: 18.86 kB / 0.6788 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.9075, allocations: 0.6039 MB / 0.6793 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.9087, allocations: 485.5 kB / 0.6798 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006763/0.9155, allocations: 8.798 MB / 0.6884 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.9161, allocations: 67.27 kB / 0.6885 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.9163, allocations: 160.2 kB / 0.6886 GB, free: 12.56 MB / 0.5417 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.0005964/0.9168, allocations: 433.2 kB / 0.689 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.917, allocations: 154 kB / 0.6892 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003353/0.9204, allocations: 2.62 MB / 0.6917 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.9204, allocations: 16.66 kB / 0.6917 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.9204, allocations: 7.75 kB / 0.6918 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.9204, allocations: 8.578 kB / 0.6918 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00453/0.9249, allocations: 3.666 MB / 0.6953 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.9249, allocations: 4.188 kB / 0.6953 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009988/0.9259, allocations: 379.5 kB / 0.6957 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.927, allocations: 0.5047 MB / 0.6962 GB, free: 10.62 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.9271, allocations: 74.33 kB / 0.6963 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004039/0.9311, allocations: 6.255 MB / 0.7024 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.9311, allocations: 8.906 kB / 0.7024 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003626/0.9347, allocations: 3.147 MB / 0.7055 GB, free: 3.742 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.9349, allocations: 134.2 kB / 0.7056 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.935, allocations: 43.56 kB / 0.7056 GB, free: 3.617 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004041/0.9354, allocations: 44.55 kB / 0.7057 GB, free: 3.594 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/0.9356, allocations: 168.4 kB / 0.7058 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001187/0.9358, allocations: 127.6 kB / 0.706 GB, free: 3.559 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005064/0.9363, allocations: 0.5887 MB / 0.7065 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.9363, allocations: 2.656 kB / 0.7065 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002288/0.9385, allocations: 0.8302 MB / 0.7073 GB, free: 3.117 MB / 0.5417 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.001347/0.9399, allocations: 0.8151 MB / 0.7081 GB, free: 2.871 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.9427, allocations: 2.321 MB / 0.7104 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9427, allocations: 0 / 0.7104 GB, free: 1.824 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.944, allocations: 1.316 MB / 0.7117 GB, free: 1.184 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009175/0.9449, allocations: 295.4 kB / 0.712 GB, free: 1.066 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.9492, allocations: 3.584 MB / 0.7155 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/0.9499, allocations: 0.8313 MB / 0.7163 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001023/0.951, allocations: 436.5 kB / 0.7167 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.9515, allocations: 273 kB / 0.717 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of SimCode: time 1.001e-06/0.9515, allocations: 2.656 kB / 0.717 GB, free: 15.08 MB / 0.5573 GB Notification: Performance of Templates: time 0.03682/0.9883, allocations: 34.83 MB / 0.751 GB, free: 6.992 MB / 0.573 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 cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.620197216980159] Failed to read output from testmodel.py, exit status != 0: 0.9948828729102388 1.003625538 0.14537598300000001 Calling exit ...