Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_Chemical.Examples.HydrogenCombustion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 104.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 191.7 kB / 19.4 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo): time 0.1159/0.1159, allocations: 15.53 MB / 318.2 MB, free: 10.24 MB / 254.1 MB " [Timeout remaining time 180] Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") translateModel(Chemical.Examples.HydrogenCombustion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.HydrogenCombustion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 63.89 kB / 445.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1458, allocations: 56.54 MB / 0.4902 GB, free: 4.445 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1-master/package.mo:4740:7-4740: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 1.4.1-master/package.mo:4740:7-4740: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.Examples.HydrogenCombustion): time 0.5889/0.7347, allocations: 29.21 MB / 0.5187 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2189/0.9536, allocations: 153.7 MB / 0.6688 GB, free: 3.672 MB / 0.4982 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.9559, allocations: 23.94 kB / 0.6688 GB, free: 3.648 MB / 0.4982 GB Notification: Performance of NFTyping.typeComponents: time 0.002123/0.958, allocations: 0.5194 MB / 0.6693 GB, free: 3.125 MB / 0.4982 GB Notification: Performance of NFTyping.typeBindings: time 0.007574/0.9656, allocations: 1.66 MB / 0.6709 GB, free: 1.453 MB / 0.4982 GB Notification: Performance of NFTyping.typeClassSections: time 0.01217/0.9778, allocations: 2.995 MB / 0.6738 GB, free: 14.44 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.005375/0.9832, allocations: 2.59 MB / 0.6764 GB, free: 11.84 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/0.9855, allocations: 1.241 MB / 0.6776 GB, free: 10.55 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002308/0.9878, allocations: 1.251 MB / 0.6788 GB, free: 9.297 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002859/0.9906, allocations: 1.421 MB / 0.6802 GB, free: 7.871 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0006234/0.9913, allocations: 228 kB / 0.6804 GB, free: 7.648 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009851/1.001, allocations: 2.379 MB / 0.6827 GB, free: 5.266 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.001095/1.002, allocations: 0.5724 MB / 0.6833 GB, free: 4.691 MB / 0.5138 GB Notification: Performance of NFVerifyModel.verify: time 0.002213/1.004, allocations: 1.186 MB / 0.6845 GB, free: 3.5 MB / 0.5138 GB Notification: Performance of NFConvertDAE.convert: time 0.01612/1.021, allocations: 4.978 MB / 0.6893 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 1.062e-05/1.021, allocations: 4 kB / 0.6893 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.014e-06/1.021, allocations: 0 / 0.6893 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.611e-05/1.021, allocations: 0 / 0.6893 GB, free: 14.5 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.00648/1.027, allocations: 2.906 MB / 0.6922 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/1.027, allocations: 12.03 kB / 0.6922 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004525/1.032, allocations: 0.8542 MB / 0.693 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.034, allocations: 0.9828 MB / 0.694 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002294/1.034, allocations: 199.8 kB / 0.6942 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/1.035, allocations: 200.3 kB / 0.6943 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004227/1.039, allocations: 2.148 MB / 0.6964 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.934e-05/1.039, allocations: 8 kB / 0.6965 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001862/1.039, allocations: 76 kB / 0.6965 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/1.039, allocations: 51.98 kB / 0.6966 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00447/1.044, allocations: 2.307 MB / 0.6988 GB, free: 4.602 MB / 0.5294 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.01537/1.059, allocations: 7.635 MB / 0.7063 GB, free: 12.56 MB / 0.5451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004901/1.064, allocations: 2.095 MB / 0.7083 GB, free: 10.32 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/1.065, allocations: 0.7393 MB / 0.7091 GB, free: 9.582 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01089/1.076, allocations: 6.622 MB / 0.7155 GB, free: 2.309 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.954e-05/1.076, allocations: 51.62 kB / 0.7156 GB, free: 2.25 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=133): time 3.256e-06/1.076, allocations: 0 / 0.7156 GB, free: 2.25 MB / 0.5451 GB Notification: Performance of matching and sorting (n=176): time 0.3925/1.469, allocations: 6.998 MB / 0.7224 GB, free: 45.26 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.469, allocations: 94.92 kB / 0.7225 GB, free: 45.16 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002285/1.471, allocations: 0.9565 MB / 0.7234 GB, free: 45 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.0002809/1.471, allocations: 58.05 kB / 0.7235 GB, free: 44.97 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008112/1.472, allocations: 0.8975 MB / 0.7244 GB, free: 44.6 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.00085/1.473, allocations: 0.6266 MB / 0.725 GB, free: 44.27 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001186/1.474, allocations: 415 kB / 0.7254 GB, free: 44.23 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 6.012e-05/1.474, allocations: 302 kB / 0.7257 GB, free: 43.93 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002523/1.477, allocations: 0.6283 MB / 0.7263 GB, free: 43.93 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003176/1.48, allocations: 1.201 MB / 0.7274 GB, free: 43.27 MB / 0.5451 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005625/1.486, allocations: 2.008 MB / 0.7294 GB, free: 42.61 MB / 0.5451 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.734e-05/1.486, allocations: 4.875 kB / 0.7294 GB, free: 42.61 MB / 0.5451 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.01136/1.497, allocations: 2.62 MB / 0.732 GB, free: 42.38 MB / 0.5451 GB Notification: Performance of prepare postOptimizeDAE: time 6.654e-05/1.497, allocations: 15.19 kB / 0.732 GB, free: 42.38 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/1.497, allocations: 19 kB / 0.732 GB, free: 42.38 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004959/1.502, allocations: 0.6169 MB / 0.7326 GB, free: 42.33 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004831/1.507, allocations: 492 kB / 0.7331 GB, free: 42.33 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/1.523, allocations: 9.521 MB / 0.7424 GB, free: 35.43 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/1.526, allocations: 65.34 kB / 0.7424 GB, free: 35.43 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006827/1.527, allocations: 163.2 kB / 0.7426 GB, free: 35.43 MB / 0.5451 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,10,100.0%), (1,11,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,6), (1,11), (1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.001761/1.528, allocations: 428.7 kB / 0.743 GB, free: 35.32 MB / 0.5451 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006835/1.529, allocations: 164.8 kB / 0.7431 GB, free: 35.23 MB / 0.5451 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007055/1.536, allocations: 2.712 MB / 0.7458 GB, free: 35.05 MB / 0.5451 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/1.536, allocations: 21.97 kB / 0.7458 GB, free: 35.05 MB / 0.5451 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.603e-05/1.536, allocations: 10.62 kB / 0.7458 GB, free: 35.05 MB / 0.5451 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.47e-05/1.536, allocations: 13.17 kB / 0.7458 GB, free: 35.05 MB / 0.5451 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007699/1.544, allocations: 4.246 MB / 0.75 GB, free: 34.52 MB / 0.5451 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/1.544, allocations: 3.844 kB / 0.75 GB, free: 34.52 MB / 0.5451 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001878/1.546, allocations: 357.6 kB / 0.7503 GB, free: 34.52 MB / 0.5451 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/1.548, allocations: 0.5852 MB / 0.7509 GB, free: 34.47 MB / 0.5451 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002009/1.548, allocations: 77.09 kB / 0.751 GB, free: 34.47 MB / 0.5451 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007926/1.556, allocations: 8.661 MB / 0.7594 GB, free: 27.85 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.556, allocations: 8.656 kB / 0.7594 GB, free: 27.85 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006804/1.563, allocations: 3.272 MB / 0.7626 GB, free: 27.38 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/1.563, allocations: 215.1 kB / 0.7628 GB, free: 27.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/1.564, allocations: 33.69 kB / 0.7629 GB, free: 27.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.565, allocations: 37.98 kB / 0.7629 GB, free: 27.2 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004409/1.565, allocations: 174.2 kB / 0.7631 GB, free: 27.2 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/1.566, allocations: 124.1 kB / 0.7632 GB, free: 27.2 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.001106/1.567, allocations: 0.625 MB / 0.7638 GB, free: 27.09 MB / 0.5451 GB Notification: Performance of sort global known variables: time 9e-08/1.567, allocations: 0 / 0.7638 GB, free: 27.09 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.00357/1.57, allocations: 0.8466 MB / 0.7646 GB, free: 27.07 MB / 0.5451 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 (147): * Single equations (assignments): 141 * 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,6,100.0%), (1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,10), (1,8), (1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002085/1.572, allocations: 0.8049 MB / 0.7654 GB, free: 26.87 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.004876/1.577, allocations: 2.367 MB / 0.7677 GB, free: 26.34 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/1.577, allocations: 0 / 0.7677 GB, free: 26.34 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.003133/1.58, allocations: 1.478 MB / 0.7692 GB, free: 25.86 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0023/1.583, allocations: 309.3 kB / 0.7695 GB, free: 25.84 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007997/1.591, allocations: 3.603 MB / 0.773 GB, free: 24.52 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.592, allocations: 1.41 MB / 0.7744 GB, free: 23.78 MB / 0.5451 GB Notification: Performance of simCode: alias equations: time 0.002057/1.594, allocations: 430 kB / 0.7748 GB, free: 23.76 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009409/1.595, allocations: 283.4 kB / 0.775 GB, free: 23.74 MB / 0.5451 GB Notification: Performance of SimCode: time 1.382e-06/1.595, allocations: 0 / 0.775 GB, free: 23.74 MB / 0.5451 GB Notification: Performance of Templates: time 0.0534/1.649, allocations: 36.92 MB / 0.8111 GB, free: 15.84 MB / 0.5607 GB " [Timeout remaining time 658] make -j1 -f Chemical_Chemical.Examples.HydrogenCombustion.makefile [Timeout 660] (rm -f Chemical_Chemical.Examples.HydrogenCombustion.pipe ; mkfifo Chemical_Chemical.Examples.HydrogenCombustion.pipe ; head -c 1048576 < Chemical_Chemical.Examples.HydrogenCombustion.pipe >> ../files/Chemical_Chemical.Examples.HydrogenCombustion.sim & ./Chemical_Chemical.Examples.HydrogenCombustion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Examples.HydrogenCombustion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.0274522555992]