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.001438/0.001438, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001702/0.001702, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.494/1.494, allocations: 177.2 MB / 202.8 MB, free: 9.184 MB / 190.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.1775/0.1775, allocations: 17.37 MB / 276.6 MB, free: 15.3 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: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 412 MB, free: 4.461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.651e-05, allocations: 5.375 kB / 412 MB, free: 4.457 MB / 334.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.04424/0.04428, allocations: 28.93 MB / 440.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.38/0.4243, allocations: 134.4 MB / 0.5618 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.4259, allocations: 31.75 kB / 0.5618 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001814/0.4277, allocations: 0.496 MB / 0.5623 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00653/0.4343, allocations: 1.71 MB / 0.564 GB, free: 3.906 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009775/0.4441, allocations: 3.072 MB / 0.567 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004819/0.4489, allocations: 2.702 MB / 0.5696 GB, free: 14.1 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002025/0.4509, allocations: 1.202 MB / 0.5708 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.4536, allocations: 1.759 MB / 0.5725 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.4557, allocations: 1.146 MB / 0.5736 GB, free: 9.949 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.4563, allocations: 224 kB / 0.5739 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007488/0.4638, allocations: 2.234 MB / 0.576 GB, free: 7.492 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001107/0.4649, allocations: 0.5763 MB / 0.5766 GB, free: 6.914 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001568/0.4665, allocations: 0.8418 MB / 0.5774 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01227/0.4788, allocations: 5.358 MB / 0.5827 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4788, allocations: 0 / 0.5827 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4788, allocations: 3.938 kB / 0.5827 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.402e-05/0.4788, allocations: 0 / 0.5827 GB, free: 0.6914 MB / 462.1 MB 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.005829/0.4846, allocations: 2.804 MB / 0.5854 GB, free: 13.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.4847, allocations: 8.031 kB / 0.5854 GB, free: 13.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004637/0.4893, allocations: 0.8774 MB / 0.5863 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.4912, allocations: 0.9088 MB / 0.5871 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002364/0.4914, allocations: 255.2 kB / 0.5874 GB, free: 11.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.4918, allocations: 200.3 kB / 0.5876 GB, free: 11.55 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003957/0.4957, allocations: 2.146 MB / 0.5897 GB, free: 9.367 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.4958, allocations: 8.125 kB / 0.5897 GB, free: 9.359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002236/0.496, allocations: 76.38 kB / 0.5898 GB, free: 9.285 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.477e-05/0.496, allocations: 51.94 kB / 0.5898 GB, free: 9.234 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/0.5004, allocations: 2.284 MB / 0.592 GB, free: 6.949 MB / 478.1 MB 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.01199/0.5124, allocations: 5.826 MB / 0.5977 GB, free: 0.9844 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004455/0.5169, allocations: 1.561 MB / 0.5993 GB, free: 15.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001364/0.5182, allocations: 0.7279 MB / 0.6 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008215/0.5264, allocations: 3.929 MB / 0.6038 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.5265, allocations: 47.88 kB / 0.6038 GB, free: 10.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=132): time 3.216e-06/0.5265, allocations: 0 / 0.6038 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=174): time 0.0194/0.5459, allocations: 6.512 MB / 0.6102 GB, free: 4.059 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/0.546, allocations: 103 kB / 0.6103 GB, free: 3.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.5472, allocations: 0.939 MB / 0.6112 GB, free: 2.98 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.5474, allocations: 53.7 kB / 0.6113 GB, free: 2.922 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007444/0.5481, allocations: 0.9103 MB / 0.6122 GB, free: 2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006059/0.5487, allocations: 0.612 MB / 0.6128 GB, free: 1.383 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006375/0.5494, allocations: 411.5 kB / 0.6132 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5495, allocations: 301.1 kB / 0.6134 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001257/0.5508, allocations: 0.617 MB / 0.614 GB, free: 56 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/0.5526, allocations: 1.201 MB / 0.6152 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003363/0.556, allocations: 1.988 MB / 0.6172 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.556, allocations: 8 kB / 0.6172 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=262) (initialization): time 0.00588/0.5619, allocations: 2.567 MB / 0.6197 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.902e-05/0.5619, allocations: 15.98 kB / 0.6197 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.5619, allocations: 17.03 kB / 0.6197 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002448/0.5644, allocations: 0.6088 MB / 0.6203 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/0.5669, allocations: 483.3 kB / 0.6208 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1797/0.7466, allocations: 8.791 MB / 0.6293 GB, free: 173.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.7482, allocations: 66.41 kB / 0.6294 GB, free: 173.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.7484, allocations: 163.3 kB / 0.6296 GB, free: 173.7 MB / 0.4981 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.0007696/0.7492, allocations: 429.6 kB / 0.63 GB, free: 173.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002872/0.7495, allocations: 150.6 kB / 0.6301 GB, free: 173.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005703/0.7552, allocations: 2.617 MB / 0.6327 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.7552, allocations: 18.66 kB / 0.6327 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.7552, allocations: 5.438 kB / 0.6327 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.367e-05/0.7552, allocations: 11.89 kB / 0.6327 GB, free: 173.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007015/0.7622, allocations: 3.669 MB / 0.6363 GB, free: 171.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.7623, allocations: 2.562 kB / 0.6363 GB, free: 171.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/0.7644, allocations: 379.5 kB / 0.6367 GB, free: 171.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002099/0.7665, allocations: 0.4992 MB / 0.6371 GB, free: 171.8 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.7667, allocations: 76.06 kB / 0.6372 GB, free: 171.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005407/0.7721, allocations: 6.243 MB / 0.6433 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.7721, allocations: 4.031 kB / 0.6433 GB, free: 166.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006063/0.7782, allocations: 3.141 MB / 0.6464 GB, free: 165 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.7786, allocations: 138.7 kB / 0.6465 GB, free: 165 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.7788, allocations: 43.14 kB / 0.6466 GB, free: 165 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009068/0.7797, allocations: 37.97 kB / 0.6466 GB, free: 164.9 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004681/0.7802, allocations: 173.1 kB / 0.6468 GB, free: 164.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002289/0.7804, allocations: 126.4 kB / 0.6469 GB, free: 164.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008697/0.7813, allocations: 0.5914 MB / 0.6475 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7813, allocations: 6.453 kB / 0.6475 GB, free: 164.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003547/0.7848, allocations: 0.8312 MB / 0.6483 GB, free: 164.6 MB / 0.4981 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.002555/0.7874, allocations: 0.8336 MB / 0.6491 GB, free: 164.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004817/0.7922, allocations: 2.323 MB / 0.6514 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7922, allocations: 0 / 0.6514 GB, free: 163.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/0.7947, allocations: 1.316 MB / 0.6526 GB, free: 162.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.7966, allocations: 303.2 kB / 0.6529 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005102/0.8017, allocations: 3.445 MB / 0.6563 GB, free: 160.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.8023, allocations: 0.8347 MB / 0.6571 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001556/0.8039, allocations: 433.2 kB / 0.6575 GB, free: 160.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007663/0.8047, allocations: 271.1 kB / 0.6578 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of SimCode: time 8.52e-07/0.8047, allocations: 2.688 kB / 0.6578 GB, free: 160.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.04337/0.848, allocations: 34.7 MB / 0.6917 GB, free: 129.8 MB / 0.4981 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: 6.9029226526618] Failed to read output from testmodel.py, exit status != 0: 0.856591884046793 0.86564487 0.38450675700000003 Calling exit ...