Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0009478/0.0009477, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009523/0.0009527, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.0004423/0.0004423, allocations: 16 kB / 278.9 MB, free: 12.85 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.2154, allocations: 47.57 MB / 326.4 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.1775/0.3929, allocations: 125.8 MB / 452.2 MB, free: 5.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003813/0.3968, allocations: 1.719 MB / 454 MB, free: 3.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.948e-05/0.3969, allocations: 3.938 kB / 454 MB, free: 3.676 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.3973, allocations: 43.8 kB / 454 MB, free: 3.633 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001873/0.3992, allocations: 438.7 kB / 454.4 MB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.3996, allocations: 87.81 kB / 454.5 MB, free: 3.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003533/0.4, allocations: 155.7 kB / 454.7 MB, free: 2.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.601e-05/0.4001, allocations: 7.984 kB / 454.7 MB, free: 2.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005927/0.4007, allocations: 179.5 kB / 454.8 MB, free: 2.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.401, allocations: 71.81 kB / 454.9 MB, free: 2.711 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.401, allocations: 4 kB / 454.9 MB, free: 2.707 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00242/0.4034, allocations: 0.7062 MB / 455.6 MB, free: 2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.4036, allocations: 75.83 kB / 455.7 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.881e-05/0.4037, allocations: 57.64 kB / 455.8 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.4048, allocations: 460.5 kB / 456.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4049, allocations: 0 / 456.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4049, allocations: 0 / 456.2 MB, free: 1.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.4049, allocations: 0 / 456.2 MB, free: 1.414 MB / 382.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.0009923/0.4059, allocations: 463.2 kB / 456.7 MB, free: 0.9141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.406, allocations: 11.97 kB / 456.7 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.4097, allocations: 259.5 kB / 456.9 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004985/0.4102, allocations: 254.7 kB / 457.2 MB, free: 368 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.354e-05/0.4102, allocations: 12.27 kB / 457.2 MB, free: 356 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.4104, allocations: 20 kB / 457.2 MB, free: 336 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1475/0.5579, allocations: 494.1 kB / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.558, allocations: 0 / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/0.5581, allocations: 9.969 kB / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/0.5581, allocations: 9.188 kB / 457.7 MB, free: 127.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.5592, allocations: 0.5907 MB / 458.3 MB, free: 127.7 MB / 382.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.002445/0.5616, allocations: 0.9986 MB / 459.3 MB, free: 127.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003769/0.562, allocations: 240.5 kB / 459.5 MB, free: 127.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.5627, allocations: 264.6 kB / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.11e-05/0.5628, allocations: 44.09 kB / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.5628, allocations: 0 / 459.8 MB, free: 126.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001879/0.5646, allocations: 0.5991 MB / 460.4 MB, free: 126.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.5647, allocations: 83.84 kB / 460.5 MB, free: 126.5 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.759e-05/0.5648, allocations: 134.9 kB / 460.6 MB, free: 126.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.5648, allocations: 35.89 kB / 460.7 MB, free: 126.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.664e-05/0.5649, allocations: 115.9 kB / 460.8 MB, free: 126.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.565, allocations: 105.3 kB / 460.9 MB, free: 126.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.565, allocations: 6.062 kB / 460.9 MB, free: 126.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.339e-05/0.5651, allocations: 332.1 kB / 461.2 MB, free: 125.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.5654, allocations: 184.4 kB / 461.4 MB, free: 125.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.5657, allocations: 285.1 kB / 461.7 MB, free: 125.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.5661, allocations: 217.2 kB / 461.9 MB, free: 125.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5661, allocations: 1.25 kB / 461.9 MB, free: 125.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008293/0.5669, allocations: 0.5132 MB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.567, allocations: 9.547 kB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.567, allocations: 8.609 kB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.567, allocations: 6.031 kB / 462.4 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.5675, allocations: 79.52 kB / 462.5 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5675, allocations: 15.48 kB / 462.5 MB, free: 125.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.568, allocations: 46.31 kB / 462.6 MB, free: 125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.66e-05/0.568, allocations: 23.09 kB / 462.6 MB, free: 125 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.5682, allocations: 143.6 kB / 462.7 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.5683, allocations: 12.31 kB / 462.7 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008777/0.5691, allocations: 0.4968 MB / 463.2 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.5692, allocations: 3.562 kB / 463.2 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5692, allocations: 0 / 463.2 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5692, allocations: 4.938 kB / 463.3 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006063/0.5698, allocations: 468 kB / 463.7 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.5698, allocations: 0 / 463.7 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005169/0.5703, allocations: 63.11 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.5703, allocations: 2.094 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/0.5704, allocations: 8.625 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.5704, allocations: 5.141 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5704, allocations: 1.312 kB / 463.8 MB, free: 124.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.5714, allocations: 0.7018 MB / 464.5 MB, free: 123.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/0.5714, allocations: 98.58 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.5715, allocations: 8.406 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.572, allocations: 22.09 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.436e-05/0.572, allocations: 22.33 kB / 464.6 MB, free: 123.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/0.5721, allocations: 21.42 kB / 464.7 MB, free: 123.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.627e-05/0.5721, allocations: 96.61 kB / 464.8 MB, free: 123.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5721, allocations: 0 / 464.8 MB, free: 123.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006268/0.5728, allocations: 160.3 kB / 464.9 MB, free: 123.4 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006619/0.5734, allocations: 284.9 kB / 465.2 MB, free: 123.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006701/0.5741, allocations: 437.9 kB / 465.6 MB, free: 123.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5741, allocations: 0 / 465.6 MB, free: 123.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.5744, allocations: 209.9 kB / 465.8 MB, free: 123 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.575, allocations: 87.45 kB / 465.9 MB, free: 122.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5761, allocations: 1.066 MB / 467 MB, free: 122.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.5763, allocations: 0.7401 MB / 467.7 MB, free: 121.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.5769, allocations: 117.6 kB / 467.8 MB, free: 121.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.577, allocations: 31.42 kB / 467.9 MB, free: 121.2 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.577, allocations: 0 / 467.9 MB, free: 121.2 MB / 382.1 MB Notification: Performance of Templates: time 0.00987/0.5869, allocations: 7.674 MB / 475.5 MB, free: 113.6 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1) Environment - environmentSimulation: