Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.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.DistributedParameterComponents.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") [: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.0009295/0.0009295, allocations: 188.8 kB / 8.133 MB, free: 2.199 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.07/1.07, 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.0009729/0.000973, allocations: 100.3 kB / 261.7 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3122/0.3122, allocations: 48.75 MB / 358.4 MB, free: 53.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.163e-06, allocations: 4 kB / 424.7 MB, free: 8.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.102, allocations: 60.25 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.317/4.419, allocations: 2.942 GB / 3.416 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/4.419, allocations: 82.2 kB / 3.416 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.086/5.506, allocations: 374.1 MB / 3.781 GB, free: 52.12 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001125/5.506, allocations: 94.22 kB / 3.781 GB, free: 52.12 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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.02827/5.534, allocations: 8.986 MB / 3.79 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/5.534, allocations: 7.688 kB / 3.79 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/5.54, allocations: 0.8062 MB / 3.791 GB, free: 50.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009429/5.549, allocations: 2.932 MB / 3.793 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/5.55, allocations: 175.8 kB / 3.794 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003862/5.554, allocations: 314.5 kB / 3.794 GB, free: 49.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03717/5.591, allocations: 11.54 MB / 3.805 GB, free: 49.77 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02085/5.612, allocations: 8.987 MB / 3.814 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002342/5.612, allocations: 1.031 kB / 3.814 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002109/5.614, allocations: 0 / 3.814 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/5.614, allocations: 214.4 kB / 3.814 GB, free: 49.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03987/5.654, allocations: 25.3 MB / 3.839 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005389/5.66, allocations: 3.13 MB / 3.842 GB, free: 37.35 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003525/5.663, allocations: 2.144 MB / 3.844 GB, free: 37.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1244/5.788, allocations: 64.08 MB / 3.907 GB, free: 27.57 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/5.788, allocations: 66.19 kB / 3.907 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=257): time 6.662e-06/5.788, allocations: 0 / 3.907 GB, free: 27.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=257): time 0.04157/5.829, allocations: 10.01 MB / 3.916 GB, free: 22.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/5.829, allocations: 81.44 kB / 3.917 GB, free: 21.96 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006012/5.835, allocations: 3.325 MB / 3.92 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001594/5.837, allocations: 29.7 kB / 3.92 GB, free: 19.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0027/5.84, allocations: 3.076 MB / 3.923 GB, free: 16.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002597/5.842, allocations: 1 MB / 3.924 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00165/5.844, allocations: 0 / 3.924 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0008814/5.845, allocations: 0.7177 MB / 3.924 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005354/5.85, allocations: 3 MB / 3.927 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009238/5.86, allocations: 8.005 MB / 3.935 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2053/6.065, allocations: 5.303 MB / 3.94 GB, free: 119 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001697/6.065, allocations: 51.09 kB / 3.94 GB, free: 119 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.03832/6.103, allocations: 14.31 MB / 3.954 GB, free: 118.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01442/6.118, allocations: 70.11 MB / 4.023 GB, free: 45.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005717/6.119, allocations: 175.3 kB / 4.023 GB, free: 45.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04331/6.162, allocations: 9.074 MB / 4.032 GB, free: 45.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005065/6.167, allocations: 1.687 MB / 4.034 GB, free: 45.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/6.19, allocations: 9.769 MB / 4.043 GB, free: 45.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007722/6.197, allocations: 1.076 MB / 4.044 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/6.199, allocations: 0.5063 MB / 4.045 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/6.199, allocations: 3.594 kB / 4.045 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03308/6.232, allocations: 13.02 MB / 4.057 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007787/6.233, allocations: 174.7 kB / 4.058 GB, free: 43.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04243/6.276, allocations: 9.073 MB / 4.066 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/6.28, allocations: 1.667 MB / 4.068 GB, free: 43.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/6.303, allocations: 9.778 MB / 4.078 GB, free: 42.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007171/6.311, allocations: 0.7526 MB / 4.078 GB, free: 42.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/6.313, allocations: 0.5053 MB / 4.079 GB, free: 42.42 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (903): * Single equations (assignments): 902 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 187} Notification: Performance of prepare postOptimizeDAE: time 0.002769/6.315, allocations: 0.503 MB / 4.079 GB, free: 42.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003085/6.318, allocations: 0.9929 MB / 4.08 GB, free: 41.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03896/6.357, allocations: 15.05 MB / 4.095 GB, free: 41.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-05/6.358, allocations: 66.72 kB / 4.095 GB, free: 41.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/6.358, allocations: 0 / 4.095 GB, free: 41.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001009/6.358, allocations: 18.48 kB / 4.095 GB, free: 41.09 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05337/6.411, allocations: 19.14 MB / 4.114 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-05/6.411, allocations: 256 / 4.114 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/6.413, allocations: 262.8 kB / 4.114 GB, free: 56.07 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0365/6.449, allocations: 7.751 MB / 4.122 GB, free: 54.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001481/6.451, allocations: 97.19 kB / 4.122 GB, free: 54.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05655/6.507, allocations: 27.35 MB / 4.148 GB, free: 43.53 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/6.507, allocations: 4 kB / 4.148 GB, free: 43.53 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04143/6.549, allocations: 17.25 MB / 4.165 GB, free: 29.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/6.551, allocations: 0.8934 MB / 4.166 GB, free: 28.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/6.553, allocations: 47.53 kB / 4.166 GB, free: 28.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003512/6.556, allocations: 196.9 kB / 4.166 GB, free: 28.63 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007982/6.557, allocations: 175.1 kB / 4.166 GB, free: 28.54 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006072/6.558, allocations: 103.3 kB / 4.167 GB, free: 28.46 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.00341/6.561, allocations: 2.116 MB / 4.169 GB, free: 26.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01953/6.581, allocations: 2.864 MB / 4.171 GB, free: 23.89 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.01185/6.592, allocations: 1.59 MB / 4.173 GB, free: 22.69 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03216/6.625, allocations: 15.46 MB / 4.188 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/6.625, allocations: 0 / 4.188 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01249/6.637, allocations: 5.813 MB / 4.194 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/6.641, allocations: 0.5504 MB / 4.194 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2449/6.886, allocations: 11.64 MB / 4.206 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004364/6.89, allocations: 3.189 MB / 4.209 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of SimCode: time 7.01e-07/6.89, allocations: 0 / 4.209 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.189/7.079, allocations: 138 MB / 4.344 GB, free: 96.54 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe 2>&1)