Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001125/0.001125, allocations: 107.5 kB / 16.92 MB, free: 6.332 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.001098/0.001098, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.316/1.316, allocations: 205.1 MB / 223.7 MB, free: 12.34 MB / 190.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.001271/0.001272, allocations: 48.31 kB / 280 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0783/0.07959, allocations: 46.63 MB / 326.6 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.2905/0.3701, allocations: 151 MB / 477.6 MB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.3725, allocations: 2.089 MB / 479.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.916e-05/0.3726, allocations: 0 / 479.7 MB, free: 14.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.3729, allocations: 55.66 kB / 479.7 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.3742, allocations: 0.6144 MB / 480.3 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/0.3745, allocations: 99.78 kB / 480.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.3748, allocations: 263 kB / 480.7 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.197e-05/0.3749, allocations: 9.062 kB / 480.7 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002753/0.3752, allocations: 137 kB / 480.8 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.3753, allocations: 87.66 kB / 480.9 MB, free: 12.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.3754, allocations: 8 kB / 480.9 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.3769, allocations: 0.912 MB / 481.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.565e-05/0.377, allocations: 79.83 kB / 481.9 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.3772, allocations: 103.5 kB / 482 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009019/0.3781, allocations: 0.6704 MB / 482.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3781, allocations: 0 / 482.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3781, allocations: 0 / 482.7 MB, free: 11.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.982e-06/0.3781, allocations: 0 / 482.7 MB, free: 11.06 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.0007405/0.3789, allocations: 0.5037 MB / 483.2 MB, free: 10.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3789, allocations: 11.97 kB / 483.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007762/0.3867, allocations: 0.7471 MB / 484 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.3871, allocations: 276.1 kB / 484.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.3871, allocations: 12.89 kB / 484.2 MB, free: 9.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.3873, allocations: 19.94 kB / 484.3 MB, free: 9.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.3887, allocations: 0.7151 MB / 485 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3887, allocations: 0 / 485 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-05/0.3888, allocations: 11.5 kB / 485 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.293e-05/0.3889, allocations: 8 kB / 485 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.3909, allocations: 0.9251 MB / 485.9 MB, free: 7.742 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.005254/0.3962, allocations: 2.009 MB / 487.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.3974, allocations: 0.5048 MB / 488.4 MB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/0.3981, allocations: 325.5 kB / 488.7 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007258/0.3988, allocations: 274 kB / 489 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.3989, allocations: 42.5 kB / 489.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.733e-06/0.3989, allocations: 0 / 489.1 MB, free: 4.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002276/0.4012, allocations: 0.8902 MB / 489.9 MB, free: 3.457 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.4012, allocations: 77.11 kB / 490 MB, free: 3.363 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.4013, allocations: 137.7 kB / 490.2 MB, free: 3.219 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.388e-05/0.4014, allocations: 29.7 kB / 490.2 MB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.252e-05/0.4015, allocations: 116.6 kB / 490.3 MB, free: 3.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.4016, allocations: 114.4 kB / 490.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.4018, allocations: 69.67 kB / 490.5 MB, free: 2.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4019, allocations: 326.8 kB / 490.8 MB, free: 2.551 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.4026, allocations: 291.8 kB / 491.1 MB, free: 2.266 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007388/0.4034, allocations: 408.2 kB / 491.5 MB, free: 1.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.4048, allocations: 0.6959 MB / 492.2 MB, free: 1.078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4048, allocations: 4 kB / 492.2 MB, free: 1.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00176/0.4066, allocations: 0.7472 MB / 492.9 MB, free: 328 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4066, allocations: 4 kB / 492.9 MB, free: 324 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4066, allocations: 4 kB / 492.9 MB, free: 320 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.4067, allocations: 4 kB / 492.9 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.4079, allocations: 104.1 kB / 493 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.4079, allocations: 12.02 kB / 493.1 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009493/0.4088, allocations: 47.66 kB / 493.1 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.4089, allocations: 27.95 kB / 493.1 MB, free: 124 kB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002186/0.4091, allocations: 145.8 kB / 493.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.4093, allocations: 19.78 kB / 493.3 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.4114, allocations: 0.7713 MB / 494.1 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4114, allocations: 4 kB / 494.1 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.4114, allocations: 0 / 494.1 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.319e-06/0.4114, allocations: 0 / 494.1 MB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.4125, allocations: 0.8019 MB / 494.9 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.4125, allocations: 3.938 kB / 494.9 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.4137, allocations: 87.84 kB / 495 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.4137, allocations: 4 kB / 495 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.4137, allocations: 14.92 kB / 495 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.4137, allocations: 0 / 495 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4138, allocations: 4 kB / 495 MB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.4159, allocations: 0.9565 MB / 495.9 MB, free: 13.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.416, allocations: 96.84 kB / 496 MB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.4161, allocations: 8 kB / 496 MB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.4172, allocations: 39.94 kB / 496.1 MB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4172, allocations: 15.98 kB / 496.1 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.4173, allocations: 19.97 kB / 496.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.4174, allocations: 101 kB / 496.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.443e-06/0.4174, allocations: 0 / 496.2 MB, free: 12.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007266/0.4181, allocations: 191.7 kB / 496.4 MB, free: 12.7 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.0008679/0.419, allocations: 342.9 kB / 496.7 MB, free: 12.35 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.4205, allocations: 0.6718 MB / 497.4 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.4205, allocations: 4 kB / 497.4 MB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007256/0.4213, allocations: 332.8 kB / 497.7 MB, free: 11.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007814/0.4221, allocations: 106.2 kB / 497.8 MB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.4238, allocations: 0.934 MB / 498.8 MB, free: 10.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.4241, allocations: 0.7403 MB / 499.5 MB, free: 9.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001314/0.4254, allocations: 181.7 kB / 499.7 MB, free: 9.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.4257, allocations: 35.41 kB / 499.7 MB, free: 9.309 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4257, allocations: 0 / 499.7 MB, free: 9.309 MB / 398.1 MB Notification: Performance of Templates: time 0.01559/0.4413, allocations: 10.53 MB / 0.4983 GB, free: 14.73 MB / 414.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)