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.0008139/0.0008139, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.005153/0.005153, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.318/1.318, allocations: 205.4 MB / 222.4 MB, free: 5.777 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.0004292/0.0004292, allocations: 15.98 kB / 279.5 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 47.57 MB / 327 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3556/0.5622, allocations: 146.8 MB / 473.9 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.5646, allocations: 2.127 MB / 476 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.881e-05/0.5647, allocations: 2.734 kB / 476 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.5651, allocations: 47.2 kB / 476 MB, free: 15.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001427/0.5665, allocations: 0.5513 MB / 476.6 MB, free: 15.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.5668, allocations: 97.11 kB / 476.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.5672, allocations: 365.5 kB / 477 MB, free: 15.13 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.5673, allocations: 9.344 kB / 477 MB, free: 15.13 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.5676, allocations: 127.8 kB / 477.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.5678, allocations: 107.2 kB / 477.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.5678, allocations: 6.25 kB / 477.3 MB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001727/0.5695, allocations: 1.194 MB / 478.5 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.681e-05/0.5696, allocations: 78.55 kB / 478.6 MB, free: 15.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.5697, allocations: 113.3 kB / 478.7 MB, free: 15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.5708, allocations: 0.7597 MB / 479.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5708, allocations: 1.75 kB / 479.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5708, allocations: 0 / 479.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.5708, allocations: 0 / 479.4 MB, free: 14.93 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.0008306/0.5716, allocations: 465.3 kB / 479.9 MB, free: 14.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.5717, allocations: 8.594 kB / 479.9 MB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00703/0.5787, allocations: 0.728 MB / 480.6 MB, free: 14.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.5792, allocations: 287.9 kB / 480.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.5792, allocations: 10.83 kB / 480.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.5794, allocations: 22.66 kB / 480.9 MB, free: 14.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.5807, allocations: 0.7028 MB / 481.6 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.5807, allocations: 3.984 kB / 481.6 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.765e-05/0.5808, allocations: 9.359 kB / 481.6 MB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.5809, allocations: 9.25 kB / 481.7 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.5827, allocations: 0.9213 MB / 482.6 MB, free: 14.21 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.004881/0.5876, allocations: 2.007 MB / 484.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.5888, allocations: 0.5018 MB / 485.1 MB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005935/0.5894, allocations: 323.5 kB / 485.4 MB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006846/0.5901, allocations: 271.8 kB / 485.7 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.5901, allocations: 39.81 kB / 485.7 MB, free: 12.74 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.5901, allocations: 0 / 485.7 MB, free: 12.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002076/0.5922, allocations: 0.8851 MB / 486.6 MB, free: 12.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.5923, allocations: 80.05 kB / 486.7 MB, free: 12.6 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.5924, allocations: 135.7 kB / 486.8 MB, free: 12.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.267e-05/0.5925, allocations: 32.36 kB / 486.8 MB, free: 12.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.5926, allocations: 115.8 kB / 486.9 MB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5927, allocations: 107.4 kB / 487 MB, free: 12.29 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.68e-05/0.5928, allocations: 33.97 kB / 487.1 MB, free: 12.28 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.907e-05/0.5929, allocations: 328.5 kB / 487.4 MB, free: 11.96 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005861/0.5935, allocations: 298.4 kB / 487.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006437/0.5941, allocations: 404.5 kB / 488.1 MB, free: 11.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/0.5954, allocations: 0.7039 MB / 488.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5954, allocations: 0 / 488.8 MB, free: 11.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001509/0.597, allocations: 0.7408 MB / 489.5 MB, free: 11.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.597, allocations: 6 kB / 489.5 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.597, allocations: 2.812 kB / 489.5 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.597, allocations: 5.656 kB / 489.5 MB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.5981, allocations: 109.6 kB / 489.7 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5981, allocations: 5.25 kB / 489.7 MB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009099/0.599, allocations: 55.61 kB / 489.7 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.087e-05/0.5991, allocations: 23.2 kB / 489.7 MB, free: 11.45 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.5993, allocations: 150.3 kB / 489.9 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.5995, allocations: 21.97 kB / 489.9 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001884/0.6014, allocations: 0.7706 MB / 490.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.6014, allocations: 2.938 kB / 490.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6014, allocations: 4 kB / 490.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.6014, allocations: 6.734 kB / 490.7 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009575/0.6024, allocations: 0.7975 MB / 491.5 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6024, allocations: 3.938 kB / 491.5 MB, free: 10.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.6034, allocations: 79.89 kB / 491.6 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.6035, allocations: 3.938 kB / 491.6 MB, free: 10.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.814e-05/0.6035, allocations: 17.28 kB / 491.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.6035, allocations: 2.094 kB / 491.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.6035, allocations: 0 / 491.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.6054, allocations: 0.9729 MB / 492.6 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.57e-05/0.6055, allocations: 90.2 kB / 492.7 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.017e-05/0.6056, allocations: 9.938 kB / 492.7 MB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009818/0.6066, allocations: 39.11 kB / 492.7 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.597e-05/0.6066, allocations: 16.22 kB / 492.7 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.465e-05/0.6067, allocations: 22.41 kB / 492.7 MB, free: 9.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.751e-05/0.6068, allocations: 104.3 kB / 492.8 MB, free: 9.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6068, allocations: 3.938 kB / 492.8 MB, free: 9.824 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007546/0.6075, allocations: 183.2 kB / 493 MB, free: 9.801 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.0008799/0.6084, allocations: 348 kB / 493.4 MB, free: 9.609 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.6099, allocations: 0.6543 MB / 494 MB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.61, allocations: 3 kB / 494 MB, free: 9.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.6107, allocations: 331.6 kB / 494.3 MB, free: 9.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008705/0.6116, allocations: 101.6 kB / 494.4 MB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.6135, allocations: 1.142 MB / 495.6 MB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.6138, allocations: 0.7444 MB / 496.3 MB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001308/0.6151, allocations: 177.9 kB / 496.5 MB, free: 7.738 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003039/0.6154, allocations: 37.19 kB / 496.5 MB, free: 7.723 MB / 398.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6154, allocations: 0 / 496.5 MB, free: 7.723 MB / 398.1 MB Notification: Performance of Templates: time 0.01535/0.6308, allocations: 10.19 MB / 0.4949 GB, free: 2.418 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile (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)