Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.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_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") [: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.0009257/0.0009258, allocations: 190.8 kB / 8.136 MB, free: 2.191 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.073/1.073, allocations: 205.2 MB / 213.7 MB, free: 13.85 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.0008073/0.0008074, allocations: 93.28 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3055/0.3055, allocations: 48.76 MB / 358.4 MB, free: 53.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.355e-06/8.446e-06, allocations: 4.219 kB / 424.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1027, allocations: 60.25 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.34/4.443, allocations: 2.942 GB / 3.415 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001642/4.443, allocations: 78.2 kB / 3.415 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.12/5.563, allocations: 373.1 MB / 3.78 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001175/5.563, allocations: 92.12 kB / 3.78 GB, free: 52.88 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.03248/5.596, allocations: 8.911 MB / 3.789 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.862e-05/5.596, allocations: 7.125 kB / 3.789 GB, free: 51.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007011/5.603, allocations: 0.7958 MB / 3.789 GB, free: 51.19 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/5.613, allocations: 2.899 MB / 3.792 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/5.613, allocations: 175.4 kB / 3.792 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00358/5.617, allocations: 311.2 kB / 3.793 GB, free: 50.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04146/5.658, allocations: 11.41 MB / 3.804 GB, free: 50.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02559/5.684, allocations: 8.857 MB / 3.812 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002597/5.684, allocations: 0 / 3.812 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002697/5.687, allocations: 9.656 kB / 3.812 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001618/5.687, allocations: 206.8 kB / 3.813 GB, free: 50.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04254/5.73, allocations: 24.63 MB / 3.837 GB, free: 38.74 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005055/5.735, allocations: 2.829 MB / 3.839 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/5.738, allocations: 1.949 MB / 3.841 GB, free: 38.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1201/5.858, allocations: 64.06 MB / 3.904 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/5.859, allocations: 66.39 kB / 3.904 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=245): time 1.201e-05/5.859, allocations: 4 kB / 3.904 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245): time 0.03559/5.894, allocations: 8.75 MB / 3.913 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.104e-05/5.894, allocations: 77.41 kB / 3.913 GB, free: 26.22 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005973/5.9, allocations: 3.36 MB / 3.916 GB, free: 24 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001494/5.902, allocations: 25.7 kB / 3.916 GB, free: 23.97 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002041/5.904, allocations: 3.087 MB / 3.919 GB, free: 21.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002114/5.906, allocations: 0.9675 MB / 3.92 GB, free: 20.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/5.907, allocations: 3.281 kB / 3.92 GB, free: 20.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006987/5.908, allocations: 0.7196 MB / 3.921 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005043/5.913, allocations: 2.853 MB / 3.923 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007382/5.921, allocations: 7.934 MB / 3.931 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008744/5.929, allocations: 4.596 MB / 3.936 GB, free: 4.191 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001894/5.93, allocations: 52 kB / 3.936 GB, free: 4.141 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.205/6.135, allocations: 11.71 MB / 3.947 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.01634/6.151, allocations: 71.23 MB / 4.017 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006519/6.152, allocations: 182 kB / 4.017 GB, free: 45.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03201/6.184, allocations: 6.961 MB / 4.024 GB, free: 45.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005767/6.189, allocations: 1.771 MB / 4.025 GB, free: 45.35 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/6.207, allocations: 8.019 MB / 4.033 GB, free: 44.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00881/6.216, allocations: 1.082 MB / 4.034 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002113/6.218, allocations: 0.5136 MB / 4.035 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/6.218, allocations: 4.656 kB / 4.035 GB, free: 44.45 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02091/6.239, allocations: 10.41 MB / 4.045 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008258/6.24, allocations: 179.8 kB / 4.045 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03149/6.271, allocations: 6.959 MB / 4.052 GB, free: 43.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006007/6.277, allocations: 1.756 MB / 4.054 GB, free: 43.72 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/6.296, allocations: 8.025 MB / 4.061 GB, free: 43.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007376/6.304, allocations: 0.7552 MB / 4.062 GB, free: 42.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002007/6.306, allocations: 0.5077 MB / 4.063 GB, free: 42.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * 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 (949): * Single equations (assignments): 948 * 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 141} Notification: Performance of prepare postOptimizeDAE: time 0.003817/6.31, allocations: 0.5091 MB / 4.063 GB, free: 42.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003928/6.313, allocations: 0.9932 MB / 4.064 GB, free: 42.32 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03362/6.347, allocations: 13.78 MB / 4.078 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.043e-05/6.347, allocations: 64.72 kB / 4.078 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/6.347, allocations: 0 / 4.078 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.543e-05/6.347, allocations: 17.3 kB / 4.078 GB, free: 41.75 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04356/6.391, allocations: 17.58 MB / 4.095 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-05/6.391, allocations: 0 / 4.095 GB, free: 40.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/6.393, allocations: 280.5 kB / 4.095 GB, free: 40.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02998/6.423, allocations: 6.445 MB / 4.101 GB, free: 40.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001343/6.424, allocations: 99.62 kB / 4.101 GB, free: 40.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05144/6.476, allocations: 24.21 MB / 4.125 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/6.476, allocations: 0 / 4.125 GB, free: 34.09 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04192/6.518, allocations: 15.5 MB / 4.14 GB, free: 29.09 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003174/6.521, allocations: 0.8545 MB / 4.141 GB, free: 28.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002009/6.523, allocations: 53.91 kB / 4.141 GB, free: 28.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003936/6.527, allocations: 186.4 kB / 4.141 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00126/6.528, allocations: 162.2 kB / 4.141 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001018/6.529, allocations: 104.9 kB / 4.142 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.004806/6.534, allocations: 2.122 MB / 4.144 GB, free: 27.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01857/6.553, allocations: 2.788 MB / 4.146 GB, free: 25.28 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (166): * Single equations (assignments): 151 * 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 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.007985/6.561, allocations: 1.595 MB / 4.148 GB, free: 24.07 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02783/6.588, allocations: 14.55 MB / 4.162 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/6.589, allocations: 0 / 4.162 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01031/6.599, allocations: 5.351 MB / 4.167 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003855/6.603, allocations: 0.5561 MB / 4.168 GB, free: 5.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2137/6.816, allocations: 11.02 MB / 4.179 GB, free: 110 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002843/6.819, allocations: 3.161 MB / 4.182 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of SimCode: time 1.082e-06/6.819, allocations: 3.469 kB / 4.182 GB, free: 109.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.1878/7.007, allocations: 132.3 MB / 4.311 GB, free: 89.02 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1)