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.001561/0.001561, allocations: 104.6 kB / 17.06 MB, free: 6 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.001622/0.001622, allocations: 196 kB / 18 MB, free: 5.082 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.41/1.41, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001177/0.001177, allocations: 48.39 kB / 327.9 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08058/0.08176, allocations: 46.62 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3331/0.4149, allocations: 151 MB / 0.5132 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.4173, allocations: 2.093 MB / 0.5152 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.4174, allocations: 4 kB / 0.5152 GB, free: 6.055 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.4178, allocations: 51.66 kB / 0.5152 GB, free: 6.004 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.419, allocations: 0.5988 MB / 0.5158 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.4193, allocations: 124.3 kB / 0.516 GB, free: 5.281 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002831/0.4196, allocations: 259 kB / 0.5162 GB, free: 5.027 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.4197, allocations: 4 kB / 0.5162 GB, free: 5.023 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.4199, allocations: 141.1 kB / 0.5163 GB, free: 4.887 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.4201, allocations: 83.72 kB / 0.5164 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.4201, allocations: 8 kB / 0.5164 GB, free: 4.797 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001252/0.4214, allocations: 0.83 MB / 0.5172 GB, free: 3.965 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.4215, allocations: 91.7 kB / 0.5173 GB, free: 3.875 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.514e-05/0.4216, allocations: 91.64 kB / 0.5174 GB, free: 3.785 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007859/0.4224, allocations: 0.6426 MB / 0.518 GB, free: 3.145 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4224, allocations: 0 / 0.518 GB, free: 3.145 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4224, allocations: 0 / 0.518 GB, free: 3.145 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.4224, allocations: 0 / 0.518 GB, free: 3.145 MB / 446.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.0006977/0.4231, allocations: 0.4999 MB / 0.5185 GB, free: 2.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4232, allocations: 12.03 kB / 0.5185 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001869/0.425, allocations: 268.4 kB / 0.5188 GB, free: 2.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.4255, allocations: 280 kB / 0.5191 GB, free: 2.012 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4255, allocations: 16.89 kB / 0.5191 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.931e-05/0.4256, allocations: 19.94 kB / 0.5191 GB, free: 1.977 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007147/0.4263, allocations: 0.4975 MB / 0.5196 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4263, allocations: 0 / 0.5196 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.134e-05/0.4264, allocations: 8 kB / 0.5196 GB, free: 1.461 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.4264, allocations: 8 kB / 0.5196 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.4273, allocations: 0.5894 MB / 0.5202 GB, free: 0.8633 MB / 446.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.00222/0.4295, allocations: 1.019 MB / 0.5212 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003762/0.4299, allocations: 249 kB / 0.5214 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.4301, allocations: 181.6 kB / 0.5216 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.4309, allocations: 282.2 kB / 0.5218 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.4309, allocations: 41.38 kB / 0.5219 GB, free: 14.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.4309, allocations: 4 kB / 0.5219 GB, free: 14.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.00193/0.4329, allocations: 0.5916 MB / 0.5225 GB, free: 14.38 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.4329, allocations: 85.11 kB / 0.5225 GB, free: 14.28 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.433, allocations: 125.8 kB / 0.5227 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.4331, allocations: 33.7 kB / 0.5227 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.021e-05/0.4332, allocations: 112.3 kB / 0.5228 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.4333, allocations: 110.5 kB / 0.5229 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.4334, allocations: 65.69 kB / 0.523 GB, free: 13.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4335, allocations: 326.8 kB / 0.5233 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/0.4338, allocations: 183.9 kB / 0.5235 GB, free: 13.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003874/0.4342, allocations: 292.5 kB / 0.5237 GB, free: 12.98 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007257/0.435, allocations: 488.6 kB / 0.5242 GB, free: 12.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.435, allocations: 3.984 kB / 0.5242 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009128/0.4359, allocations: 0.5167 MB / 0.5247 GB, free: 11.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.4359, allocations: 8 kB / 0.5247 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4359, allocations: 11.92 kB / 0.5247 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.436, allocations: 4 kB / 0.5247 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005373/0.4365, allocations: 83.83 kB / 0.5248 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.4366, allocations: 4 kB / 0.5248 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.4369, allocations: 35.67 kB / 0.5249 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-05/0.437, allocations: 20.7 kB / 0.5249 GB, free: 11.76 MB / 462.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.0001477/0.4372, allocations: 145.9 kB / 0.525 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4373, allocations: 23.73 kB / 0.525 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009365/0.4382, allocations: 492.2 kB / 0.5255 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4382, allocations: 4 kB / 0.5255 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4382, allocations: 0 / 0.5255 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.4383, allocations: 0 / 0.5255 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.439, allocations: 462.1 kB / 0.526 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.439, allocations: 3.938 kB / 0.526 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/0.4395, allocations: 59.89 kB / 0.526 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.4395, allocations: 0 / 0.526 GB, free: 10.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.4396, allocations: 15.98 kB / 0.526 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.4396, allocations: 4.875 kB / 0.526 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4396, allocations: 0 / 0.526 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.4407, allocations: 0.6872 MB / 0.5267 GB, free: 9.809 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.4407, allocations: 96.86 kB / 0.5268 GB, free: 9.695 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.4408, allocations: 12 kB / 0.5268 GB, free: 9.684 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.4413, allocations: 19.97 kB / 0.5268 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.4414, allocations: 19.97 kB / 0.5268 GB, free: 9.645 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.4414, allocations: 22.36 kB / 0.5269 GB, free: 9.625 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.75e-05/0.4415, allocations: 100.2 kB / 0.527 GB, free: 9.527 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4415, allocations: 0 / 0.527 GB, free: 9.527 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006298/0.4421, allocations: 159.9 kB / 0.5271 GB, free: 9.371 MB / 462.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.0007267/0.4429, allocations: 331 kB / 0.5274 GB, free: 9.035 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.4437, allocations: 452.7 kB / 0.5279 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4437, allocations: 0 / 0.5279 GB, free: 8.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003575/0.444, allocations: 215.7 kB / 0.5281 GB, free: 8.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007218/0.4448, allocations: 101.6 kB / 0.5282 GB, free: 8.289 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.4461, allocations: 0.8773 MB / 0.529 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.4464, allocations: 0.7481 MB / 0.5298 GB, free: 6.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004608/0.4469, allocations: 109.8 kB / 0.5299 GB, free: 6.508 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.447, allocations: 23.44 kB / 0.5299 GB, free: 6.484 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.447, allocations: 3.938 kB / 0.5299 GB, free: 6.48 MB / 462.1 MB Notification: Performance of Templates: time 0.01225/0.4593, allocations: 8.21 MB / 0.5379 GB, free: 14.27 MB / 478.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)