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.001462/0.001462, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001762/0.001762, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.326/1.326, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.001138/0.001138, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1931, allocations: 46.63 MB / 325.3 MB, free: 2.074 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3791/0.5722, allocations: 151 MB / 476.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.5743, allocations: 2.098 MB / 478.4 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.812e-05/0.5744, allocations: 0 / 478.4 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.5747, allocations: 55.8 kB / 478.4 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.576, allocations: 0.6114 MB / 479 MB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.5763, allocations: 105.6 kB / 479.1 MB, free: 14.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.5766, allocations: 260.2 kB / 479.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.5766, allocations: 9.359 kB / 479.4 MB, free: 14.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002299/0.5769, allocations: 133 kB / 479.5 MB, free: 14.28 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.5771, allocations: 96.75 kB / 479.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.5771, allocations: 6.875 kB / 479.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001457/0.5786, allocations: 0.9144 MB / 480.5 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.5787, allocations: 81.47 kB / 480.6 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.5788, allocations: 95.47 kB / 480.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008829/0.5797, allocations: 0.6702 MB / 481.4 MB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5797, allocations: 0 / 481.4 MB, free: 14.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5797, allocations: 0 / 481.4 MB, free: 14.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.5797, allocations: 0 / 481.4 MB, free: 14.15 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.0008749/0.5806, allocations: 0.5092 MB / 481.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5806, allocations: 8.156 kB / 481.9 MB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007712/0.5884, allocations: 0.7366 MB / 482.6 MB, free: 13.7 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004563/0.5888, allocations: 286.9 kB / 482.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.5889, allocations: 9.109 kB / 482.9 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.589, allocations: 24.94 kB / 483 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.5904, allocations: 0.6957 MB / 483.6 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.5904, allocations: 2.75 kB / 483.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.551e-05/0.5905, allocations: 10.88 kB / 483.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.481e-05/0.5906, allocations: 12 kB / 483.7 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.5925, allocations: 0.919 MB / 484.6 MB, free: 13.42 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.005195/0.5977, allocations: 2.013 MB / 486.6 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.5989, allocations: 0.5042 MB / 487.1 MB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/0.5996, allocations: 322 kB / 487.4 MB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008762/0.6005, allocations: 276.6 kB / 487.7 MB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.6005, allocations: 40.88 kB / 487.7 MB, free: 11.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.835e-06/0.6005, allocations: 0 / 487.7 MB, free: 11.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.002323/0.6029, allocations: 0.8875 MB / 488.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.6029, allocations: 82.62 kB / 488.7 MB, free: 11.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.6031, allocations: 131.1 kB / 488.8 MB, free: 11.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.769e-05/0.6032, allocations: 31.39 kB / 488.9 MB, free: 11.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.665e-05/0.6033, allocations: 109.4 kB / 489 MB, free: 11.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.6034, allocations: 113.2 kB / 489.1 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.6036, allocations: 73.33 kB / 489.1 MB, free: 11.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.6037, allocations: 325.3 kB / 489.5 MB, free: 11.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.6043, allocations: 303.2 kB / 489.8 MB, free: 11.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006979/0.6051, allocations: 408 kB / 490.2 MB, free: 11.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.6064, allocations: 0.6967 MB / 490.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6064, allocations: 2.812 kB / 490.9 MB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001705/0.6082, allocations: 0.7538 MB / 491.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.6082, allocations: 7.219 kB / 491.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.6082, allocations: 9.406 kB / 491.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6082, allocations: 4.906 kB / 491.6 MB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.6094, allocations: 101.5 kB / 491.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.226e-05/0.6094, allocations: 7.828 kB / 491.7 MB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000937/0.6103, allocations: 48.36 kB / 491.8 MB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.6104, allocations: 25.69 kB / 491.8 MB, free: 10.77 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.0002149/0.6106, allocations: 143.7 kB / 492 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001528/0.6108, allocations: 20.45 kB / 492 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001919/0.6127, allocations: 0.7672 MB / 492.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.6127, allocations: 2.719 kB / 492.7 MB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6128, allocations: 4 kB / 492.7 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.6128, allocations: 2.484 kB / 492.8 MB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.6139, allocations: 0.8094 MB / 493.6 MB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.6139, allocations: 11.81 kB / 493.6 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.615, allocations: 75.84 kB / 493.6 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.615, allocations: 1.938 kB / 493.6 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.6151, allocations: 13.41 kB / 493.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6151, allocations: 4.797 kB / 493.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6151, allocations: 0 / 493.7 MB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001986/0.6171, allocations: 0.9645 MB / 494.6 MB, free: 9.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.6172, allocations: 96.23 kB / 494.7 MB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/0.6173, allocations: 6.25 kB / 494.7 MB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6183, allocations: 30.3 kB / 494.8 MB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.6184, allocations: 17.7 kB / 494.8 MB, free: 9.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/0.6185, allocations: 21.28 kB / 494.8 MB, free: 9.562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.298e-05/0.6185, allocations: 96.64 kB / 494.9 MB, free: 9.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6185, allocations: 6.281 kB / 494.9 MB, free: 9.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007866/0.6193, allocations: 183.3 kB / 495.1 MB, free: 9.457 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.0009122/0.6203, allocations: 340.9 kB / 495.4 MB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.6218, allocations: 0.6767 MB / 496.1 MB, free: 9.156 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.6218, allocations: 4.062 kB / 496.1 MB, free: 9.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006685/0.6224, allocations: 325.1 kB / 496.4 MB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.6233, allocations: 100.3 kB / 496.5 MB, free: 9.062 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.625, allocations: 0.9454 MB / 497.5 MB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.6253, allocations: 0.7425 MB / 498.2 MB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001323/0.6266, allocations: 177.1 kB / 498.4 MB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002931/0.6269, allocations: 34.97 kB / 498.4 MB, free: 7.574 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.6269, allocations: 4 kB / 498.4 MB, free: 7.57 MB / 398.1 MB Notification: Performance of Templates: time 0.01564/0.6426, allocations: 10.54 MB / 0.497 GB, free: 2.082 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)