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.001399/0.001399, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001826/0.001826, allocations: 192.8 kB / 16.14 MB, free: 6.668 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.384/1.384, allocations: 205.1 MB / 222 MB, free: 4.734 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.001121/0.001121, allocations: 51.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1875, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3209/0.5085, allocations: 148.7 MB / 473.4 MB, free: 14.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.5104, allocations: 2.152 MB / 475.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.99e-05/0.5104, allocations: 0 / 475.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002899/0.5108, allocations: 52.45 kB / 475.6 MB, free: 14.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001079/0.5119, allocations: 0.5519 MB / 476.2 MB, free: 14.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.5121, allocations: 97.83 kB / 476.3 MB, free: 14.67 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.5124, allocations: 370.1 kB / 476.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.5125, allocations: 9.531 kB / 476.6 MB, free: 14.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.5127, allocations: 121 kB / 476.8 MB, free: 14.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.5129, allocations: 102.7 kB / 476.9 MB, free: 14.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.5129, allocations: 5.859 kB / 476.9 MB, free: 14.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001539/0.5144, allocations: 1.195 MB / 478.1 MB, free: 14.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.486e-05/0.5145, allocations: 85 kB / 478.1 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.873e-05/0.5146, allocations: 89.7 kB / 478.2 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.5157, allocations: 0.7608 MB / 479 MB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5157, allocations: 0 / 479 MB, free: 14.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5157, allocations: 0 / 479 MB, free: 14.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.5157, allocations: 1.094 kB / 479 MB, free: 14.45 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.0008092/0.5165, allocations: 0.4984 MB / 479.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.5166, allocations: 8.391 kB / 479.5 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006972/0.5236, allocations: 0.7438 MB / 480.2 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003935/0.524, allocations: 279.3 kB / 480.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.524, allocations: 16.23 kB / 480.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.5241, allocations: 17.44 kB / 480.5 MB, free: 13.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001322/0.5254, allocations: 0.7061 MB / 481.2 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.5255, allocations: 0 / 481.2 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.529e-05/0.5255, allocations: 6.656 kB / 481.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.5256, allocations: 7.344 kB / 481.3 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/0.5274, allocations: 0.9278 MB / 482.2 MB, free: 13.73 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.004672/0.5321, allocations: 2.009 MB / 484.2 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.5332, allocations: 0.5062 MB / 484.7 MB, free: 12.49 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005619/0.5337, allocations: 325 kB / 485 MB, free: 12.47 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007205/0.5345, allocations: 273.5 kB / 485.3 MB, free: 12.28 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.5345, allocations: 36.41 kB / 485.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.854e-06/0.5345, allocations: 2.344 kB / 485.3 MB, free: 12.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.00203/0.5365, allocations: 0.8887 MB / 486.2 MB, free: 12.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.5366, allocations: 83.22 kB / 486.3 MB, free: 12.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.5367, allocations: 135.5 kB / 486.4 MB, free: 11.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.301e-05/0.5368, allocations: 31.61 kB / 486.5 MB, free: 11.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.075e-05/0.5369, allocations: 118.1 kB / 486.6 MB, free: 11.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.537, allocations: 113 kB / 486.7 MB, free: 11.79 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001869/0.5372, allocations: 70.39 kB / 486.8 MB, free: 11.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.5373, allocations: 326.7 kB / 487.1 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.5378, allocations: 299.3 kB / 487.4 MB, free: 11.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.5384, allocations: 407.5 kB / 487.8 MB, free: 11.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/0.5396, allocations: 0.6921 MB / 488.5 MB, free: 11.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5396, allocations: 0.75 kB / 488.5 MB, free: 11.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001462/0.5411, allocations: 0.7521 MB / 489.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5411, allocations: 7.469 kB / 489.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5412, allocations: 2.312 kB / 489.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.5412, allocations: 5.062 kB / 489.2 MB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009992/0.5422, allocations: 97.94 kB / 489.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.5422, allocations: 7.953 kB / 489.3 MB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.5431, allocations: 63.06 kB / 489.4 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.5431, allocations: 21.03 kB / 489.4 MB, free: 11.08 MB / 398.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.000207/0.5434, allocations: 145.8 kB / 489.6 MB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5435, allocations: 17.38 kB / 489.6 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.5454, allocations: 0.7769 MB / 490.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5454, allocations: 2.906 kB / 490.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5454, allocations: 1.969 kB / 490.3 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5454, allocations: 2.812 kB / 490.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009694/0.5464, allocations: 0.8053 MB / 491.2 MB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5464, allocations: 7.938 kB / 491.2 MB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009557/0.5473, allocations: 79.67 kB / 491.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.5474, allocations: 0 / 491.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.5474, allocations: 20.25 kB / 491.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5474, allocations: 3.938 kB / 491.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5474, allocations: 0 / 491.3 MB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.5493, allocations: 0.9661 MB / 492.2 MB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.5494, allocations: 93.73 kB / 492.3 MB, free: 9.766 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/0.5495, allocations: 14.05 kB / 492.3 MB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009232/0.5504, allocations: 36.77 kB / 492.4 MB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.5505, allocations: 17.61 kB / 492.4 MB, free: 9.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.796e-05/0.5506, allocations: 24.69 kB / 492.4 MB, free: 9.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.5506, allocations: 95.14 kB / 492.5 MB, free: 9.652 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5506, allocations: 0 / 492.5 MB, free: 9.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007362/0.5514, allocations: 183.7 kB / 492.7 MB, free: 9.629 MB / 398.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.0008608/0.5522, allocations: 336.5 kB / 493 MB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001336/0.5536, allocations: 0.6606 MB / 493.7 MB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5536, allocations: 0 / 493.7 MB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006191/0.5542, allocations: 340.6 kB / 494 MB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007169/0.555, allocations: 92.09 kB / 494.1 MB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.5566, allocations: 1 MB / 495.1 MB, free: 8.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.5569, allocations: 0.7502 MB / 495.9 MB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001304/0.5582, allocations: 176.7 kB / 496 MB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.5585, allocations: 35.84 kB / 496.1 MB, free: 7.695 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.5586, allocations: 0 / 496.1 MB, free: 7.695 MB / 398.1 MB Notification: Performance of Templates: time 0.01328/0.5718, allocations: 10.25 MB / 0.4944 GB, free: 2.363 MB / 398.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)