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.001341/0.001341, allocations: 182.1 kB / 12.74 MB, free: 2.582 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.813/1.813, allocations: 194.3 MB / 207.5 MB, free: 3.457 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.001764/0.001764, allocations: 114.2 kB / 252.6 MB, free: 4.781 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.266/0.266, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.135e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1461, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.3/2.447, allocations: 0.7595 GB / 1.204 GB, free: 52.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/2.447, allocations: 71.97 kB / 1.204 GB, free: 52.89 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.4889/2.936, allocations: 61.92 MB / 1.264 GB, free: 160.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.705e-06/2.936, allocations: 0 / 1.264 GB, free: 160.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/2.936, allocations: 2.75 kB / 1.264 GB, free: 160.6 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.0008332/2.937, allocations: 475.9 kB / 1.265 GB, free: 160.2 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.306e-05/2.937, allocations: 8.25 kB / 1.265 GB, free: 160.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005538/2.942, allocations: 0.7015 MB / 1.266 GB, free: 160.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005204/2.943, allocations: 279.2 kB / 1.266 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/2.943, allocations: 13.77 kB / 1.266 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/2.943, allocations: 17.88 kB / 1.266 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/2.944, allocations: 0.6512 MB / 1.267 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/2.944, allocations: 1.219 kB / 1.267 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.773e-05/2.944, allocations: 7.594 kB / 1.267 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/2.944, allocations: 17.94 kB / 1.267 GB, free: 160 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/2.946, allocations: 0.7148 MB / 1.267 GB, free: 160 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.002808/2.949, allocations: 1.224 MB / 1.268 GB, free: 159.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005237/2.949, allocations: 286.4 kB / 1.269 GB, free: 159.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/2.95, allocations: 187 kB / 1.269 GB, free: 159.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005904/2.95, allocations: 252 kB / 1.269 GB, free: 159.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/2.95, allocations: 39.61 kB / 1.269 GB, free: 159.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.835e-06/2.95, allocations: 1.469 kB / 1.269 GB, free: 159.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009165/2.951, allocations: 377.7 kB / 1.27 GB, free: 159.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/2.951, allocations: 80.02 kB / 1.27 GB, free: 159 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/2.951, allocations: 124.4 kB / 1.27 GB, free: 158.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/2.951, allocations: 31.89 kB / 1.27 GB, free: 158.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.602e-05/2.951, allocations: 118.4 kB / 1.27 GB, free: 158.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.331e-05/2.952, allocations: 94.34 kB / 1.27 GB, free: 158.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.018e-05/2.952, allocations: 4.875 kB / 1.27 GB, free: 158.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/2.952, allocations: 327.5 kB / 1.27 GB, free: 158.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/2.952, allocations: 169.4 kB / 1.27 GB, free: 158.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003452/2.952, allocations: 272 kB / 1.271 GB, free: 158.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/2.953, allocations: 191.4 kB / 1.271 GB, free: 158.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/2.953, allocations: 1.562 kB / 1.271 GB, free: 158.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000883/2.954, allocations: 486 kB / 1.271 GB, free: 158.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/2.954, allocations: 5.844 kB / 1.271 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/2.954, allocations: 14.06 kB / 1.271 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/2.954, allocations: 10.17 kB / 1.271 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/2.954, allocations: 77.48 kB / 1.271 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/2.954, allocations: 10.48 kB / 1.271 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/2.955, allocations: 41.3 kB / 1.272 GB, free: 158.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.334e-05/2.955, allocations: 21.38 kB / 1.272 GB, free: 158.2 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 () * 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.0001234/2.955, allocations: 124.5 kB / 1.272 GB, free: 158.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/2.955, allocations: 12.34 kB / 1.272 GB, free: 158.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009347/2.956, allocations: 465.3 kB / 1.272 GB, free: 158.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.066e-06/2.956, allocations: 6.391 kB / 1.272 GB, free: 158 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/2.956, allocations: 3.938 kB / 1.272 GB, free: 158 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/2.956, allocations: 5.125 kB / 1.272 GB, free: 158 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007348/2.957, allocations: 0.4972 MB / 1.273 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/2.957, allocations: 5.344 kB / 1.273 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004886/2.957, allocations: 58.16 kB / 1.273 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/2.957, allocations: 1.438 kB / 1.273 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.527e-05/2.957, allocations: 12.17 kB / 1.273 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/2.957, allocations: 5.172 kB / 1.273 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/2.957, allocations: 1.406 kB / 1.273 GB, free: 157.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/2.958, allocations: 0.6398 MB / 1.273 GB, free: 157.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/2.959, allocations: 97.72 kB / 1.273 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.223e-05/2.959, allocations: 6.781 kB / 1.273 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004687/2.959, allocations: 24.48 kB / 1.273 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/2.959, allocations: 19.34 kB / 1.273 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.074e-05/2.959, allocations: 14.88 kB / 1.273 GB, free: 157.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.362e-05/2.959, allocations: 108.3 kB / 1.274 GB, free: 157.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/2.959, allocations: 0.5312 kB / 1.274 GB, free: 157.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001394/2.961, allocations: 203.3 kB / 1.274 GB, free: 157.3 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 () * 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.001499/2.962, allocations: 0.7253 MB / 1.274 GB, free: 157.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007186/2.963, allocations: 393.5 kB / 1.275 GB, free: 157.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/2.963, allocations: 0 / 1.275 GB, free: 157.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/2.963, allocations: 194.9 kB / 1.275 GB, free: 157.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/2.964, allocations: 92.03 kB / 1.275 GB, free: 157.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/2.965, allocations: 0.7743 MB / 1.276 GB, free: 156.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/2.965, allocations: 0.7459 MB / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000711/2.966, allocations: 111.2 kB / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/2.966, allocations: 32.92 kB / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of SimCode: time 6.92e-07/2.966, allocations: 0 / 1.277 GB, free: 156 MB / 490.7 MB Notification: Performance of Templates: time 0.02303/2.989, allocations: 16.27 MB / 1.293 GB, free: 154.8 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)