Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.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.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") [: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.0009419/0.000942, allocations: 192.6 kB / 8.136 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 0.9356/0.9356, allocations: 205.2 MB / 213.7 MB, free: 13.92 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.0007877/0.0007877, allocations: 86.86 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.2649/0.2649, allocations: 48.76 MB / 358.4 MB, free: 53.21 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 6.693e-06/6.713e-06, allocations: 4.219 kB / 424.7 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08645/0.08646, allocations: 60.24 MB / 485 MB, free: 11.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.835/3.922, allocations: 3.005 GB / 3.479 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/3.922, allocations: 78.27 kB / 3.479 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.221/5.144, allocations: 395.6 MB / 3.865 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001296/5.144, allocations: 66.16 kB / 3.865 GB, free: 44.7 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.05573/5.199, allocations: 12.44 MB / 3.877 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/5.2, allocations: 9.922 kB / 3.877 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/5.212, allocations: 1.222 MB / 3.878 GB, free: 42.12 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02028/5.232, allocations: 4.555 MB / 3.883 GB, free: 41.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009491/5.242, allocations: 3.078 MB / 3.886 GB, free: 38.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005594/5.247, allocations: 218.1 kB / 3.886 GB, free: 38.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05582/5.303, allocations: 29.14 MB / 3.915 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03159/5.335, allocations: 15.95 MB / 3.93 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/5.335, allocations: 3.938 kB / 3.93 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002915/5.338, allocations: 4 kB / 3.93 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001743/5.338, allocations: 166.7 kB / 3.93 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.294/5.632, allocations: 76.85 MB / 4.005 GB, free: 72.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/5.647, allocations: 13.52 MB / 4.019 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01352/5.661, allocations: 11.5 MB / 4.03 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3895/6.05, allocations: 128.7 MB / 4.155 GB, free: 86.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/6.051, allocations: 85.48 kB / 4.156 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=482): time 6.462e-06/6.051, allocations: 0 / 4.156 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=483): time 0.1243/6.175, allocations: 47.16 MB / 4.202 GB, free: 85.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/6.175, allocations: 126.2 kB / 4.202 GB, free: 85.29 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008208/6.176, allocations: 0.5507 MB / 4.202 GB, free: 85.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.004037/6.18, allocations: 29.02 kB / 4.202 GB, free: 85.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/6.18, allocations: 0.6486 MB / 4.203 GB, free: 84.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004873/6.185, allocations: 1.598 MB / 4.204 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003543/6.189, allocations: 0 / 4.204 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003684/6.189, allocations: 0.5112 MB / 4.205 GB, free: 83.61 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01569/6.205, allocations: 10.77 MB / 4.215 GB, free: 83.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01664/6.221, allocations: 11.19 MB / 4.226 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0155/6.237, allocations: 7.792 MB / 4.234 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.471e-05/6.237, allocations: 4.281 kB / 4.234 GB, free: 76.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1138/6.351, allocations: 42.69 MB / 4.276 GB, free: 64.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003486/6.351, allocations: 1.938 MB / 4.278 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/6.351, allocations: 5.125 kB / 4.278 GB, free: 62.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.455/6.806, allocations: 103.9 MB / 4.379 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003199/6.809, allocations: 0.9576 MB / 4.38 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1155/6.925, allocations: 47.63 MB / 4.427 GB, free: 99.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02624/6.951, allocations: 5.758 MB / 4.432 GB, free: 98.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005729/6.957, allocations: 0.5376 MB / 4.433 GB, free: 98.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/6.957, allocations: 7.281 kB / 4.433 GB, free: 98.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08783/7.045, allocations: 35.49 MB / 4.467 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-05/7.045, allocations: 4.562 kB / 4.467 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4322/7.477, allocations: 101.5 MB / 4.566 GB, free: 98.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/7.481, allocations: 1.002 MB / 4.567 GB, free: 98.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1/7.581, allocations: 45.82 MB / 4.612 GB, free: 93.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0242/7.605, allocations: 5.757 MB / 4.618 GB, free: 89.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003591/7.609, allocations: 0.5344 MB / 4.618 GB, free: 89.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 (hexFV.fluidState[15].phase,hexFV.fluidState[14].phase,hexFV.fluidState[13].phase,hexFV.fluidState[12].phase,hexFV.fluidState[11].phase,hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,hexFV.heatTransfer.dew.phase,hexFV.heatTransfer.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 1 * 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 {15 367} Notification: Performance of prepare postOptimizeDAE: time 0.00612/7.615, allocations: 148.9 kB / 4.618 GB, free: 88.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006391/7.621, allocations: 1.059 MB / 4.62 GB, free: 88.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2438/7.865, allocations: 38.38 MB / 4.657 GB, free: 99.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0759/7.941, allocations: 34.77 MB / 4.691 GB, free: 99.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.861e-05/7.941, allocations: 22.41 kB / 4.691 GB, free: 99.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001425/7.941, allocations: 24 kB / 4.691 GB, free: 99.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1307/8.072, allocations: 67.99 MB / 4.757 GB, free: 77.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-05/8.072, allocations: 7.875 kB / 4.757 GB, free: 77.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02661/8.099, allocations: 6.304 MB / 4.764 GB, free: 77.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05827/8.157, allocations: 21.48 MB / 4.785 GB, free: 75.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005297/8.162, allocations: 0.4975 MB / 4.785 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2312/8.394, allocations: 49.21 MB / 4.833 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/8.394, allocations: 10.19 kB / 4.833 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1039/8.497, allocations: 47.48 MB / 4.879 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008718/8.506, allocations: 2.895 MB / 4.882 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004928/8.511, allocations: 48.8 kB / 4.882 GB, free: 97.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02561/8.537, allocations: 5.702 MB / 4.888 GB, free: 97.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004388/8.541, allocations: 0.7842 MB / 4.889 GB, free: 97.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004679/8.546, allocations: 0.5403 MB / 4.889 GB, free: 97.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0006086/8.547, allocations: 425.2 kB / 4.89 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02686/8.573, allocations: 4.924 MB / 4.894 GB, free: 97.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 29 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9],hexFV.htilde[10],hexFV.htilde[11],hexFV.htilde[12],hexFV.htilde[13],hexFV.htilde[14],metalTubeFV.Tvol[1],metalTubeFV.Tvol[2],metalTubeFV.Tvol[3],metalTubeFV.Tvol[4],metalTubeFV.Tvol[5],metalTubeFV.Tvol[6],metalTubeFV.Tvol[7],metalTubeFV.Tvol[8],metalTubeFV.Tvol[9],metalTubeFV.Tvol[10],metalTubeFV.Tvol[11],metalTubeFV.Tvol[12],metalTubeFV.Tvol[13],metalTubeFV.Tvol[14]) * Number of discrete variables: 36 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$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.region3boundary,$cse20.region3boundary,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 381 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(15,59.6%) 28,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01158/8.585, allocations: 1.785 MB / 4.896 GB, free: 97.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1135/8.699, allocations: 50.21 MB / 4.945 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/8.699, allocations: 3.844 kB / 4.945 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02806/8.727, allocations: 17.43 MB / 4.962 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007903/8.735, allocations: 0.9268 MB / 4.963 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06136/8.796, allocations: 23.06 MB / 4.986 GB, free: 56.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0116/8.808, allocations: 3.564 MB / 4.989 GB, free: 54.46 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/8.808, allocations: 4 kB / 4.989 GB, free: 54.45 MB / 0.5261 GB Notification: Performance of Templates: time 0.9834/9.791, allocations: 0.4971 GB / 5.486 GB, free: 69.08 MB / 0.5261 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)