Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001528/0.001528, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001976/0.001976, allocations: 194.4 kB / 16.14 MB, free: 6.707 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.417/1.417, allocations: 205.1 MB / 222 MB, free: 4.988 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.001157/0.001157, allocations: 43.94 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2101, allocations: 46.63 MB / 324.7 MB, free: 2.152 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.331/0.5411, allocations: 148.7 MB / 473.4 MB, free: 15.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.5431, allocations: 2.141 MB / 475.6 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.5432, allocations: 2.844 kB / 475.6 MB, free: 14.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003018/0.5435, allocations: 50.78 kB / 475.6 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.5447, allocations: 0.5559 MB / 476.2 MB, free: 14.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.5449, allocations: 97.22 kB / 476.3 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.5453, allocations: 376.2 kB / 476.6 MB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.5453, allocations: 13.03 kB / 476.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002201/0.5456, allocations: 125.9 kB / 476.8 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.5457, allocations: 99.39 kB / 476.9 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.5458, allocations: 5.281 kB / 476.9 MB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001815/0.5476, allocations: 1.189 MB / 478.1 MB, free: 14.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-05/0.5477, allocations: 80.78 kB / 478.1 MB, free: 14.65 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.5478, allocations: 100.2 kB / 478.2 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.5489, allocations: 0.753 MB / 479 MB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5489, allocations: 3.562 kB / 479 MB, free: 14.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5489, allocations: 0 / 479 MB, free: 14.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.549, allocations: 1.203 kB / 479 MB, free: 14.59 MB / 398.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.0008436/0.5498, allocations: 0.5017 MB / 479.5 MB, free: 14.17 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.5499, allocations: 14.41 kB / 479.5 MB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007372/0.5572, allocations: 0.7372 MB / 480.2 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.5578, allocations: 276 kB / 480.5 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5579, allocations: 10.83 kB / 480.5 MB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.558, allocations: 28.19 kB / 480.6 MB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.5595, allocations: 0.7048 MB / 481.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5595, allocations: 0 / 481.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.5596, allocations: 9.781 kB / 481.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.5597, allocations: 10.53 kB / 481.3 MB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.5616, allocations: 0.9175 MB / 482.2 MB, free: 13.86 MB / 398.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.004972/0.5666, allocations: 2.012 MB / 484.2 MB, free: 12.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.5677, allocations: 0.5023 MB / 484.7 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.5683, allocations: 328.2 kB / 485 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007805/0.5691, allocations: 274 kB / 485.3 MB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.5691, allocations: 42.09 kB / 485.3 MB, free: 12.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.405e-06/0.5691, allocations: 0 / 485.3 MB, free: 12.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002177/0.5713, allocations: 0.8869 MB / 486.2 MB, free: 12.32 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.5714, allocations: 79.95 kB / 486.3 MB, free: 12.23 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.5715, allocations: 133.7 kB / 486.4 MB, free: 12.13 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.185e-05/0.5716, allocations: 28.89 kB / 486.5 MB, free: 12.1 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.5717, allocations: 121.1 kB / 486.6 MB, free: 12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001237/0.5718, allocations: 106.7 kB / 486.7 MB, free: 11.93 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.572, allocations: 71.77 kB / 486.8 MB, free: 11.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.5721, allocations: 326 kB / 487.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005929/0.5727, allocations: 297.6 kB / 487.4 MB, free: 11.6 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006905/0.5734, allocations: 403.2 kB / 487.8 MB, free: 11.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.5747, allocations: 0.7014 MB / 488.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.5747, allocations: 2.906 kB / 488.5 MB, free: 11.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001538/0.5763, allocations: 0.7458 MB / 489.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.5763, allocations: 7.812 kB / 489.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.5763, allocations: 2.281 kB / 489.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.5764, allocations: 5.25 kB / 489.2 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5774, allocations: 98.38 kB / 489.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5774, allocations: 10.91 kB / 489.3 MB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008671/0.5783, allocations: 55.03 kB / 489.4 MB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.5784, allocations: 27.36 kB / 489.4 MB, free: 11.22 MB / 398.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.0002243/0.5786, allocations: 144.6 kB / 489.6 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.5788, allocations: 15.62 kB / 489.6 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.5807, allocations: 0.777 MB / 490.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5807, allocations: 2.719 kB / 490.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.5807, allocations: 2.562 kB / 490.3 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5807, allocations: 6.531 kB / 490.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009745/0.5817, allocations: 0.8102 MB / 491.2 MB, free: 10.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5817, allocations: 3.938 kB / 491.2 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.5828, allocations: 80.17 kB / 491.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5828, allocations: 2.844 kB / 491.2 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.15e-05/0.5829, allocations: 15.91 kB / 491.3 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/0.5829, allocations: 3.625 kB / 491.3 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5829, allocations: 80 / 491.3 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001922/0.5848, allocations: 0.9606 MB / 492.2 MB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.274e-05/0.5849, allocations: 107.3 kB / 492.3 MB, free: 9.969 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.132e-05/0.585, allocations: 10.48 kB / 492.3 MB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009648/0.586, allocations: 36.64 kB / 492.4 MB, free: 9.949 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.586, allocations: 17.52 kB / 492.4 MB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.153e-05/0.5861, allocations: 18.25 kB / 492.4 MB, free: 9.938 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.63e-05/0.5862, allocations: 99.7 kB / 492.5 MB, free: 9.859 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5862, allocations: 4 kB / 492.5 MB, free: 9.855 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008512/0.5871, allocations: 182 kB / 492.7 MB, free: 9.836 MB / 398.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.0009979/0.5881, allocations: 342.7 kB / 493 MB, free: 9.645 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.5895, allocations: 0.6553 MB / 493.7 MB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.5895, allocations: 4.25 kB / 493.7 MB, free: 9.531 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006441/0.5902, allocations: 332.5 kB / 494 MB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007712/0.5909, allocations: 92.05 kB / 494.1 MB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001746/0.5927, allocations: 0.9975 MB / 495.1 MB, free: 8.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.5931, allocations: 0.7398 MB / 495.8 MB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001393/0.5945, allocations: 178.9 kB / 496 MB, free: 7.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/0.5948, allocations: 38.72 kB / 496.1 MB, free: 7.91 MB / 398.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5948, allocations: 4 kB / 496.1 MB, free: 7.906 MB / 398.1 MB Notification: Performance of Templates: time 0.0155/0.6103, allocations: 10.24 MB / 0.4944 GB, free: 2.582 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)