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.0007712/0.0007734, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008855/0.0008855, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0004381/0.0004382, allocations: 12 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2098, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3511/0.5609, allocations: 136.9 MB / 463.4 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.563, allocations: 1.935 MB / 465.3 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.5631, allocations: 0.6562 kB / 465.3 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.5634, allocations: 38.45 kB / 465.4 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.5644, allocations: 429.7 kB / 465.8 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.5647, allocations: 95.02 kB / 465.9 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.5651, allocations: 305.4 kB / 466.2 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.357e-05/0.5652, allocations: 7.891 kB / 466.2 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.5656, allocations: 117.1 kB / 466.3 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002111/0.5658, allocations: 104.7 kB / 466.4 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.5658, allocations: 8.844 kB / 466.4 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5674, allocations: 0.8559 MB / 467.3 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.893e-05/0.5675, allocations: 84.45 kB / 467.4 MB, free: 1.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.855e-05/0.5675, allocations: 59.36 kB / 467.4 MB, free: 1.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005177/0.5681, allocations: 490.4 kB / 467.9 MB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.5681, allocations: 0 / 467.9 MB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5681, allocations: 6.844 kB / 467.9 MB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.5681, allocations: 0 / 467.9 MB, free: 1.84 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.0007562/0.5689, allocations: 470.7 kB / 468.4 MB, free: 17.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.5689, allocations: 8.031 kB / 468.4 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/0.5748, allocations: 0.7248 MB / 469.1 MB, free: 17.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00046/0.5753, allocations: 283.7 kB / 469.4 MB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.5753, allocations: 12.08 kB / 469.4 MB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5754, allocations: 17.78 kB / 469.4 MB, free: 17.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.5767, allocations: 0.7058 MB / 470.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5768, allocations: 0 / 470.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.5e-05/0.5768, allocations: 10 kB / 470.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.5769, allocations: 10 kB / 470.1 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.5786, allocations: 0.9212 MB / 471 MB, free: 17.14 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.004015/0.5826, allocations: 1.999 MB / 473 MB, free: 15.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.5836, allocations: 0.5022 MB / 473.5 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.5842, allocations: 322.9 kB / 473.9 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006598/0.5849, allocations: 271.6 kB / 474.1 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.5849, allocations: 43.75 kB / 474.2 MB, free: 15.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.5849, allocations: 0 / 474.2 MB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001927/0.5869, allocations: 0.8985 MB / 475.1 MB, free: 15.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.5869, allocations: 79.17 kB / 475.1 MB, free: 15.53 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.587, allocations: 125.5 kB / 475.3 MB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.051e-05/0.5871, allocations: 36.27 kB / 475.3 MB, free: 15.4 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.5872, allocations: 118.3 kB / 475.4 MB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.5873, allocations: 105.4 kB / 475.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.5874, allocations: 7.25 kB / 475.5 MB, free: 15.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5875, allocations: 328.9 kB / 475.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.5881, allocations: 294.9 kB / 476.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/0.5887, allocations: 402.3 kB / 476.5 MB, free: 14.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.5893, allocations: 329.3 kB / 476.9 MB, free: 14.78 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5893, allocations: 4 kB / 476.9 MB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00144/0.5907, allocations: 0.7377 MB / 477.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5908, allocations: 9.562 kB / 477.6 MB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.5908, allocations: 5.734 kB / 477.6 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5908, allocations: 6.25 kB / 477.6 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009195/0.5917, allocations: 100.4 kB / 477.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.5918, allocations: 10.95 kB / 477.7 MB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007275/0.5925, allocations: 52.84 kB / 477.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.5926, allocations: 26.89 kB / 477.8 MB, free: 14.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001948/0.5928, allocations: 148.8 kB / 477.9 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.5929, allocations: 13.06 kB / 478 MB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.5948, allocations: 0.7853 MB / 478.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5948, allocations: 1.938 kB / 478.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5948, allocations: 3.031 kB / 478.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5948, allocations: 7 kB / 478.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009426/0.5958, allocations: 0.8006 MB / 479.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5958, allocations: 2.938 kB / 479.6 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008966/0.5967, allocations: 81.31 kB / 479.6 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5967, allocations: 2.938 kB / 479.6 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.5968, allocations: 19.19 kB / 479.7 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5968, allocations: 0 / 479.7 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5968, allocations: 2.562 kB / 479.7 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.5986, allocations: 0.9585 MB / 480.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.318e-05/0.5986, allocations: 94.14 kB / 480.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.5987, allocations: 9.906 kB / 480.7 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008123/0.5996, allocations: 41.69 kB / 480.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.5996, allocations: 17.81 kB / 480.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.463e-05/0.5997, allocations: 24.75 kB / 480.8 MB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.5997, allocations: 99.34 kB / 480.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5998, allocations: 0 / 480.9 MB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007517/0.6005, allocations: 183.6 kB / 481.1 MB, free: 13.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007375/0.6013, allocations: 296.8 kB / 481.4 MB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.6025, allocations: 0.6514 MB / 482 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.6026, allocations: 0 / 482 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005961/0.6032, allocations: 334.9 kB / 482.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.6039, allocations: 93.34 kB / 482.4 MB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.6055, allocations: 1.127 MB / 483.6 MB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.6058, allocations: 0.7412 MB / 484.3 MB, free: 12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001371/0.6072, allocations: 177.8 kB / 484.5 MB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.6075, allocations: 36.97 kB / 484.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.6075, allocations: 0 / 484.5 MB, free: 11.88 MB / 398.1 MB Notification: Performance of Templates: time 0.01496/0.6225, allocations: 10 MB / 494.5 MB, free: 8.312 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)