Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.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_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") [: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.00115/0.00115, allocations: 192 kB / 8.134 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.135/1.135, 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.0008374/0.0008374, allocations: 107.7 kB / 261.8 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.2973/0.2973, allocations: 48.76 MB / 358.5 MB, free: 53.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.33e-06/5.36e-06, allocations: 0 / 424.7 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.09904, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.357/4.456, allocations: 2.942 GB / 3.416 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/4.456, allocations: 82.53 kB / 3.416 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.838/6.294, allocations: 0.6542 GB / 4.07 GB, free: 34.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004261/6.294, allocations: 179.1 kB / 4.07 GB, free: 34.82 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2772 * Number of variables: 2772 Notification: Performance of Generate backend data structure: time 0.05843/6.353, allocations: 17.22 MB / 4.087 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/6.353, allocations: 9.562 kB / 4.087 GB, free: 30.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/6.365, allocations: 1.605 MB / 4.089 GB, free: 30.38 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01962/6.384, allocations: 5.69 MB / 4.094 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007027/6.385, allocations: 342.8 kB / 4.095 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006409/6.392, allocations: 0.6115 MB / 4.095 GB, free: 29.31 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07834/6.47, allocations: 23.02 MB / 4.118 GB, free: 18.49 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04739/6.517, allocations: 17.94 MB / 4.135 GB, free: 424 kB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/6.518, allocations: 4 kB / 4.135 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002587/6.52, allocations: 0 / 4.135 GB, free: 420 kB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002617/6.521, allocations: 421.6 kB / 4.136 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2779/6.798, allocations: 50.02 MB / 4.185 GB, free: 68.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008253/6.807, allocations: 6.126 MB / 4.191 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005458/6.812, allocations: 4.233 MB / 4.195 GB, free: 68.81 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1092/6.921, allocations: 64.12 MB / 4.257 GB, free: 45.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.943e-05/6.922, allocations: 98.34 kB / 4.257 GB, free: 45.39 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=501): time 6.292e-06/6.922, allocations: 0 / 4.257 GB, free: 45.39 MB / 0.5573 GB Notification: Performance of matching and sorting (n=501): time 0.07161/6.993, allocations: 19.84 MB / 4.277 GB, free: 44.31 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/6.993, allocations: 101.8 kB / 4.277 GB, free: 44.24 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008474/7.002, allocations: 6.532 MB / 4.283 GB, free: 43.63 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002655/7.005, allocations: 26.55 kB / 4.283 GB, free: 43.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00398/7.009, allocations: 6.096 MB / 4.289 GB, free: 39.59 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003649/7.012, allocations: 1.962 MB / 4.291 GB, free: 38.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/7.013, allocations: 4 kB / 4.291 GB, free: 38.48 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0007798/7.014, allocations: 1.055 MB / 4.292 GB, free: 38.14 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008162/7.022, allocations: 5.95 MB / 4.298 GB, free: 38.09 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01329/7.036, allocations: 15.94 MB / 4.314 GB, free: 24.87 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01573/7.051, allocations: 9.394 MB / 4.323 GB, free: 24.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003871/7.052, allocations: 101.7 kB / 4.323 GB, free: 24.31 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.05888/7.111, allocations: 24.63 MB / 4.347 GB, free: 22.09 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.2514/7.362, allocations: 140.3 MB / 4.484 GB, free: 28.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009554/7.363, allocations: 350.3 kB / 4.484 GB, free: 28.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0832/7.446, allocations: 18.03 MB / 4.502 GB, free: 28.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009918/7.456, allocations: 3.356 MB / 4.505 GB, free: 28.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04465/7.501, allocations: 18.78 MB / 4.523 GB, free: 27.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01523/7.516, allocations: 2.144 MB / 4.526 GB, free: 26.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004487/7.521, allocations: 1.013 MB / 4.527 GB, free: 26.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/7.521, allocations: 3.75 kB / 4.527 GB, free: 26.83 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04874/7.57, allocations: 22.07 MB / 4.548 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001146/7.571, allocations: 350.5 kB / 4.548 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08172/7.652, allocations: 18.02 MB / 4.566 GB, free: 24.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/7.663, allocations: 3.332 MB / 4.569 GB, free: 24.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04274/7.705, allocations: 18.77 MB / 4.588 GB, free: 23.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01337/7.719, allocations: 1.501 MB / 4.589 GB, free: 22.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003887/7.723, allocations: 1.005 MB / 4.59 GB, free: 22.58 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1613 * Number of states: 0 () * Number of discrete variables: 28 (hexB.fluidState[12].phase,hexB.fluidState[11].phase,hexB.fluidState[10].phase,hexB.fluidState[9].phase,hexB.fluidState[8].phase,hexB.fluidState[7].phase,hexB.fluidState[6].phase,hexB.fluidState[5].phase,hexB.fluidState[4].phase,hexB.fluidState[3].phase,hexB.fluidState[2].phase,hexB.fluidState[1].phase,hexA.fluidState[12].phase,hexA.fluidState[11].phase,hexA.fluidState[10].phase,hexA.fluidState[9].phase,hexA.fluidState[8].phase,hexA.fluidState[7].phase,hexA.fluidState[6].phase,hexA.fluidState[5].phase,hexA.fluidState[4].phase,hexA.fluidState[3].phase,hexA.fluidState[2].phase,hexA.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1804): * Single equations (assignments): 1803 * 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 {26 362} Notification: Performance of prepare postOptimizeDAE: time 0.005722/7.729, allocations: 0.9139 MB / 4.591 GB, free: 21.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006011/7.735, allocations: 1.96 MB / 4.593 GB, free: 21.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07638/7.811, allocations: 29.97 MB / 4.622 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001799/7.811, allocations: 141.4 kB / 4.622 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.658e-05/7.811, allocations: 0 / 4.622 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000177/7.811, allocations: 25.59 kB / 4.622 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3006/8.112, allocations: 38.02 MB / 4.659 GB, free: 151 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.624e-05/8.112, allocations: 3.344 kB / 4.659 GB, free: 151 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00283/8.115, allocations: 497.2 kB / 4.66 GB, free: 151 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07003/8.185, allocations: 15.48 MB / 4.675 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001983/8.187, allocations: 197.2 kB / 4.675 GB, free: 150.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09761/8.285, allocations: 54.64 MB / 4.729 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/8.285, allocations: 9.656 kB / 4.729 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07922/8.364, allocations: 34.46 MB / 4.762 GB, free: 145.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004669/8.369, allocations: 1.678 MB / 4.764 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001714/8.37, allocations: 93.7 kB / 4.764 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005561/8.376, allocations: 383.1 kB / 4.764 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/8.377, allocations: 339.2 kB / 4.765 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008161/8.378, allocations: 206.5 kB / 4.765 GB, free: 144.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.004928/8.383, allocations: 4.118 MB / 4.769 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02621/8.409, allocations: 4.955 MB / 4.774 GB, free: 143.5 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (hexA.p,hexA.h[1],hexA.h[2],hexA.h[3],hexA.h[4],hexA.h[5],hexA.h[6],hexA.h[7],hexA.h[8],hexA.h[9],hexA.h[10],hexA.h[11],hexA.h[12],hexB.p,hexB.h[1],hexB.h[2],hexB.h[3],hexB.h[4],hexB.h[5],hexB.h[6],hexB.h[7],hexB.h[8],hexB.h[9],hexB.h[10],hexB.h[11],hexB.h[12]) * Number of discrete variables: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * 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 {13 126,13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.007798/8.417, allocations: 2.071 MB / 4.776 GB, free: 143.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.05408/8.471, allocations: 30.79 MB / 4.806 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/8.471, allocations: 0 / 4.806 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02117/8.492, allocations: 11.5 MB / 4.817 GB, free: 124.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006282/8.498, allocations: 1.098 MB / 4.818 GB, free: 123.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2281/8.727, allocations: 23.69 MB / 4.841 GB, free: 147 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005307/8.732, allocations: 5.694 MB / 4.847 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/8.732, allocations: 0 / 4.847 GB, free: 146.1 MB / 0.6355 GB Notification: Performance of Templates: time 0.4818/9.214, allocations: 255.1 MB / 5.096 GB, free: 131.9 MB / 0.6355 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe 2>&1)