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.001405/0.001405, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001594/0.001594, allocations: 207.9 kB / 22.99 MB, free: 4.957 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1444/0.1444, allocations: 23.88 MB / 337 MB, free: 11.07 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.002089/0.002089, allocations: 67.91 kB / 472.4 MB, free: 7.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 59.85 MB / 0.5197 GB, free: 9.719 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.07547/0.4003, allocations: 28.46 MB / 0.5475 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.1762/0.5765, allocations: 134.4 MB / 0.6788 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.5781, allocations: 35.75 kB / 0.6788 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.5795, allocations: 480.2 kB / 0.6793 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.5842, allocations: 1.652 MB / 0.6809 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.009131/0.5933, allocations: 3.011 MB / 0.6838 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005696/0.599, allocations: 2.601 MB / 0.6864 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002239/0.6013, allocations: 1.249 MB / 0.6876 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.6034, allocations: 1.266 MB / 0.6888 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.6055, allocations: 1.413 MB / 0.6902 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0004311/0.6059, allocations: 224 kB / 0.6904 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006686/0.6126, allocations: 2.266 MB / 0.6926 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0006424/0.6133, allocations: 0.5763 MB / 0.6932 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.6145, allocations: 0.988 MB / 0.6942 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009872/0.6244, allocations: 5.119 MB / 0.6992 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.6244, allocations: 0 / 0.6992 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6244, allocations: 4 kB / 0.6992 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.913e-05/0.6244, allocations: 0 / 0.6992 GB, free: 1.613 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.005548/0.63, allocations: 2.827 MB / 0.7019 GB, free: 14.74 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.63, allocations: 12.03 kB / 0.7019 GB, free: 14.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/0.6345, allocations: 0.8658 MB / 0.7028 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001895/0.6364, allocations: 0.9095 MB / 0.7037 GB, free: 12.92 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002265/0.6366, allocations: 255.2 kB / 0.7039 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.6369, allocations: 208.3 kB / 0.7041 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003872/0.6408, allocations: 2.144 MB / 0.7062 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.6408, allocations: 4 kB / 0.7062 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000189/0.641, allocations: 76 kB / 0.7063 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/0.6411, allocations: 52 kB / 0.7063 GB, free: 10.13 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004024/0.6451, allocations: 2.291 MB / 0.7086 GB, free: 7.836 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.011/0.6561, allocations: 5.827 MB / 0.7143 GB, free: 1.863 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004338/0.6604, allocations: 1.569 MB / 0.7158 GB, free: 292 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.6617, allocations: 0.7312 MB / 0.7165 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00814/0.6699, allocations: 3.913 MB / 0.7203 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.6699, allocations: 47.81 kB / 0.7204 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=132): time 3.196e-06/0.6699, allocations: 3.938 kB / 0.7204 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=174): time 0.01855/0.6884, allocations: 6.526 MB / 0.7267 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.298e-05/0.6885, allocations: 99.11 kB / 0.7268 GB, free: 4.809 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.6899, allocations: 0.9313 MB / 0.7277 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001351/0.69, allocations: 57.69 kB / 0.7278 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/0.6908, allocations: 0.918 MB / 0.7287 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006585/0.6915, allocations: 0.6158 MB / 0.7293 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000633/0.6921, allocations: 411.5 kB / 0.7297 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6923, allocations: 305.1 kB / 0.73 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.6935, allocations: 0.6248 MB / 0.7306 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2467/0.9402, allocations: 1.192 MB / 0.7318 GB, free: 184.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.9432, allocations: 1.985 MB / 0.7337 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.9432, allocations: 5.375 kB / 0.7337 GB, free: 183.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00517/0.9484, allocations: 2.568 MB / 0.7362 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.9484, allocations: 12.45 kB / 0.7362 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/0.9485, allocations: 21.33 kB / 0.7362 GB, free: 182.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.9509, allocations: 0.5972 MB / 0.7368 GB, free: 182.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/0.9532, allocations: 484.4 kB / 0.7373 GB, free: 182.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008356/0.9615, allocations: 8.807 MB / 0.7459 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001579/0.9631, allocations: 68.33 kB / 0.746 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.9634, allocations: 165.9 kB / 0.7461 GB, free: 174.8 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.0008003/0.9642, allocations: 426.8 kB / 0.7465 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003011/0.9645, allocations: 157 kB / 0.7467 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.9699, allocations: 2.605 MB / 0.7492 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.97, allocations: 20.22 kB / 0.7492 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.97, allocations: 11.97 kB / 0.7492 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.97, allocations: 9.094 kB / 0.7493 GB, free: 173.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/0.9767, allocations: 3.682 MB / 0.7528 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9768, allocations: 1.281 kB / 0.7528 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.9788, allocations: 378.3 kB / 0.7532 GB, free: 172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.9808, allocations: 0.4955 MB / 0.7537 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001665/0.981, allocations: 76.86 kB / 0.7538 GB, free: 171.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005249/0.9863, allocations: 6.254 MB / 0.7599 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.9863, allocations: 1.094 kB / 0.7599 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005812/0.9921, allocations: 3.141 MB / 0.7629 GB, free: 165 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.9925, allocations: 135.3 kB / 0.7631 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.9927, allocations: 41.17 kB / 0.7631 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.9935, allocations: 37.55 kB / 0.7631 GB, free: 164.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004083/0.9939, allocations: 173.1 kB / 0.7633 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000214/0.9941, allocations: 126.4 kB / 0.7634 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008707/0.995, allocations: 0.5961 MB / 0.764 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.995, allocations: 1.25 kB / 0.764 GB, free: 164.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003063/0.9981, allocations: 0.8327 MB / 0.7648 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.001587/0.9997, allocations: 0.8098 MB / 0.7656 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004066/1.004, allocations: 2.338 MB / 0.7679 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/1.004, allocations: 0 / 0.7679 GB, free: 163.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001916/1.006, allocations: 1.308 MB / 0.7692 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.001419/1.007, allocations: 304.7 kB / 0.7695 GB, free: 162.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005204/1.012, allocations: 3.582 MB / 0.773 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000741/1.013, allocations: 0.828 MB / 0.7738 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00147/1.014, allocations: 439.3 kB / 0.7742 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006335/1.015, allocations: 276 kB / 0.7745 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.503e-06/1.015, allocations: 0 / 0.7745 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.04439/1.06, allocations: 37.9 MB / 0.8115 GB, free: 125.5 MB / 0.5606 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: 6.983272636993206] Failed to read output from testmodel.py, exit status != 0: 1.0685519499966176 1.079044607 0.45213116400000003 Calling exit ...