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.00137/0.00137, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001209/0.001209, allocations: 190.4 kB / 16.25 MB, free: 6.617 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.323/1.323, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.001162/0.001162, allocations: 43.94 kB / 278.2 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2126, allocations: 46.63 MB / 324.8 MB, free: 2.141 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3282/0.5408, allocations: 148.9 MB / 473.7 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.5428, allocations: 2.09 MB / 475.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.467e-05/0.5428, allocations: 0 / 475.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.5432, allocations: 52.52 kB / 475.8 MB, free: 14.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.5444, allocations: 0.5569 MB / 476.4 MB, free: 14.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.5447, allocations: 95.58 kB / 476.5 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002584/0.5449, allocations: 263 kB / 476.7 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.658e-05/0.545, allocations: 7.562 kB / 476.8 MB, free: 14.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.5452, allocations: 129.7 kB / 476.9 MB, free: 14.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.5455, allocations: 104.4 kB / 477 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.5455, allocations: 8.281 kB / 477 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.5471, allocations: 1.09 MB / 478.1 MB, free: 14.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.5472, allocations: 75.55 kB / 478.2 MB, free: 14.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.5473, allocations: 98.7 kB / 478.3 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009605/0.5483, allocations: 0.7589 MB / 479 MB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5483, allocations: 0 / 479 MB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.5483, allocations: 0 / 479 MB, free: 14.29 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.5483, allocations: 0 / 479 MB, free: 14.29 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.0007874/0.5491, allocations: 0.5014 MB / 479.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.5491, allocations: 9.625 kB / 479.5 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006902/0.556, allocations: 0.741 MB / 480.3 MB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.5565, allocations: 281.5 kB / 480.5 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.5565, allocations: 9.203 kB / 480.5 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.5567, allocations: 24.53 kB / 480.6 MB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.558, allocations: 0.7031 MB / 481.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.5581, allocations: 2.672 kB / 481.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/0.5582, allocations: 9.719 kB / 481.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.5582, allocations: 10.83 kB / 481.3 MB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.5601, allocations: 0.9262 MB / 482.2 MB, free: 13.56 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.004912/0.565, allocations: 2.005 MB / 484.2 MB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.5661, allocations: 0.5051 MB / 484.7 MB, free: 12.33 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005907/0.5667, allocations: 321.7 kB / 485 MB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007715/0.5675, allocations: 282.3 kB / 485.3 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.5675, allocations: 41.22 kB / 485.4 MB, free: 12.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.5675, allocations: 0 / 485.4 MB, free: 12.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002084/0.5696, allocations: 0.8855 MB / 486.2 MB, free: 12.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/0.5698, allocations: 79.2 kB / 486.3 MB, free: 11.93 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.5699, allocations: 139.7 kB / 486.5 MB, free: 11.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.159e-05/0.57, allocations: 28.89 kB / 486.5 MB, free: 11.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.378e-05/0.5701, allocations: 116.3 kB / 486.6 MB, free: 11.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.5702, allocations: 112.3 kB / 486.7 MB, free: 11.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.5704, allocations: 70.67 kB / 486.8 MB, free: 11.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5705, allocations: 330.8 kB / 487.1 MB, free: 11.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.5711, allocations: 294.6 kB / 487.4 MB, free: 11.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.5717, allocations: 404.2 kB / 487.8 MB, free: 11.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.573, allocations: 0.7011 MB / 488.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.573, allocations: 0 / 488.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001481/0.5745, allocations: 0.7459 MB / 489.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5745, allocations: 10.16 kB / 489.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5745, allocations: 2.281 kB / 489.2 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.5745, allocations: 4.75 kB / 489.3 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5756, allocations: 107.7 kB / 489.4 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.5756, allocations: 5.281 kB / 489.4 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.5764, allocations: 56.03 kB / 489.4 MB, free: 10.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.996e-05/0.5765, allocations: 22.95 kB / 489.4 MB, free: 10.92 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.0002275/0.5768, allocations: 145.3 kB / 489.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.5769, allocations: 20.5 kB / 489.6 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.5788, allocations: 0.778 MB / 490.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5788, allocations: 2.531 kB / 490.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5788, allocations: 2.875 kB / 490.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.5788, allocations: 1.969 kB / 490.4 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001076/0.5799, allocations: 0.8057 MB / 491.2 MB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.5799, allocations: 7.938 kB / 491.2 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009886/0.5809, allocations: 78.72 kB / 491.3 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.5809, allocations: 2.719 kB / 491.3 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.581, allocations: 12.83 kB / 491.3 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.581, allocations: 6.969 kB / 491.3 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.581, allocations: 0 / 491.3 MB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.5829, allocations: 0.9576 MB / 492.3 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.831e-05/0.583, allocations: 96.2 kB / 492.3 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.307e-05/0.5831, allocations: 7.672 kB / 492.4 MB, free: 9.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009364/0.584, allocations: 40.81 kB / 492.4 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.5841, allocations: 20.69 kB / 492.4 MB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.105e-05/0.5842, allocations: 19.81 kB / 492.4 MB, free: 9.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.54e-05/0.5842, allocations: 102.6 kB / 492.5 MB, free: 9.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5842, allocations: 0 / 492.5 MB, free: 9.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000781/0.585, allocations: 179.5 kB / 492.7 MB, free: 9.715 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.0009116/0.5859, allocations: 338.8 kB / 493 MB, free: 9.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.5873, allocations: 0.6862 MB / 493.7 MB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.5873, allocations: 0 / 493.7 MB, free: 9.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006263/0.588, allocations: 333.5 kB / 494.1 MB, free: 9.535 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007354/0.5887, allocations: 97.75 kB / 494.1 MB, free: 9.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.5903, allocations: 0.9949 MB / 495.1 MB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.5906, allocations: 0.7458 MB / 495.9 MB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00136/0.592, allocations: 179.2 kB / 496.1 MB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003076/0.5923, allocations: 35.56 kB / 496.1 MB, free: 8.074 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5923, allocations: 0 / 496.1 MB, free: 8.074 MB / 398.1 MB Notification: Performance of Templates: time 0.01477/0.6071, allocations: 10.53 MB / 0.4948 GB, free: 2.734 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)