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.001565/0.001565, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001911/0.001911, allocations: 195.3 kB / 16.54 MB, free: 6.672 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.366/1.366, allocations: 205.1 MB / 222.4 MB, free: 4.613 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.001214/0.001214, allocations: 56.39 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2643, allocations: 46.63 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3578/0.6222, allocations: 151 MB / 476.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.6242, allocations: 2.087 MB / 478.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.6243, allocations: 0 / 478.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.6247, allocations: 57.86 kB / 478.4 MB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.6261, allocations: 0.616 MB / 479 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000282/0.6264, allocations: 95.98 kB / 479.1 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002697/0.6266, allocations: 261.9 kB / 479.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.6267, allocations: 5.938 kB / 479.4 MB, free: 14.21 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002393/0.6269, allocations: 135.2 kB / 479.5 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.6271, allocations: 93.36 kB / 479.6 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.636e-05/0.6272, allocations: 7.688 kB / 479.6 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.6286, allocations: 0.9126 MB / 480.5 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.044e-05/0.6287, allocations: 86.88 kB / 480.6 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.6288, allocations: 93.52 kB / 480.7 MB, free: 14.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008344/0.6296, allocations: 0.67 MB / 481.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.6297, allocations: 0 / 481.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.6297, allocations: 0 / 481.4 MB, free: 14.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.6297, allocations: 0 / 481.4 MB, free: 14.07 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.0007553/0.6304, allocations: 0.5065 MB / 481.9 MB, free: 13.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6305, allocations: 10.09 kB / 481.9 MB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007539/0.638, allocations: 0.7387 MB / 482.6 MB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004465/0.6385, allocations: 280.7 kB / 482.9 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.6385, allocations: 13.27 kB / 482.9 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000123/0.6386, allocations: 27.77 kB / 483 MB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.64, allocations: 0.6997 MB / 483.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.64, allocations: 0 / 483.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/0.6401, allocations: 6.312 kB / 483.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.6401, allocations: 14.83 kB / 483.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001883/0.642, allocations: 0.9252 MB / 484.6 MB, free: 13.33 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.005039/0.6471, allocations: 2.014 MB / 486.6 MB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.6482, allocations: 0.4973 MB / 487.1 MB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006211/0.6488, allocations: 331.6 kB / 487.4 MB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/0.6496, allocations: 276.9 kB / 487.7 MB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.6496, allocations: 35.97 kB / 487.7 MB, free: 11.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.374e-06/0.6497, allocations: 0 / 487.7 MB, free: 11.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00213/0.6518, allocations: 0.8873 MB / 488.6 MB, free: 11.8 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.487e-05/0.6518, allocations: 81.77 kB / 488.7 MB, free: 11.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.652, allocations: 138.2 kB / 488.8 MB, free: 11.6 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.684e-05/0.652, allocations: 32.58 kB / 488.9 MB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.6521, allocations: 106.7 kB / 489 MB, free: 11.47 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.6522, allocations: 113.8 kB / 489.1 MB, free: 11.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001992/0.6524, allocations: 69.88 kB / 489.2 MB, free: 11.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6526, allocations: 328 kB / 489.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006064/0.6532, allocations: 299.2 kB / 489.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006516/0.6538, allocations: 407.5 kB / 490.2 MB, free: 10.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.6551, allocations: 0.7018 MB / 490.9 MB, free: 10.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6552, allocations: 0 / 490.9 MB, free: 10.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001575/0.6567, allocations: 0.743 MB / 491.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6568, allocations: 7.469 kB / 491.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.6568, allocations: 2.75 kB / 491.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.6568, allocations: 5.344 kB / 491.6 MB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.6579, allocations: 104.6 kB / 491.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.658, allocations: 10.77 kB / 491.7 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009365/0.6589, allocations: 46.12 kB / 491.8 MB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.659, allocations: 22.67 kB / 491.8 MB, free: 10.69 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.000216/0.6592, allocations: 141.5 kB / 491.9 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.6594, allocations: 18.95 kB / 492 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.6613, allocations: 0.7779 MB / 492.7 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.6613, allocations: 3.891 kB / 492.7 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6613, allocations: 3.25 kB / 492.7 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6613, allocations: 1.969 kB / 492.8 MB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009509/0.6623, allocations: 0.8107 MB / 493.6 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.6623, allocations: 3.938 kB / 493.6 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.6634, allocations: 80.2 kB / 493.6 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.6634, allocations: 2.719 kB / 493.6 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/0.6635, allocations: 15.47 kB / 493.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.6635, allocations: 3.094 kB / 493.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.6635, allocations: 0.625 kB / 493.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.6655, allocations: 0.9607 MB / 494.6 MB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.6655, allocations: 96.3 kB / 494.7 MB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.6656, allocations: 9.5 kB / 494.7 MB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.6667, allocations: 30.89 kB / 494.8 MB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.325e-05/0.6667, allocations: 25.53 kB / 494.8 MB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/0.6668, allocations: 16.8 kB / 494.8 MB, free: 9.418 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.235e-05/0.6669, allocations: 106.9 kB / 494.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6669, allocations: 0 / 494.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007805/0.6677, allocations: 182.5 kB / 495.1 MB, free: 9.312 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.0008778/0.6686, allocations: 337.5 kB / 495.4 MB, free: 9.129 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.67, allocations: 0.6808 MB / 496.1 MB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.67, allocations: 0.8125 kB / 496.1 MB, free: 9.008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006576/0.6707, allocations: 333.2 kB / 496.4 MB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007478/0.6714, allocations: 91.8 kB / 496.5 MB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.6732, allocations: 0.9404 MB / 497.4 MB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.6736, allocations: 0.7428 MB / 498.2 MB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001302/0.6749, allocations: 178.3 kB / 498.4 MB, free: 7.445 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.6752, allocations: 42.22 kB / 498.4 MB, free: 7.43 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6752, allocations: 0 / 498.4 MB, free: 7.43 MB / 398.1 MB Notification: Performance of Templates: time 0.01507/0.6902, allocations: 10.54 MB / 0.497 GB, free: 1.941 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)