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.004962/0.004962, allocations: 100.3 kB / 15.73 MB, free: 6.484 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.001127/0.001127, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.363/1.363, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.001275/0.001275, allocations: 50 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08521/0.0865, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3723/0.4588, allocations: 151 MB / 0.5119 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.4612, allocations: 2.082 MB / 0.5139 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.548e-05/0.4612, allocations: 4.125 kB / 0.5139 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003788/0.4617, allocations: 52.41 kB / 0.5139 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.463, allocations: 0.6172 MB / 0.5146 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.4633, allocations: 106.1 kB / 0.5147 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002772/0.4636, allocations: 260.1 kB / 0.5149 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.392e-05/0.4637, allocations: 5.344 kB / 0.5149 GB, free: 2.797 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000252/0.4639, allocations: 137 kB / 0.515 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.4641, allocations: 89.44 kB / 0.5151 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.4642, allocations: 10.66 kB / 0.5151 GB, free: 2.699 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.4656, allocations: 0.8324 MB / 0.5159 GB, free: 2.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.635e-05/0.4657, allocations: 74.95 kB / 0.516 GB, free: 2.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.4658, allocations: 102.1 kB / 0.5161 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008563/0.4667, allocations: 0.6425 MB / 0.5167 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4667, allocations: 6.469 kB / 0.5167 GB, free: 2.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.4667, allocations: 0 / 0.5167 GB, free: 2.059 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.4667, allocations: 0 / 0.5167 GB, free: 2.059 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.0008086/0.4675, allocations: 0.5101 MB / 0.5172 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.4676, allocations: 10.06 kB / 0.5173 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/0.4695, allocations: 269.6 kB / 0.5175 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.4699, allocations: 273.8 kB / 0.5178 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4699, allocations: 9.141 kB / 0.5178 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.47, allocations: 23.34 kB / 0.5178 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.4707, allocations: 0.5003 MB / 0.5183 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4708, allocations: 0 / 0.5183 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.366e-05/0.4708, allocations: 10.78 kB / 0.5183 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.4708, allocations: 11.66 kB / 0.5183 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009122/0.4718, allocations: 0.5913 MB / 0.5189 GB, free: 0.707 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.002299/0.4741, allocations: 1.029 MB / 0.5199 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.4745, allocations: 243.5 kB / 0.5201 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.4748, allocations: 179.1 kB / 0.5203 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007914/0.4756, allocations: 279.6 kB / 0.5206 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.4757, allocations: 37.56 kB / 0.5206 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.4757, allocations: 0 / 0.5206 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001959/0.4776, allocations: 0.5923 MB / 0.5212 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.4777, allocations: 83.83 kB / 0.5213 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.4778, allocations: 132.7 kB / 0.5214 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.4779, allocations: 29.7 kB / 0.5214 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.478, allocations: 121.8 kB / 0.5215 GB, free: 14.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.148e-05/0.4781, allocations: 110.5 kB / 0.5216 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.4782, allocations: 65.64 kB / 0.5217 GB, free: 14.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.4783, allocations: 326.8 kB / 0.522 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.4787, allocations: 183.9 kB / 0.5222 GB, free: 14.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003805/0.4791, allocations: 288.5 kB / 0.5225 GB, free: 13.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000732/0.4798, allocations: 496.7 kB / 0.5229 GB, free: 13.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4798, allocations: 0 / 0.5229 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00093/0.4808, allocations: 0.5284 MB / 0.5235 GB, free: 12.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4808, allocations: 9.031 kB / 0.5235 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.4808, allocations: 4.938 kB / 0.5235 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.4809, allocations: 8 kB / 0.5235 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005253/0.4814, allocations: 75.89 kB / 0.5235 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.4814, allocations: 4.562 kB / 0.5235 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.4818, allocations: 39.77 kB / 0.5236 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.724e-05/0.4819, allocations: 28.2 kB / 0.5236 GB, free: 12.52 MB / 414.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.0001725/0.4821, allocations: 149.6 kB / 0.5238 GB, free: 12.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.4822, allocations: 15.89 kB / 0.5238 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.4832, allocations: 493.3 kB / 0.5242 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.4832, allocations: 4 kB / 0.5242 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4832, allocations: 0 / 0.5242 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.4833, allocations: 4 kB / 0.5242 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.484, allocations: 450 kB / 0.5247 GB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.484, allocations: 3.938 kB / 0.5247 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.4845, allocations: 67.89 kB / 0.5247 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.4845, allocations: 4 kB / 0.5248 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.4846, allocations: 11.98 kB / 0.5248 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.4846, allocations: 0.875 kB / 0.5248 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4846, allocations: 0 / 0.5248 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001124/0.4857, allocations: 0.6874 MB / 0.5254 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.178e-05/0.4858, allocations: 96.95 kB / 0.5255 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.525e-05/0.4859, allocations: 8 kB / 0.5255 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/0.4864, allocations: 23.95 kB / 0.5256 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.4864, allocations: 27.91 kB / 0.5256 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.4865, allocations: 15.98 kB / 0.5256 GB, free: 10.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.315e-05/0.4866, allocations: 103.3 kB / 0.5257 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.683e-06/0.4866, allocations: 0 / 0.5257 GB, free: 10.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006801/0.4872, allocations: 159.6 kB / 0.5258 GB, free: 10.13 MB / 414.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.000793/0.4881, allocations: 334.8 kB / 0.5262 GB, free: 9.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008083/0.4889, allocations: 443.8 kB / 0.5266 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.4889, allocations: 4 kB / 0.5266 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.4892, allocations: 212.6 kB / 0.5268 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.49, allocations: 100.2 kB / 0.5269 GB, free: 9.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.4913, allocations: 0.8852 MB / 0.5278 GB, free: 8.137 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.4916, allocations: 0.7364 MB / 0.5285 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004535/0.4921, allocations: 113.8 kB / 0.5286 GB, free: 7.266 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.4923, allocations: 27.44 kB / 0.5286 GB, free: 7.238 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4923, allocations: 0 / 0.5286 GB, free: 7.238 MB / 414.1 MB Notification: Performance of Templates: time 0.01291/0.5052, allocations: 8.154 MB / 0.5366 GB, free: 15.07 MB / 430.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)