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.005213/0.005213, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001048/0.001048, allocations: 195.8 kB / 16.68 MB, free: 6.355 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.394/1.394, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001302/0.001302, allocations: 48.98 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08813/0.08944, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3818/0.4712, allocations: 151 MB / 0.5119 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002328/0.4736, allocations: 2.086 MB / 0.5139 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.287e-05/0.4737, allocations: 0 / 0.5139 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.4741, allocations: 63.12 kB / 0.514 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.4754, allocations: 0.6135 MB / 0.5146 GB, free: 2.941 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.4757, allocations: 113.2 kB / 0.5147 GB, free: 2.883 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.476, allocations: 261.2 kB / 0.5149 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.679e-05/0.4761, allocations: 6.344 kB / 0.5149 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.4763, allocations: 135.7 kB / 0.515 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.4765, allocations: 87.53 kB / 0.5151 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.389e-05/0.4765, allocations: 13.88 kB / 0.5151 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.4778, allocations: 0.8281 MB / 0.516 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.925e-05/0.4779, allocations: 75.84 kB / 0.516 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.478, allocations: 97.3 kB / 0.5161 GB, free: 2.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007811/0.4788, allocations: 0.647 MB / 0.5167 GB, free: 2.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4788, allocations: 2.094 kB / 0.5168 GB, free: 2.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4788, allocations: 0 / 0.5168 GB, free: 2.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.4788, allocations: 0 / 0.5168 GB, free: 2.051 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.0007389/0.4796, allocations: 0.4983 MB / 0.5172 GB, free: 1.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4796, allocations: 9.469 kB / 0.5172 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.4815, allocations: 269.8 kB / 0.5175 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/0.4819, allocations: 285.6 kB / 0.5178 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4819, allocations: 15.48 kB / 0.5178 GB, free: 1.262 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.482, allocations: 20 kB / 0.5178 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007346/0.4828, allocations: 0.5001 MB / 0.5183 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4828, allocations: 0 / 0.5183 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.118e-05/0.4828, allocations: 8.406 kB / 0.5183 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.4829, allocations: 5.656 kB / 0.5183 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008435/0.4837, allocations: 0.5911 MB / 0.5189 GB, free: 0.7109 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.002099/0.4858, allocations: 1.027 MB / 0.5199 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.4862, allocations: 240.6 kB / 0.5201 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.4865, allocations: 179 kB / 0.5203 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000753/0.4872, allocations: 280 kB / 0.5206 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.4873, allocations: 32.66 kB / 0.5206 GB, free: 15.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.924e-06/0.4873, allocations: 0 / 0.5206 GB, free: 15.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.001844/0.4891, allocations: 0.6041 MB / 0.5212 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.473e-05/0.4892, allocations: 79.23 kB / 0.5213 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4893, allocations: 134 kB / 0.5214 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.4893, allocations: 32.2 kB / 0.5214 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.375e-05/0.4894, allocations: 112.6 kB / 0.5215 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.02e-05/0.4895, allocations: 106.1 kB / 0.5216 GB, free: 14.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.4897, allocations: 67.66 kB / 0.5217 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4898, allocations: 330.8 kB / 0.522 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.4901, allocations: 183.9 kB / 0.5222 GB, free: 14.11 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.4905, allocations: 292.5 kB / 0.5225 GB, free: 13.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007581/0.4913, allocations: 496.7 kB / 0.5229 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4913, allocations: 0 / 0.5229 GB, free: 13.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009571/0.4923, allocations: 0.5246 MB / 0.5234 GB, free: 12.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.4923, allocations: 12.03 kB / 0.5235 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4923, allocations: 4 kB / 0.5235 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.4923, allocations: 4 kB / 0.5235 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.4928, allocations: 79.83 kB / 0.5235 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.4929, allocations: 8 kB / 0.5235 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.4932, allocations: 39.67 kB / 0.5236 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.4933, allocations: 15.98 kB / 0.5236 GB, free: 12.56 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.0001809/0.4935, allocations: 149.7 kB / 0.5237 GB, free: 12.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.4936, allocations: 23.75 kB / 0.5238 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.4946, allocations: 488.3 kB / 0.5242 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4947, allocations: 7.938 kB / 0.5242 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4947, allocations: 0 / 0.5242 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4947, allocations: 3.938 kB / 0.5242 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007332/0.4954, allocations: 450.7 kB / 0.5247 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.4954, allocations: 3.938 kB / 0.5247 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.4959, allocations: 63.89 kB / 0.5247 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4959, allocations: 0 / 0.5247 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.207e-05/0.496, allocations: 11.98 kB / 0.5247 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.496, allocations: 7.625 kB / 0.5248 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.496, allocations: 4 kB / 0.5248 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.4972, allocations: 0.6876 MB / 0.5254 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.4972, allocations: 92.86 kB / 0.5255 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.988e-05/0.4973, allocations: 8 kB / 0.5255 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.4977, allocations: 23.97 kB / 0.5255 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.4978, allocations: 19.97 kB / 0.5256 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.4979, allocations: 15.98 kB / 0.5256 GB, free: 10.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.458e-05/0.4979, allocations: 99.27 kB / 0.5257 GB, free: 10.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4979, allocations: 0 / 0.5257 GB, free: 10.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007337/0.4987, allocations: 159.9 kB / 0.5258 GB, free: 10.18 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.0008529/0.4995, allocations: 338.9 kB / 0.5262 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008089/0.5004, allocations: 444.1 kB / 0.5266 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5004, allocations: 0 / 0.5266 GB, free: 9.402 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.5007, allocations: 220 kB / 0.5268 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006842/0.5014, allocations: 101.7 kB / 0.5269 GB, free: 9.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.5031, allocations: 0.8752 MB / 0.5277 GB, free: 8.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.5035, allocations: 0.7403 MB / 0.5285 GB, free: 7.422 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004831/0.504, allocations: 121.7 kB / 0.5286 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.5041, allocations: 27.44 kB / 0.5286 GB, free: 7.277 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.5041, allocations: 0 / 0.5286 GB, free: 7.277 MB / 414.1 MB Notification: Performance of Templates: time 0.01481/0.5189, allocations: 8.15 MB / 0.5366 GB, free: 15.12 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)