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.001074/0.001074, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007792/0.007792, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.457/1.457, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004387/0.0004388, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2111, allocations: 47.58 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3371/0.5483, allocations: 146.8 MB / 473.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.5502, allocations: 2.126 MB / 476 MB, free: 15.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.5503, allocations: 4.875 kB / 476 MB, free: 15.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.5506, allocations: 48.61 kB / 476 MB, free: 15.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001056/0.5516, allocations: 0.5598 MB / 476.6 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.5519, allocations: 91.73 kB / 476.7 MB, free: 15.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003155/0.5522, allocations: 370.7 kB / 477 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.5523, allocations: 10.28 kB / 477 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.5525, allocations: 127.4 kB / 477.2 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.5527, allocations: 98.72 kB / 477.3 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.5527, allocations: 6.531 kB / 477.3 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.5542, allocations: 1.193 MB / 478.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.5543, allocations: 80.06 kB / 478.5 MB, free: 15.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.5545, allocations: 126.1 kB / 478.7 MB, free: 14.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008551/0.5553, allocations: 0.7486 MB / 479.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.5553, allocations: 0 / 479.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5553, allocations: 0 / 479.4 MB, free: 14.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.5554, allocations: 0 / 479.4 MB, free: 14.93 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.0006588/0.556, allocations: 469.4 kB / 479.9 MB, free: 14.51 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.5561, allocations: 8.875 kB / 479.9 MB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007114/0.5632, allocations: 0.7303 MB / 480.6 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.5636, allocations: 278 kB / 480.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.5636, allocations: 9.703 kB / 480.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.5637, allocations: 22.81 kB / 480.9 MB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.565, allocations: 0.7124 MB / 481.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5651, allocations: 0 / 481.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.235e-05/0.5652, allocations: 10.28 kB / 481.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.5652, allocations: 8.625 kB / 481.6 MB, free: 14.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.567, allocations: 0.9205 MB / 482.6 MB, free: 14.21 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.004746/0.5718, allocations: 2.001 MB / 484.6 MB, free: 13.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001112/0.5729, allocations: 0.5095 MB / 485.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006033/0.5735, allocations: 319.6 kB / 485.4 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006819/0.5742, allocations: 271.7 kB / 485.7 MB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.45e-05/0.5743, allocations: 47.52 kB / 485.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.803e-06/0.5743, allocations: 0 / 485.7 MB, free: 12.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002028/0.5763, allocations: 0.8822 MB / 486.6 MB, free: 12.68 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.5764, allocations: 94.39 kB / 486.7 MB, free: 12.58 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.874e-05/0.5765, allocations: 129.7 kB / 486.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.13e-05/0.5766, allocations: 32.08 kB / 486.8 MB, free: 12.45 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.5766, allocations: 115.2 kB / 486.9 MB, free: 12.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001094/0.5768, allocations: 107.5 kB / 487.1 MB, free: 12.28 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-05/0.5769, allocations: 34 kB / 487.1 MB, free: 12.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.577, allocations: 324.4 kB / 487.4 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/0.5776, allocations: 301.8 kB / 487.7 MB, free: 11.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006612/0.5782, allocations: 400.5 kB / 488.1 MB, free: 11.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.5795, allocations: 0.6952 MB / 488.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.5795, allocations: 5.734 kB / 488.8 MB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001505/0.581, allocations: 0.7413 MB / 489.5 MB, free: 11.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.5811, allocations: 5.094 kB / 489.5 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.5811, allocations: 3.344 kB / 489.5 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5811, allocations: 10.12 kB / 489.5 MB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.5822, allocations: 100.4 kB / 489.6 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.5822, allocations: 6.188 kB / 489.7 MB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/0.5831, allocations: 55.36 kB / 489.7 MB, free: 11.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.5832, allocations: 25.98 kB / 489.7 MB, free: 11.44 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.0002019/0.5834, allocations: 148.6 kB / 489.9 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.5836, allocations: 24.31 kB / 489.9 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.5855, allocations: 0.7755 MB / 490.7 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5855, allocations: 1.969 kB / 490.7 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5855, allocations: 0 / 490.7 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5855, allocations: 7.109 kB / 490.7 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.5865, allocations: 0.7992 MB / 491.5 MB, free: 10.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.5866, allocations: 8.812 kB / 491.5 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.5876, allocations: 76.02 kB / 491.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.5876, allocations: 2.531 kB / 491.6 MB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.84e-05/0.5877, allocations: 20.94 kB / 491.6 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5877, allocations: 7.172 kB / 491.6 MB, free: 10.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5877, allocations: 3.984 kB / 491.6 MB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.5896, allocations: 0.9617 MB / 492.6 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.497e-05/0.5897, allocations: 91.2 kB / 492.7 MB, free: 9.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.787e-05/0.5898, allocations: 10.41 kB / 492.7 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5908, allocations: 38.42 kB / 492.7 MB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.5909, allocations: 24.25 kB / 492.7 MB, free: 9.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.579e-05/0.5909, allocations: 19 kB / 492.7 MB, free: 9.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.289e-05/0.591, allocations: 100.3 kB / 492.8 MB, free: 9.812 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.591, allocations: 3.938 kB / 492.8 MB, free: 9.809 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007808/0.5918, allocations: 186.7 kB / 493 MB, free: 9.785 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.0008798/0.5927, allocations: 343 kB / 493.4 MB, free: 9.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.594, allocations: 0.6543 MB / 494 MB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5941, allocations: 6.875 kB / 494 MB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.5947, allocations: 326.9 kB / 494.3 MB, free: 9.43 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008276/0.5956, allocations: 90.47 kB / 494.4 MB, free: 9.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001912/0.5975, allocations: 1.144 MB / 495.6 MB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.5979, allocations: 0.7419 MB / 496.3 MB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001323/0.5992, allocations: 177.8 kB / 496.5 MB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.5995, allocations: 37.25 kB / 496.5 MB, free: 7.719 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.5995, allocations: 0 / 496.5 MB, free: 7.719 MB / 398.1 MB Notification: Performance of Templates: time 0.01474/0.6143, allocations: 10.21 MB / 0.4949 GB, free: 2.398 MB / 398.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)