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.001073/0.001073, allocations: 86.45 kB / 16.31 MB, free: 6.457 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.0009605/0.0009609, allocations: 184 kB / 17.21 MB, free: 6.328 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.424/1.424, allocations: 205.4 MB / 223.4 MB, free: 5.578 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.0004588/0.0004588, allocations: 8 kB / 280.1 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2587, allocations: 47.59 MB / 327.7 MB, free: 1.656 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.FlueGas): time 0.3672/0.626, allocations: 136.9 MB / 464.7 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.628, allocations: 1.93 MB / 466.6 MB, free: 1.941 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.6281, allocations: 4 kB / 466.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.6283, allocations: 38.64 kB / 466.6 MB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.6294, allocations: 434.9 kB / 467 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.6296, allocations: 81.17 kB / 467.1 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.63, allocations: 312.5 kB / 467.4 MB, free: 1.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.089e-05/0.6301, allocations: 12.08 kB / 467.4 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002548/0.6304, allocations: 120.2 kB / 467.6 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002073/0.6306, allocations: 103 kB / 467.7 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.46e-05/0.6306, allocations: 4.688 kB / 467.7 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001671/0.6323, allocations: 0.8622 MB / 468.5 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.454e-05/0.6324, allocations: 82.53 kB / 468.6 MB, free: 1.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.6325, allocations: 62.58 kB / 468.7 MB, free: 1.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.6331, allocations: 485 kB / 469.1 MB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.6331, allocations: 3.375 kB / 469.1 MB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.6331, allocations: 0 / 469.1 MB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.6331, allocations: 0 / 469.1 MB, free: 1.84 MB / 382.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.0007469/0.6338, allocations: 469.1 kB / 469.6 MB, free: 17.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.6339, allocations: 10.66 kB / 469.6 MB, free: 17.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006255/0.6402, allocations: 0.7334 MB / 470.3 MB, free: 17.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/0.6406, allocations: 283.3 kB / 470.6 MB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.6407, allocations: 11.39 kB / 470.6 MB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6408, allocations: 20.42 kB / 470.7 MB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.642, allocations: 0.7023 MB / 471.4 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.642, allocations: 0 / 471.4 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.064e-05/0.6421, allocations: 7.094 kB / 471.4 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/0.6421, allocations: 5.781 kB / 471.4 MB, free: 17.14 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.6439, allocations: 0.9245 MB / 472.3 MB, free: 17.13 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.004182/0.6481, allocations: 2 MB / 474.3 MB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009983/0.6491, allocations: 0.5088 MB / 474.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005579/0.6497, allocations: 324.1 kB / 475.1 MB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006766/0.6504, allocations: 264.6 kB / 475.4 MB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.6504, allocations: 43.14 kB / 475.4 MB, free: 15.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.6504, allocations: 2.906 kB / 475.4 MB, free: 15.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001993/0.6524, allocations: 0.8948 MB / 476.3 MB, free: 15.62 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.6525, allocations: 82.36 kB / 476.4 MB, free: 15.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.6526, allocations: 131.6 kB / 476.5 MB, free: 15.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.6527, allocations: 31.17 kB / 476.6 MB, free: 15.39 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.29e-05/0.6528, allocations: 120 kB / 476.7 MB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.6529, allocations: 95.91 kB / 476.8 MB, free: 15.23 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.6529, allocations: 9.531 kB / 476.8 MB, free: 15.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6531, allocations: 330.7 kB / 477.1 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005683/0.6536, allocations: 290.1 kB / 477.4 MB, free: 14.91 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.6542, allocations: 408.4 kB / 477.8 MB, free: 14.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005841/0.6548, allocations: 337.5 kB / 478.1 MB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6548, allocations: 0 / 478.1 MB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001421/0.6563, allocations: 0.7417 MB / 478.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.6563, allocations: 5.375 kB / 478.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.6563, allocations: 6.891 kB / 478.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6563, allocations: 6.438 kB / 478.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009284/0.6573, allocations: 102.6 kB / 479 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.527e-06/0.6573, allocations: 5.812 kB / 479 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007394/0.658, allocations: 57.84 kB / 479 MB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.272e-05/0.6581, allocations: 23.58 kB / 479.1 MB, free: 14.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.6583, allocations: 146.2 kB / 479.2 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.6585, allocations: 12.62 kB / 479.2 MB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.6603, allocations: 0.781 MB / 480 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.6603, allocations: 7.484 kB / 480 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6604, allocations: 0 / 480 MB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6604, allocations: 3.953 kB / 480 MB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.6614, allocations: 0.8047 MB / 480.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6614, allocations: 0 / 480.8 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.6624, allocations: 84.36 kB / 480.9 MB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.6624, allocations: 3.938 kB / 480.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.6625, allocations: 18.45 kB / 480.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.6625, allocations: 2.875 kB / 480.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.6625, allocations: 0 / 480.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001868/0.6643, allocations: 0.9592 MB / 481.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.646e-05/0.6644, allocations: 98.3 kB / 482 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.761e-05/0.6645, allocations: 8.312 kB / 482 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.6654, allocations: 43.2 kB / 482 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.6654, allocations: 17.02 kB / 482 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-05/0.6655, allocations: 19.61 kB / 482.1 MB, free: 13.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.413e-05/0.6656, allocations: 102.9 kB / 482.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6656, allocations: 0 / 482.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008123/0.6664, allocations: 185.5 kB / 482.3 MB, free: 13.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007728/0.6672, allocations: 290.7 kB / 482.6 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.6686, allocations: 0.653 MB / 483.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6686, allocations: 0 / 483.3 MB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005873/0.6692, allocations: 336.8 kB / 483.6 MB, free: 13.35 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000716/0.6699, allocations: 88.33 kB / 483.7 MB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.6719, allocations: 1.136 MB / 484.8 MB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000455/0.6724, allocations: 0.7448 MB / 485.6 MB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001368/0.6737, allocations: 173.1 kB / 485.7 MB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.6741, allocations: 40.75 kB / 485.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of SimCode: time 2.164e-06/0.6741, allocations: 0 / 485.8 MB, free: 11.87 MB / 398.1 MB Notification: Performance of Templates: time 0.01515/0.6892, allocations: 9.994 MB / 495.8 MB, free: 8.34 MB / 398.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)