Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 108.9 kB / 17.06 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009951/0.0009951, allocations: 192 kB / 18 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.308/1.308, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 47.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08312/0.08434, allocations: 46.62 MB / 374.5 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3386/0.423, allocations: 151 MB / 0.5132 GB, free: 8.156 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.4256, allocations: 2.094 MB / 0.5152 GB, free: 6.062 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.4257, allocations: 4 kB / 0.5152 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000367/0.4261, allocations: 55.7 kB / 0.5153 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001658/0.4278, allocations: 0.5988 MB / 0.5158 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.4281, allocations: 104.2 kB / 0.5159 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003496/0.4285, allocations: 263 kB / 0.5162 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.4286, allocations: 8 kB / 0.5162 GB, free: 5.035 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.4289, allocations: 137.1 kB / 0.5163 GB, free: 4.902 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.4292, allocations: 87.72 kB / 0.5164 GB, free: 4.816 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.4292, allocations: 8 kB / 0.5164 GB, free: 4.809 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.4309, allocations: 0.8378 MB / 0.5172 GB, free: 3.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.4311, allocations: 75.77 kB / 0.5173 GB, free: 3.895 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.4312, allocations: 103.6 kB / 0.5174 GB, free: 3.793 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.4325, allocations: 0.6465 MB / 0.518 GB, free: 3.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.4325, allocations: 4 kB / 0.518 GB, free: 3.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4325, allocations: 0 / 0.518 GB, free: 3.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4325, allocations: 0 / 0.518 GB, free: 3.145 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009293/0.4335, allocations: 0.4999 MB / 0.5185 GB, free: 2.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4335, allocations: 8.031 kB / 0.5185 GB, free: 2.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.4356, allocations: 268.4 kB / 0.5188 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/0.436, allocations: 280 kB / 0.5191 GB, free: 2.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.4361, allocations: 8.891 kB / 0.5191 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.845e-05/0.4362, allocations: 27.92 kB / 0.5191 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007475/0.4369, allocations: 0.4928 MB / 0.5196 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4369, allocations: 0 / 0.5196 GB, free: 1.477 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.437, allocations: 8 kB / 0.5196 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/0.437, allocations: 8 kB / 0.5196 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00085/0.4379, allocations: 0.5894 MB / 0.5202 GB, free: 0.8711 MB / 446.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.002254/0.4401, allocations: 1.027 MB / 0.5212 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/0.4405, allocations: 237.1 kB / 0.5214 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.4408, allocations: 185.6 kB / 0.5216 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/0.4416, allocations: 274 kB / 0.5218 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.4417, allocations: 42.5 kB / 0.5219 GB, free: 15 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.4417, allocations: 0 / 0.5219 GB, free: 15 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002067/0.4437, allocations: 0.6035 MB / 0.5225 GB, free: 14.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.4438, allocations: 81.11 kB / 0.5225 GB, free: 14.29 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.4439, allocations: 129.8 kB / 0.5227 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.444, allocations: 29.7 kB / 0.5227 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.4441, allocations: 120.3 kB / 0.5228 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.945e-05/0.4442, allocations: 102.5 kB / 0.5229 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.4443, allocations: 61.69 kB / 0.523 GB, free: 13.83 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4444, allocations: 334.8 kB / 0.5233 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003365/0.4448, allocations: 179.9 kB / 0.5235 GB, free: 13.32 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004097/0.4452, allocations: 288.5 kB / 0.5237 GB, free: 12.99 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007524/0.4459, allocations: 493.4 kB / 0.5242 GB, free: 12.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.446, allocations: 0 / 0.5242 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009367/0.4469, allocations: 0.5285 MB / 0.5247 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.4469, allocations: 8.062 kB / 0.5247 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.4469, allocations: 4 kB / 0.5247 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.447, allocations: 8 kB / 0.5247 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.4475, allocations: 83.77 kB / 0.5248 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4476, allocations: 4 kB / 0.5248 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.448, allocations: 42.42 kB / 0.5249 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.158e-05/0.448, allocations: 19.98 kB / 0.5249 GB, free: 11.76 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.4482, allocations: 145.7 kB / 0.525 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.4484, allocations: 23.75 kB / 0.525 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009993/0.4494, allocations: 487.7 kB / 0.5255 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.4494, allocations: 4 kB / 0.5255 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4494, allocations: 0 / 0.5255 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.4494, allocations: 7.984 kB / 0.5255 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007426/0.4502, allocations: 450.1 kB / 0.5259 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4502, allocations: 3.938 kB / 0.526 GB, free: 10.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/0.4507, allocations: 59.95 kB / 0.526 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.4508, allocations: 7.938 kB / 0.526 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.4508, allocations: 11.98 kB / 0.526 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.4508, allocations: 0 / 0.526 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4508, allocations: 4 kB / 0.526 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001119/0.4519, allocations: 0.6846 MB / 0.5267 GB, free: 9.816 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.452, allocations: 92.86 kB / 0.5268 GB, free: 9.707 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.4521, allocations: 11.94 kB / 0.5268 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005249/0.4526, allocations: 27.97 kB / 0.5268 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.4527, allocations: 19.97 kB / 0.5268 GB, free: 9.648 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.264e-05/0.4527, allocations: 11.98 kB / 0.5269 GB, free: 9.637 MB / 462.1 MB Notification: Performance of sorting global known variables: time 8.696e-05/0.4528, allocations: 104.4 kB / 0.527 GB, free: 9.535 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4528, allocations: 3.938 kB / 0.527 GB, free: 9.531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007813/0.4536, allocations: 155.9 kB / 0.5271 GB, free: 9.379 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.T) * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008222/0.4544, allocations: 339.9 kB / 0.5274 GB, free: 9.035 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008132/0.4552, allocations: 439.5 kB / 0.5279 GB, free: 8.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.4553, allocations: 4 kB / 0.5279 GB, free: 8.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.4556, allocations: 219.7 kB / 0.5281 GB, free: 8.387 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.4564, allocations: 94.91 kB / 0.5282 GB, free: 8.301 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4578, allocations: 0.8872 MB / 0.529 GB, free: 7.391 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.4581, allocations: 0.7325 MB / 0.5297 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.4586, allocations: 117.8 kB / 0.5299 GB, free: 6.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.4587, allocations: 35.42 kB / 0.5299 GB, free: 6.484 MB / 462.1 MB Notification: Performance of SimCode: time 2e-07/0.4587, allocations: 0 / 0.5299 GB, free: 6.484 MB / 462.1 MB Notification: Performance of Templates: time 0.01321/0.472, allocations: 8.147 MB / 0.5378 GB, free: 14.33 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)