Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.TestOnly.FlueGas") translateModel(Modelica.Media.Examples.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.007888/0.007888, allocations: 106.2 kB / 15.73 MB, free: 5.992 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.001854/0.001854, allocations: 192.9 kB / 16.67 MB, free: 5.914 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.433/1.433, allocations: 205.1 MB / 222.6 MB, free: 4.367 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.001363/0.001363, allocations: 45.91 kB / 326.5 MB, free: 14.46 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0835/0.08488, 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.3835/0.4684, allocations: 151 MB / 0.5119 GB, free: 5.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.4709, allocations: 2.087 MB / 0.5139 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.71e-05/0.471, allocations: 0 / 0.5139 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003976/0.4715, allocations: 58.59 kB / 0.514 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001452/0.4729, allocations: 0.6112 MB / 0.5146 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003389/0.4733, allocations: 104.6 kB / 0.5147 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.4736, allocations: 265 kB / 0.5149 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.4736, allocations: 8.875 kB / 0.5149 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002395/0.4739, allocations: 131.4 kB / 0.515 GB, free: 3.207 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.4741, allocations: 92.53 kB / 0.5151 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.4741, allocations: 9.844 kB / 0.5151 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.4755, allocations: 0.8285 MB / 0.5159 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.4756, allocations: 82.38 kB / 0.516 GB, free: 2.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.4758, allocations: 93.16 kB / 0.5161 GB, free: 2.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008825/0.4767, allocations: 0.6526 MB / 0.5168 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4767, allocations: 0 / 0.5168 GB, free: 2.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4767, allocations: 0 / 0.5168 GB, free: 2.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.4767, allocations: 0 / 0.5168 GB, free: 2.27 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.0007833/0.4775, allocations: 0.4918 MB / 0.5172 GB, free: 1.805 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4775, allocations: 10.75 kB / 0.5172 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.4794, allocations: 268.3 kB / 0.5175 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.4799, allocations: 281.6 kB / 0.5178 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.4799, allocations: 20.88 kB / 0.5178 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-05/0.48, allocations: 24.09 kB / 0.5178 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.4807, allocations: 0.4983 MB / 0.5183 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4808, allocations: 3.984 kB / 0.5183 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.4808, allocations: 10.75 kB / 0.5183 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.4809, allocations: 6.688 kB / 0.5183 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008272/0.4817, allocations: 0.5841 MB / 0.5189 GB, free: 0.8477 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.002269/0.484, allocations: 1.021 MB / 0.5199 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003721/0.4843, allocations: 239.9 kB / 0.5201 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.4846, allocations: 184.5 kB / 0.5203 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007952/0.4854, allocations: 279.5 kB / 0.5206 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.4854, allocations: 41.72 kB / 0.5206 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.4854, allocations: 0 / 0.5206 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001965/0.4874, allocations: 0.5892 MB / 0.5212 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.4875, allocations: 83.8 kB / 0.5212 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.4876, allocations: 126 kB / 0.5214 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.4876, allocations: 32.02 kB / 0.5214 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.4877, allocations: 117.6 kB / 0.5215 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.352e-05/0.4878, allocations: 106.6 kB / 0.5216 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.4879, allocations: 69.69 kB / 0.5217 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4881, allocations: 325.4 kB / 0.522 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.4884, allocations: 188.4 kB / 0.5222 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.4888, allocations: 288.5 kB / 0.5224 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/0.4896, allocations: 496.8 kB / 0.5229 GB, free: 13.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.4896, allocations: 4 kB / 0.5229 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009441/0.4905, allocations: 0.519 MB / 0.5234 GB, free: 12.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.4906, allocations: 5.156 kB / 0.5234 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.4906, allocations: 8 kB / 0.5234 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4906, allocations: 4 kB / 0.5234 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.4912, allocations: 88.75 kB / 0.5235 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4912, allocations: 4 kB / 0.5235 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004009/0.4916, allocations: 35.67 kB / 0.5236 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.4917, allocations: 16 kB / 0.5236 GB, free: 12.74 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.0001586/0.4918, allocations: 149.7 kB / 0.5237 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.492, allocations: 23.69 kB / 0.5237 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009457/0.4929, allocations: 494.8 kB / 0.5242 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.4929, allocations: 4 kB / 0.5242 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4929, allocations: 3.938 kB / 0.5242 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.493, allocations: 0 / 0.5242 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007248/0.4937, allocations: 451.2 kB / 0.5247 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4937, allocations: 3.938 kB / 0.5247 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.4942, allocations: 63.89 kB / 0.5247 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.4942, allocations: 3.984 kB / 0.5247 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.872e-05/0.4943, allocations: 12 kB / 0.5247 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4943, allocations: 0 / 0.5247 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4943, allocations: 0 / 0.5247 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.4954, allocations: 0.695 MB / 0.5254 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.4955, allocations: 93.73 kB / 0.5255 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.4955, allocations: 11.94 kB / 0.5255 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.496, allocations: 19.97 kB / 0.5255 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.4961, allocations: 19.98 kB / 0.5256 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/0.4961, allocations: 15.98 kB / 0.5256 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.442e-05/0.4962, allocations: 103.2 kB / 0.5257 GB, free: 10.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4962, allocations: 7.938 kB / 0.5257 GB, free: 10.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.4969, allocations: 151.9 kB / 0.5258 GB, free: 10.35 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.0007602/0.4977, allocations: 338.9 kB / 0.5261 GB, free: 10.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007931/0.4985, allocations: 453.1 kB / 0.5266 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4985, allocations: 0 / 0.5266 GB, free: 9.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.4988, allocations: 215.8 kB / 0.5268 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007565/0.4996, allocations: 100 kB / 0.5269 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.501, allocations: 0.8754 MB / 0.5277 GB, free: 8.355 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.5013, allocations: 0.7403 MB / 0.5285 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.5017, allocations: 109.8 kB / 0.5286 GB, free: 7.484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.5019, allocations: 27.42 kB / 0.5286 GB, free: 7.457 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5019, allocations: 0 / 0.5286 GB, free: 7.457 MB / 414.1 MB Notification: Performance of Templates: time 0.01316/0.5151, allocations: 8.209 MB / 0.5366 GB, free: 15.23 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.FlueGas.pipe 2>&1)