Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") [: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.0009899/0.0009899, allocations: 193.1 kB / 8.137 MB, free: 2.215 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.099/1.099, allocations: 205.2 MB / 213.7 MB, free: 13.9 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.0008993/0.0008994, allocations: 95.78 kB / 261.8 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.3023/0.3023, allocations: 48.76 MB / 358.4 MB, free: 53.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.152e-06, allocations: 224 / 424.7 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 60.25 MB / 485 MB, free: 11.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.424/4.524, allocations: 2.936 GB / 3.41 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/4.525, allocations: 79.05 kB / 3.41 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.7822/5.307, allocations: 302.7 MB / 3.706 GB, free: 31.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001616/5.307, allocations: 95.94 kB / 3.706 GB, free: 31.56 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.0288/5.336, allocations: 8.772 MB / 3.714 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/5.336, allocations: 8.031 kB / 3.714 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/5.342, allocations: 0.7833 MB / 3.715 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009381/5.351, allocations: 2.864 MB / 3.718 GB, free: 19.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003801/5.352, allocations: 164 kB / 3.718 GB, free: 18.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00385/5.356, allocations: 308 kB / 3.718 GB, free: 18.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03761/5.393, allocations: 11.34 MB / 3.729 GB, free: 7.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1832/5.576, allocations: 8.781 MB / 3.738 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/5.577, allocations: 0 / 3.738 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002277/5.579, allocations: 4.312 kB / 3.738 GB, free: 94.36 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/5.579, allocations: 208.9 kB / 3.738 GB, free: 94.35 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03139/5.61, allocations: 25.42 MB / 3.763 GB, free: 83.57 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00285/5.613, allocations: 2.773 MB / 3.766 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002048/5.615, allocations: 1.927 MB / 3.767 GB, free: 83.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1131/5.729, allocations: 64.06 MB / 3.83 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.009e-05/5.729, allocations: 59.03 kB / 3.83 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=240): time 1.047e-05/5.729, allocations: 3.938 kB / 3.83 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of matching and sorting (n=240): time 0.03205/5.761, allocations: 8.681 MB / 3.839 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/5.761, allocations: 85.09 kB / 3.839 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005166/5.766, allocations: 3.349 MB / 3.842 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009936/5.767, allocations: 25.7 kB / 3.842 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/5.769, allocations: 3.064 MB / 3.845 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001665/5.77, allocations: 0.945 MB / 3.846 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/5.771, allocations: 2.812 kB / 3.846 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005708/5.772, allocations: 0.7171 MB / 3.847 GB, free: 40.49 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004413/5.776, allocations: 2.839 MB / 3.849 GB, free: 40.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006392/5.783, allocations: 7.904 MB / 3.857 GB, free: 33.73 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006906/5.79, allocations: 4.577 MB / 3.861 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001825/5.79, allocations: 50.94 kB / 3.862 GB, free: 33.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.02802/5.818, allocations: 12.24 MB / 3.873 GB, free: 32.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.1891/6.007, allocations: 71.24 MB / 3.943 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007071/6.008, allocations: 178.8 kB / 3.943 GB, free: 66.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03134/6.039, allocations: 6.919 MB / 3.95 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005201/6.045, allocations: 1.75 MB / 3.952 GB, free: 66.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01619/6.061, allocations: 8.048 MB / 3.96 GB, free: 66.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006844/6.068, allocations: 1.072 MB / 3.961 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001539/6.069, allocations: 0.5076 MB / 3.961 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/6.069, allocations: 3.938 kB / 3.961 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02079/6.09, allocations: 10.98 MB / 3.972 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006394/6.091, allocations: 181.2 kB / 3.972 GB, free: 65.47 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0299/6.121, allocations: 6.928 MB / 3.979 GB, free: 65.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005079/6.126, allocations: 1.733 MB / 3.98 GB, free: 65.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/6.141, allocations: 8.045 MB / 3.988 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006419/6.148, allocations: 0.7402 MB / 3.989 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001515/6.149, allocations: 0.5102 MB / 3.99 GB, free: 64.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 142} Notification: Performance of prepare postOptimizeDAE: time 0.002384/6.152, allocations: 0.5163 MB / 3.99 GB, free: 63.89 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002588/6.154, allocations: 0.9414 MB / 3.991 GB, free: 63.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03063/6.185, allocations: 13.21 MB / 4.004 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.979e-05/6.185, allocations: 65.94 kB / 4.004 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-05/6.185, allocations: 0 / 4.004 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-05/6.185, allocations: 11.53 kB / 4.004 GB, free: 63.22 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0396/6.225, allocations: 16.94 MB / 4.02 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/6.225, allocations: 0 / 4.02 GB, free: 62.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/6.226, allocations: 262 kB / 4.021 GB, free: 62.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0281/6.254, allocations: 6.476 MB / 4.027 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00118/6.256, allocations: 92.02 kB / 4.027 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05164/6.307, allocations: 25.42 MB / 4.052 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/6.307, allocations: 0 / 4.052 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03891/6.346, allocations: 15.04 MB / 4.067 GB, free: 50.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/6.349, allocations: 0.8315 MB / 4.067 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001808/6.351, allocations: 54.38 kB / 4.067 GB, free: 50.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003482/6.354, allocations: 173 kB / 4.068 GB, free: 50.24 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000967/6.355, allocations: 158.8 kB / 4.068 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007494/6.356, allocations: 98.98 kB / 4.068 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.003544/6.36, allocations: 2.116 MB / 4.07 GB, free: 49.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0187/6.378, allocations: 2.761 MB / 4.073 GB, free: 49.33 MB / 0.5261 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: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.00847/6.387, allocations: 1.447 MB / 4.074 GB, free: 49.13 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2117/6.599, allocations: 14.78 MB / 4.089 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/6.599, allocations: 5.031 kB / 4.089 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.009172/6.608, allocations: 5.199 MB / 4.094 GB, free: 97.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003198/6.611, allocations: 0.5483 MB / 4.094 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/6.631, allocations: 10.7 MB / 4.105 GB, free: 96.18 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003018/6.634, allocations: 3.1 MB / 4.108 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/6.634, allocations: 0 / 4.108 GB, free: 95.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.1741/6.808, allocations: 130.1 MB / 4.235 GB, free: 71.21 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)