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.007566/0.007566, allocations: 107 kB / 15.74 MB, free: 6.043 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.001504/0.001504, allocations: 199 kB / 16.68 MB, free: 5.957 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.345/1.345, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001204/0.001204, allocations: 50.55 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08222/0.08344, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.369/0.4525, allocations: 151 MB / 0.5119 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.4549, allocations: 2.082 MB / 0.5139 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.594e-05/0.4551, allocations: 5.969 kB / 0.5139 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.4555, allocations: 63.42 kB / 0.514 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.457, allocations: 0.6109 MB / 0.5146 GB, free: 2.961 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002996/0.4573, allocations: 108.8 kB / 0.5147 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003333/0.4577, allocations: 261.4 kB / 0.5149 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.711e-05/0.4577, allocations: 12.14 kB / 0.5149 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.458, allocations: 135.7 kB / 0.5151 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001842/0.4582, allocations: 90.23 kB / 0.5151 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.781e-05/0.4582, allocations: 7.562 kB / 0.5151 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/0.4597, allocations: 0.8281 MB / 0.516 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.805e-05/0.4598, allocations: 81.94 kB / 0.516 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.4599, allocations: 97.7 kB / 0.5161 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009841/0.4609, allocations: 0.6418 MB / 0.5168 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4609, allocations: 2.25 kB / 0.5168 GB, free: 2.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4609, allocations: 0 / 0.5168 GB, free: 2.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.4609, allocations: 0 / 0.5168 GB, free: 2.074 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.0009034/0.4618, allocations: 0.505 MB / 0.5172 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.4619, allocations: 7.688 kB / 0.5173 GB, free: 1.625 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/0.4639, allocations: 265.2 kB / 0.5175 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003779/0.4643, allocations: 283.8 kB / 0.5178 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.4644, allocations: 15.02 kB / 0.5178 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.4645, allocations: 17.34 kB / 0.5178 GB, free: 1.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007605/0.4652, allocations: 0.5011 MB / 0.5183 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4653, allocations: 6.891 kB / 0.5183 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-05/0.4653, allocations: 8 kB / 0.5183 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.4654, allocations: 7.312 kB / 0.5183 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008381/0.4662, allocations: 0.5839 MB / 0.5189 GB, free: 0.7305 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.002209/0.4684, allocations: 1.02 MB / 0.5199 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003874/0.4688, allocations: 244.1 kB / 0.5201 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.4691, allocations: 188.4 kB / 0.5203 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000808/0.4699, allocations: 280 kB / 0.5206 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.4699, allocations: 36.66 kB / 0.5206 GB, free: 15.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.4699, allocations: 0 / 0.5206 GB, free: 15.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=28): time 0.002022/0.472, allocations: 0.5952 MB / 0.5212 GB, free: 15.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.472, allocations: 82.33 kB / 0.5213 GB, free: 15.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4722, allocations: 129.5 kB / 0.5214 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.4722, allocations: 32.23 kB / 0.5214 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.63e-05/0.4723, allocations: 115.2 kB / 0.5215 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.586e-05/0.4724, allocations: 107.1 kB / 0.5216 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/0.4725, allocations: 69.64 kB / 0.5217 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4726, allocations: 326.8 kB / 0.522 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003496/0.473, allocations: 187.9 kB / 0.5222 GB, free: 14.13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.4734, allocations: 292.5 kB / 0.5225 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.4742, allocations: 488.7 kB / 0.5229 GB, free: 13.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.4742, allocations: 4 kB / 0.5229 GB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009821/0.4752, allocations: 0.513 MB / 0.5234 GB, free: 12.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.4753, allocations: 12 kB / 0.5234 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.4753, allocations: 7.938 kB / 0.5235 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/0.4753, allocations: 4 kB / 0.5235 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005563/0.4759, allocations: 79.89 kB / 0.5235 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/0.4759, allocations: 15.92 kB / 0.5235 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004205/0.4763, allocations: 38.17 kB / 0.5236 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-05/0.4764, allocations: 16 kB / 0.5236 GB, free: 12.58 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.0001913/0.4766, allocations: 145.8 kB / 0.5237 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.4767, allocations: 23.75 kB / 0.5238 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.4778, allocations: 492.3 kB / 0.5242 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.4778, allocations: 4 kB / 0.5242 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4778, allocations: 3.938 kB / 0.5242 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.4778, allocations: 0 / 0.5242 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007455/0.4786, allocations: 454 kB / 0.5247 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4786, allocations: 3.938 kB / 0.5247 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005374/0.4791, allocations: 63.89 kB / 0.5247 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.4792, allocations: 3.984 kB / 0.5247 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.4792, allocations: 12 kB / 0.5248 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.4792, allocations: 4 kB / 0.5248 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4792, allocations: 0 / 0.5248 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.4804, allocations: 0.6915 MB / 0.5254 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.393e-05/0.4805, allocations: 96.84 kB / 0.5255 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.025e-05/0.4805, allocations: 8 kB / 0.5255 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000521/0.481, allocations: 23.97 kB / 0.5256 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.4811, allocations: 11.98 kB / 0.5256 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.4812, allocations: 21.11 kB / 0.5256 GB, free: 10.45 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.667e-05/0.4812, allocations: 99.27 kB / 0.5257 GB, free: 10.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4813, allocations: 0 / 0.5257 GB, free: 10.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007002/0.482, allocations: 159.9 kB / 0.5258 GB, free: 10.2 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.0008896/0.4829, allocations: 338.9 kB / 0.5262 GB, free: 9.855 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008388/0.4837, allocations: 447.9 kB / 0.5266 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.4837, allocations: 0 / 0.5266 GB, free: 9.418 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003681/0.4841, allocations: 220 kB / 0.5268 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.4848, allocations: 100.5 kB / 0.5269 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.4863, allocations: 0.8715 MB / 0.5277 GB, free: 8.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.4867, allocations: 0.7365 MB / 0.5285 GB, free: 7.445 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.4872, allocations: 117.8 kB / 0.5286 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.4873, allocations: 27.42 kB / 0.5286 GB, free: 7.305 MB / 414.1 MB Notification: Performance of SimCode: time 1.633e-06/0.4873, allocations: 3.938 kB / 0.5286 GB, free: 7.301 MB / 414.1 MB Notification: Performance of Templates: time 0.01348/0.5008, allocations: 8.15 MB / 0.5366 GB, free: 15.14 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)