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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 191.5 kB / 8.135 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.101/1.101, allocations: 205.2 MB / 213.7 MB, free: 13.83 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.0008661/0.0008662, allocations: 85.36 kB / 261.7 MB, free: 13.47 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3239/0.3239, allocations: 48.76 MB / 358.5 MB, free: 52.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.212e-06/6.352e-06, allocations: 224 / 424.7 MB, free: 8.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 60.26 MB / 485 MB, free: 11.68 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.167/5.275, allocations: 2.912 GB / 3.386 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/5.276, allocations: 73.5 kB / 3.386 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.228/6.503, allocations: 353.5 MB / 3.731 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.132e-05/6.503, allocations: 11.69 kB / 3.731 GB, free: 52.47 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.004508/6.508, allocations: 1.258 MB / 3.732 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/6.508, allocations: 9.094 kB / 3.732 GB, free: 51.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/6.509, allocations: 163.8 kB / 3.732 GB, free: 51.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005737/6.51, allocations: 393.9 kB / 3.733 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/6.51, allocations: 10.78 kB / 3.733 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/6.51, allocations: 21.19 kB / 3.733 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000388/6.51, allocations: 240.5 kB / 3.733 GB, free: 51.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/6.511, allocations: 462.4 kB / 3.733 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/6.511, allocations: 0 / 3.733 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.405e-05/6.511, allocations: 5.969 kB / 3.733 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/6.511, allocations: 10.84 kB / 3.733 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/6.513, allocations: 2.592 MB / 3.736 GB, free: 49.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/6.513, allocations: 190.2 kB / 3.736 GB, free: 49.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/6.513, allocations: 153.2 kB / 3.736 GB, free: 49.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1714/6.685, allocations: 93.3 MB / 3.827 GB, free: 38.88 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004451/6.685, allocations: 255.3 kB / 3.828 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 2.605e-06/6.685, allocations: 0 / 3.828 GB, free: 38.77 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36): time 0.004146/6.689, allocations: 1.283 MB / 3.829 GB, free: 38.42 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/6.689, allocations: 136.4 kB / 3.829 GB, free: 38.26 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/6.69, allocations: 291.4 kB / 3.829 GB, free: 38.15 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/6.69, allocations: 25.7 kB / 3.829 GB, free: 38.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/6.69, allocations: 202.1 kB / 3.829 GB, free: 38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/6.69, allocations: 101.4 kB / 3.83 GB, free: 37.95 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/6.69, allocations: 3.688 kB / 3.83 GB, free: 37.95 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001403/6.69, allocations: 356.3 kB / 3.83 GB, free: 37.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/6.69, allocations: 143 kB / 3.83 GB, free: 37.63 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/6.691, allocations: 217.9 kB / 3.83 GB, free: 37.55 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/6.691, allocations: 203 kB / 3.83 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/6.691, allocations: 0 / 3.83 GB, free: 37.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001537/6.693, allocations: 0.6067 MB / 3.831 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/6.693, allocations: 3.5 kB / 3.831 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/6.693, allocations: 3.969 kB / 3.831 GB, free: 37.46 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/6.693, allocations: 80.27 kB / 3.831 GB, free: 37.44 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/6.694, allocations: 61.92 kB / 3.831 GB, free: 37.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001225/6.695, allocations: 1.207 MB / 3.832 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003641/6.695, allocations: 30.89 kB / 3.832 GB, free: 36.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.278e-05/6.695, allocations: 21.09 kB / 3.832 GB, free: 36.39 MB / 0.5573 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 () * 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.000184/6.695, allocations: 189.1 kB / 3.833 GB, free: 36.22 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000254/6.696, allocations: 98.84 kB / 3.833 GB, free: 36.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/6.698, allocations: 1.633 MB / 3.834 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/6.698, allocations: 20.38 kB / 3.834 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/6.698, allocations: 0 / 3.834 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/6.698, allocations: 10.94 kB / 3.834 GB, free: 36.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/6.699, allocations: 0.6522 MB / 3.835 GB, free: 35.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/6.699, allocations: 5.953 kB / 3.835 GB, free: 35.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/6.699, allocations: 42.48 kB / 3.835 GB, free: 35.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/6.699, allocations: 371.5 kB / 3.835 GB, free: 35.86 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/6.699, allocations: 19.62 kB / 3.835 GB, free: 35.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009477/6.7, allocations: 1.375 MB / 3.837 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/6.7, allocations: 3.188 kB / 3.837 GB, free: 34.81 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002243/6.703, allocations: 1.775 MB / 3.838 GB, free: 34.64 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/6.703, allocations: 188 kB / 3.839 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/6.703, allocations: 13.53 kB / 3.839 GB, free: 34.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/6.703, allocations: 23.58 kB / 3.839 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/6.703, allocations: 21.09 kB / 3.839 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.951e-05/6.703, allocations: 26.31 kB / 3.839 GB, free: 34.51 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0002059/6.704, allocations: 219.9 kB / 3.839 GB, free: 34.43 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005029/6.709, allocations: 1.132 MB / 3.84 GB, free: 34.28 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) * 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.009172/6.718, allocations: 1.922 MB / 3.842 GB, free: 33.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001288/6.719, allocations: 0.7757 MB / 3.843 GB, free: 33.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/6.719, allocations: 6.188 kB / 3.843 GB, free: 33.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000762/6.72, allocations: 0.7296 MB / 3.843 GB, free: 33.74 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009104/6.721, allocations: 131 kB / 3.844 GB, free: 33.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/6.723, allocations: 1.227 MB / 3.845 GB, free: 33.38 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007783/6.724, allocations: 0.9649 MB / 3.846 GB, free: 32.67 MB / 0.5573 GB Notification: Performance of SimCode: time 4.51e-07/6.724, allocations: 0 / 3.846 GB, free: 32.67 MB / 0.5573 GB Notification: Performance of Templates: time 0.05175/6.776, allocations: 34.03 MB / 3.879 GB, free: 30.58 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)