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.001287/0.001287, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001126/0.001126, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.349/1.349, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.0012/0.0012, allocations: 52.14 kB / 279.5 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09724, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3363/0.4336, allocations: 148.9 MB / 475 MB, free: 2.676 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.4359, allocations: 2.084 MB / 477.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.488e-05/0.436, allocations: 0 / 477.1 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.4363, allocations: 47.78 kB / 477.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.4376, allocations: 0.5719 MB / 477.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.4379, allocations: 92.52 kB / 477.8 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.4382, allocations: 267 kB / 478 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.627e-05/0.4382, allocations: 8 kB / 478.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.4385, allocations: 137 kB / 478.2 MB, free: 15.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.4387, allocations: 107.6 kB / 478.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4387, allocations: 8 kB / 478.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.4403, allocations: 1.076 MB / 479.4 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.4404, allocations: 79.83 kB / 479.5 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.4405, allocations: 95.58 kB / 479.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009139/0.4414, allocations: 0.7559 MB / 480.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.4414, allocations: 0 / 480.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4414, allocations: 0 / 480.3 MB, free: 13.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.4414, allocations: 0 / 480.3 MB, free: 13.37 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.0007287/0.4422, allocations: 0.5076 MB / 480.8 MB, free: 12.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.4422, allocations: 8.031 kB / 480.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007166/0.4494, allocations: 0.7384 MB / 481.6 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/0.4498, allocations: 276.1 kB / 481.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.4498, allocations: 12.89 kB / 481.8 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.4499, allocations: 27.94 kB / 481.9 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.4514, allocations: 0.7034 MB / 482.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4514, allocations: 0 / 482.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.768e-05/0.4515, allocations: 8 kB / 482.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.744e-05/0.4515, allocations: 8 kB / 482.6 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.4536, allocations: 0.9251 MB / 483.5 MB, free: 10.06 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.004984/0.4586, allocations: 2.012 MB / 485.5 MB, free: 7.871 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.4597, allocations: 0.5048 MB / 486 MB, free: 7.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006515/0.4604, allocations: 325.5 kB / 486.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007593/0.4612, allocations: 278 kB / 486.6 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.4612, allocations: 38.56 kB / 486.7 MB, free: 6.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.093e-06/0.4612, allocations: 0 / 486.7 MB, free: 6.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.002183/0.4634, allocations: 0.8847 MB / 487.5 MB, free: 5.777 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.4635, allocations: 85.05 kB / 487.6 MB, free: 5.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.4636, allocations: 129.7 kB / 487.8 MB, free: 5.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.327e-05/0.4637, allocations: 37.7 kB / 487.8 MB, free: 5.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.4637, allocations: 112.6 kB / 487.9 MB, free: 5.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.4639, allocations: 106.4 kB / 488 MB, free: 5.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000209/0.4641, allocations: 73.66 kB / 488.1 MB, free: 5.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4642, allocations: 326.8 kB / 488.4 MB, free: 4.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006262/0.4648, allocations: 295.8 kB / 488.7 MB, free: 4.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.4655, allocations: 413.1 kB / 489.1 MB, free: 4.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.4669, allocations: 0.692 MB / 489.8 MB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4669, allocations: 3.938 kB / 489.8 MB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001732/0.4686, allocations: 0.7469 MB / 490.5 MB, free: 2.637 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.4687, allocations: 8 kB / 490.5 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4687, allocations: 0 / 490.5 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.4687, allocations: 8 kB / 490.5 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4698, allocations: 102.1 kB / 490.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.4698, allocations: 8 kB / 490.7 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008412/0.4706, allocations: 55.64 kB / 490.7 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.072e-05/0.4707, allocations: 23.98 kB / 490.7 MB, free: 2.438 MB / 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.0002071/0.4709, allocations: 149.7 kB / 490.9 MB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.4711, allocations: 19.84 kB / 490.9 MB, free: 2.262 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00205/0.4732, allocations: 0.7701 MB / 491.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4732, allocations: 3.938 kB / 491.7 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4732, allocations: 4 kB / 491.7 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.4732, allocations: 7.984 kB / 491.7 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4743, allocations: 0.8058 MB / 492.5 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.4743, allocations: 7.875 kB / 492.5 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.4753, allocations: 75.86 kB / 492.6 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4753, allocations: 0 / 492.6 MB, free: 492 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.176e-05/0.4754, allocations: 15.98 kB / 492.6 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.4754, allocations: 0 / 492.6 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4754, allocations: 3.875 kB / 492.6 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.4774, allocations: 0.9605 MB / 493.5 MB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.4775, allocations: 100.9 kB / 493.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.506e-05/0.4776, allocations: 4 kB / 493.7 MB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000931/0.4785, allocations: 39.89 kB / 493.7 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.4786, allocations: 23.91 kB / 493.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.4787, allocations: 15.98 kB / 493.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.042e-05/0.4788, allocations: 104.8 kB / 493.8 MB, free: 15.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4788, allocations: 4 kB / 493.8 MB, free: 15.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008086/0.4796, allocations: 180 kB / 494 MB, free: 15.01 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.0009352/0.4805, allocations: 339 kB / 494.3 MB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.482, allocations: 0.6762 MB / 495 MB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.482, allocations: 4.062 kB / 495 MB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.4827, allocations: 336 kB / 495.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.4835, allocations: 97.48 kB / 495.4 MB, free: 13.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.4853, allocations: 1.004 MB / 496.4 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.4856, allocations: 0.7402 MB / 497.2 MB, free: 11.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001362/0.4869, allocations: 177.7 kB / 497.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.4873, allocations: 39.41 kB / 497.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4873, allocations: 4 kB / 497.4 MB, free: 11.55 MB / 398.1 MB Notification: Performance of Templates: time 0.01624/0.5035, allocations: 10.5 MB / 0.496 GB, free: 1.008 MB / 398.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)