Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") translateModel(ThermoPower.Test.WaterComponents.TestBarometricCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001152, allocations: 175.3 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.776/1.776, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009299/0.0009302, allocations: 81.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5811/0.5811, allocations: 48.77 MB / 369 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004509/0.0004509, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1823/0.1828, allocations: 60.26 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.759/7.942, allocations: 2.913 GB / 3.402 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/7.943, allocations: 82.2 kB / 3.402 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.463/9.406, allocations: 357.6 MB / 3.751 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.166e-06/9.406, allocations: 0 / 3.751 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.685e-05/9.406, allocations: 17.41 kB / 3.751 GB, free: 58.77 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.006907/9.413, allocations: 1.305 MB / 3.752 GB, free: 58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/9.413, allocations: 8.75 kB / 3.752 GB, free: 58 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/9.414, allocations: 150.9 kB / 3.752 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009571/9.415, allocations: 407.8 kB / 3.753 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/9.415, allocations: 32.25 kB / 3.753 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/9.416, allocations: 33.5 kB / 3.753 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/9.417, allocations: 0.5537 MB / 3.753 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.054e-05/9.417, allocations: 0 / 3.753 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/9.417, allocations: 21.53 kB / 3.753 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/9.417, allocations: 7.781 kB / 3.753 GB, free: 57.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/9.418, allocations: 326.5 kB / 3.754 GB, free: 57.49 MB / 0.5105 GB 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.003396/9.421, allocations: 2.548 MB / 3.756 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/9.422, allocations: 290.8 kB / 3.756 GB, free: 55.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/9.422, allocations: 163.6 kB / 3.757 GB, free: 55.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1826/9.605, allocations: 93.61 MB / 3.848 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008412/9.606, allocations: 317.4 kB / 3.848 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 3.637e-06/9.606, allocations: 0 / 3.848 GB, free: 29.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36): time 0.004408/9.61, allocations: 1.812 MB / 3.85 GB, free: 28.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.184e-05/9.61, allocations: 132.5 kB / 3.85 GB, free: 28.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/9.611, allocations: 395.8 kB / 3.851 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/9.611, allocations: 31.98 kB / 3.851 GB, free: 28.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/9.611, allocations: 245.5 kB / 3.851 GB, free: 28.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/9.611, allocations: 114.9 kB / 3.851 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.03e-05/9.611, allocations: 7.281 kB / 3.851 GB, free: 28.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001813/9.611, allocations: 362.5 kB / 3.851 GB, free: 27.83 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/9.612, allocations: 147.8 kB / 3.851 GB, free: 27.83 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002746/9.612, allocations: 227.5 kB / 3.852 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/9.612, allocations: 0.4911 MB / 3.852 GB, free: 27.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/9.612, allocations: 4 kB / 3.852 GB, free: 27.53 MB / 0.5417 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001142/9.614, allocations: 0.6671 MB / 3.853 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.753e-05/9.614, allocations: 71.28 kB / 3.853 GB, free: 27.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/9.614, allocations: 5.609 kB / 3.853 GB, free: 27.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/9.615, allocations: 153.6 kB / 3.853 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/9.615, allocations: 60.05 kB / 3.853 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009849/9.616, allocations: 1.137 MB / 3.854 GB, free: 26.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004418/9.617, allocations: 36 kB / 3.854 GB, free: 26.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/9.617, allocations: 29.91 kB / 3.854 GB, free: 26.26 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,$PRE.steamFlowRate.nextEvent,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,$PRE.coolingFlowRate.nextEvent,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled,tank.liquidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003773/9.617, allocations: 247.2 kB / 3.854 GB, free: 26.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.77e-05/9.617, allocations: 49.22 kB / 3.854 GB, free: 26.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/9.619, allocations: 1.617 MB / 3.856 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/9.619, allocations: 17.88 kB / 3.856 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/9.619, allocations: 0 / 3.856 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/9.619, allocations: 3.891 kB / 3.856 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009707/9.62, allocations: 0.7456 MB / 3.857 GB, free: 25.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/9.62, allocations: 0 / 3.857 GB, free: 25.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/9.62, allocations: 45.61 kB / 3.857 GB, free: 25.58 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006614/9.621, allocations: 366.9 kB / 3.857 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.457e-05/9.621, allocations: 12.06 kB / 3.857 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00222/9.623, allocations: 1.334 MB / 3.859 GB, free: 40.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/9.623, allocations: 6.547 kB / 3.859 GB, free: 40.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/9.626, allocations: 1.777 MB / 3.86 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003887/9.626, allocations: 198.3 kB / 3.86 GB, free: 40.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/9.626, allocations: 16.39 kB / 3.86 GB, free: 40.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/9.627, allocations: 38.12 kB / 3.86 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/9.627, allocations: 18.3 kB / 3.861 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/9.627, allocations: 22.81 kB / 3.861 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003609/9.627, allocations: 277.5 kB / 3.861 GB, free: 40 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/9.627, allocations: 5.062 kB / 3.861 GB, free: 40 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.007567/9.635, allocations: 1.156 MB / 3.862 GB, free: 39.82 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (barometricCondenser.hl,tank.y,tank.h) * Number of discrete variables: 22 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$whenCondition1,$whenCondition2,steamFlowRate.a,steamFlowRate.b,steamFlowRate.last,steamFlowRate.nextEvent,steamFlowRate.nextEventScaled,coolingFlowRate.a,coolingFlowRate.b,coolingFlowRate.last,coolingFlowRate.nextEvent,coolingFlowRate.nextEventScaled) * Number of discrete states: 12 (steamFlowRate.nextEvent,steamFlowRate.last,steamFlowRate.nextEventScaled,steamFlowRate.b,steamFlowRate.a,$whenCondition1,coolingFlowRate.nextEvent,coolingFlowRate.last,coolingFlowRate.nextEventScaled,coolingFlowRate.b,coolingFlowRate.a,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0115/9.646, allocations: 1.71 MB / 3.864 GB, free: 39.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001616/9.648, allocations: 0.7341 MB / 3.864 GB, free: 39.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/9.648, allocations: 2.469 kB / 3.864 GB, free: 39.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0008923/9.649, allocations: 0.5946 MB / 3.865 GB, free: 39.16 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/9.65, allocations: 177.1 kB / 3.865 GB, free: 39.15 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/9.653, allocations: 1.769 MB / 3.867 GB, free: 38.32 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005563/9.654, allocations: 0.9102 MB / 3.868 GB, free: 37.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003799/9.654, allocations: 94.02 kB / 3.868 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.693e-05/9.654, allocations: 40.31 kB / 3.868 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of SimCode: time 1.312e-06/9.654, allocations: 0 / 3.868 GB, free: 37.61 MB / 0.5573 GB Notification: Performance of Templates: time 0.06086/9.715, allocations: 38.26 MB / 3.905 GB, free: 23.41 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestBarometricCondenser.pipe 2>&1)