Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas") translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008316/0.008317, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.838/1.838, allocations: 194.5 MB / 210.3 MB, free: 7.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001869/0.001869, allocations: 120.6 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.246/0.246, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005126, allocations: 16.12 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1591, allocations: 54.86 MB / 461 MB, free: 3.305 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.261/2.42, allocations: 0.7596 GB / 1.21 GB, free: 59.05 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/2.421, allocations: 68.91 kB / 1.21 GB, free: 59.02 MB / 490.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.1263/2.547, allocations: 61.97 MB / 1.27 GB, free: 4.594 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.086e-06/2.547, allocations: 0 / 1.27 GB, free: 4.594 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.009e-05/2.547, allocations: 8 kB / 1.27 GB, free: 4.586 MB / 490.7 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.001094/2.548, allocations: 479.4 kB / 1.271 GB, free: 4.066 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.104e-05/2.548, allocations: 8.031 kB / 1.271 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005717/2.554, allocations: 0.7102 MB / 1.272 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006959/2.555, allocations: 282.6 kB / 1.272 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.265e-05/2.555, allocations: 12.33 kB / 1.272 GB, free: 3.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/2.555, allocations: 19.91 kB / 1.272 GB, free: 3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/2.557, allocations: 0.6955 MB / 1.273 GB, free: 2.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/2.557, allocations: 4 kB / 1.273 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/2.557, allocations: 4 kB / 1.273 GB, free: 2.281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.703e-05/2.557, allocations: 11.98 kB / 1.273 GB, free: 2.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/2.559, allocations: 0.7612 MB / 1.273 GB, free: 1.508 MB / 490.7 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.003311/2.562, allocations: 1.23 MB / 1.274 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3558/2.918, allocations: 316.2 kB / 1.275 GB, free: 157 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/2.919, allocations: 248.2 kB / 1.275 GB, free: 156.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/2.919, allocations: 42.88 kB / 1.275 GB, free: 156.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 5.12e-06/2.919, allocations: 0 / 1.275 GB, free: 156.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002612/2.922, allocations: 0.5445 MB / 1.276 GB, free: 156.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/2.922, allocations: 80.75 kB / 1.276 GB, free: 156.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/2.922, allocations: 118.8 kB / 1.276 GB, free: 156.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.106e-05/2.922, allocations: 29.42 kB / 1.276 GB, free: 156.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/2.922, allocations: 122.1 kB / 1.276 GB, free: 156.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/2.922, allocations: 93.97 kB / 1.276 GB, free: 156.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-05/2.922, allocations: 7.938 kB / 1.276 GB, free: 156.4 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001038/2.922, allocations: 329.2 kB / 1.276 GB, free: 156.1 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007368/2.923, allocations: 181.6 kB / 1.276 GB, free: 156.1 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008367/2.924, allocations: 278.9 kB / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000858/2.925, allocations: 212.6 kB / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/2.925, allocations: 1.25 kB / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002159/2.927, allocations: 0.5014 MB / 1.277 GB, free: 155.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/2.927, allocations: 8.234 kB / 1.277 GB, free: 155.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/2.927, allocations: 4.344 kB / 1.277 GB, free: 155.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/2.927, allocations: 9.094 kB / 1.277 GB, free: 155.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/2.928, allocations: 81.98 kB / 1.278 GB, free: 155.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/2.928, allocations: 9.625 kB / 1.278 GB, free: 155.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/2.929, allocations: 38.62 kB / 1.278 GB, free: 155.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/2.929, allocations: 20.84 kB / 1.278 GB, free: 155.9 MB / 490.7 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 (38): * Single equations (assignments): 38 * 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.000316/2.929, allocations: 152.2 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/2.93, allocations: 13.12 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/2.932, allocations: 485.7 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.251e-05/2.932, allocations: 6.188 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/2.932, allocations: 2.344 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/2.932, allocations: 2.672 kB / 1.278 GB, free: 155.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/2.933, allocations: 0.4927 MB / 1.279 GB, free: 155.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/2.933, allocations: 0.8438 kB / 1.279 GB, free: 155.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009421/2.934, allocations: 64.09 kB / 1.279 GB, free: 155.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/2.934, allocations: 3.406 kB / 1.279 GB, free: 155.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.689e-05/2.934, allocations: 13.98 kB / 1.279 GB, free: 155.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.574e-06/2.934, allocations: 1.094 kB / 1.279 GB, free: 155.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/2.934, allocations: 2.781 kB / 1.279 GB, free: 155.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/2.937, allocations: 0.6958 MB / 1.279 GB, free: 155.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.349e-05/2.937, allocations: 92.33 kB / 1.28 GB, free: 155.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.979e-05/2.937, allocations: 7.969 kB / 1.28 GB, free: 155.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008798/2.938, allocations: 23.22 kB / 1.28 GB, free: 155.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/2.938, allocations: 20.38 kB / 1.28 GB, free: 155.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.863e-05/2.938, allocations: 15.92 kB / 1.28 GB, free: 155.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 9.97e-05/2.938, allocations: 103.3 kB / 1.28 GB, free: 155 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.938, allocations: 0 / 1.28 GB, free: 155 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001738/2.94, allocations: 202.4 kB / 1.28 GB, free: 155 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * 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 (25): * Single equations (assignments): 25 * 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.00255/2.943, allocations: 0.7265 MB / 1.281 GB, free: 154.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001855/2.944, allocations: 435.3 kB / 1.281 GB, free: 154.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/2.944, allocations: 1.438 kB / 1.281 GB, free: 154.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008605/2.945, allocations: 207.8 kB / 1.281 GB, free: 154.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/2.947, allocations: 90.72 kB / 1.281 GB, free: 154.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/2.949, allocations: 1.054 MB / 1.282 GB, free: 154.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003282/2.95, allocations: 0.7413 MB / 1.283 GB, free: 153.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001501/2.951, allocations: 112.3 kB / 1.283 GB, free: 153.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/2.952, allocations: 35.42 kB / 1.283 GB, free: 153.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.052e-06/2.952, allocations: 0 / 1.283 GB, free: 153.9 MB / 490.7 MB Notification: Performance of Templates: time 0.03612/2.988, allocations: 14.49 MB / 1.297 GB, free: 152.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1)