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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph",fmuType="me",version="2.0",platforms={"static"}) [: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.0009491/0.0009492, allocations: 188.4 kB / 8.137 MB, free: 2.188 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.025/1.025, allocations: 205.2 MB / 213.7 MB, free: 13.91 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.0008617/0.0008617, allocations: 90 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.2748/0.2748, allocations: 48.77 MB / 358.5 MB, free: 53.15 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.08741/0.3623, allocations: 66.36 MB / 424.8 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09209/0.4544, allocations: 60.25 MB / 485.1 MB, free: 11.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.055/4.509, allocations: 3.005 GB / 3.479 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002478/4.51, allocations: 78.27 kB / 3.479 GB, free: 56.86 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 1.25/5.76, allocations: 408.2 MB / 3.877 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/5.76, allocations: 8.594 kB / 3.877 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01138/5.771, allocations: 1.22 MB / 3.879 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/5.791, allocations: 4.559 MB / 3.883 GB, free: 41.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.008707/5.799, allocations: 3.083 MB / 3.886 GB, free: 38.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004791/5.804, allocations: 213.7 kB / 3.886 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05296/5.857, allocations: 29.15 MB / 3.915 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03028/5.888, allocations: 15.95 MB / 3.93 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001113/5.888, allocations: 0 / 3.93 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002936/5.891, allocations: 0 / 3.93 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001569/5.891, allocations: 174.7 kB / 3.93 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2616/6.152, allocations: 76.84 MB / 4.005 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01667/6.169, allocations: 13.52 MB / 4.019 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.014/6.183, allocations: 11.5 MB / 4.03 GB, free: 71.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3516/6.535, allocations: 128.7 MB / 4.156 GB, free: 84.06 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.805e-05/6.535, allocations: 84.98 kB / 4.156 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=482): time 5.861e-06/6.535, allocations: 0 / 4.156 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=483): time 0.1098/6.645, allocations: 47.16 MB / 4.202 GB, free: 83.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/6.645, allocations: 126.8 kB / 4.202 GB, free: 83.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/6.645, allocations: 0.5474 MB / 4.202 GB, free: 82.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002864/6.648, allocations: 28.92 kB / 4.202 GB, free: 82.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/6.648, allocations: 0.6526 MB / 4.203 GB, free: 82.59 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002493/6.651, allocations: 1.595 MB / 4.205 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/6.652, allocations: 0 / 4.205 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001815/6.653, allocations: 0.5216 MB / 4.205 GB, free: 81.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01277/6.665, allocations: 10.77 MB / 4.216 GB, free: 81.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0133/6.679, allocations: 11.18 MB / 4.227 GB, free: 77.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/6.692, allocations: 7.793 MB / 4.234 GB, free: 74.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/6.692, allocations: 3.938 kB / 4.234 GB, free: 74.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1123/6.805, allocations: 42.69 MB / 4.276 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003579/6.805, allocations: 1.936 MB / 4.278 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-05/6.805, allocations: 4.906 kB / 4.278 GB, free: 60.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4203/7.225, allocations: 103.9 MB / 4.379 GB, free: 99.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003116/7.228, allocations: 0.9643 MB / 4.38 GB, free: 99.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09323/7.322, allocations: 47.63 MB / 4.427 GB, free: 98.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02444/7.346, allocations: 5.757 MB / 4.432 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002726/7.349, allocations: 0.5418 MB / 4.433 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/7.349, allocations: 6.594 kB / 4.433 GB, free: 97.56 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06478/7.414, allocations: 35.49 MB / 4.467 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.628e-05/7.414, allocations: 4 kB / 4.467 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4062/7.82, allocations: 101.4 MB / 4.567 GB, free: 97.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003601/7.824, allocations: 1.001 MB / 4.567 GB, free: 97.06 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09324/7.917, allocations: 45.82 MB / 4.612 GB, free: 92.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02441/7.941, allocations: 5.759 MB / 4.618 GB, free: 87.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003027/7.944, allocations: 0.5309 MB / 4.618 GB, free: 87.62 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.003097/7.948, allocations: 147.2 kB / 4.619 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00404/7.952, allocations: 1.064 MB / 4.62 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2193/8.171, allocations: 38.39 MB / 4.657 GB, free: 98.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.07265/8.244, allocations: 34.77 MB / 4.691 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/8.244, allocations: 14.91 kB / 4.691 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.564e-05/8.244, allocations: 27.19 kB / 4.691 GB, free: 97.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1119/8.356, allocations: 67.99 MB / 4.757 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.578e-05/8.356, allocations: 7.875 kB / 4.757 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02563/8.381, allocations: 6.309 MB / 4.764 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0579/8.439, allocations: 21.48 MB / 4.785 GB, free: 74.21 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003864/8.443, allocations: 0.4954 MB / 4.785 GB, free: 74.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2108/8.654, allocations: 49.22 MB / 4.833 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/8.654, allocations: 11.25 kB / 4.833 GB, free: 97.67 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0962/8.75, allocations: 47.48 MB / 4.88 GB, free: 96.28 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1194/8.87, allocations: 65.71 MB / 4.944 GB, free: 74.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007503/8.877, allocations: 2.885 MB / 4.947 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002337/8.88, allocations: 56.53 kB / 4.947 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02327/8.903, allocations: 5.703 MB / 4.952 GB, free: 73.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002706/8.906, allocations: 0.7806 MB / 4.953 GB, free: 73.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002367/8.908, allocations: 0.5378 MB / 4.953 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005102/8.909, allocations: 416.5 kB / 4.954 GB, free: 73.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01966/8.928, allocations: 5.158 MB / 4.959 GB, free: 73 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.008323/8.937, allocations: 1.791 MB / 4.961 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2573/9.194, allocations: 50.87 MB / 5.01 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/9.194, allocations: 2.438 kB / 5.01 GB, free: 97.59 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02495/9.219, allocations: 17.44 MB / 5.027 GB, free: 96.06 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005832/9.225, allocations: 0.924 MB / 5.028 GB, free: 96.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04706/9.272, allocations: 23.11 MB / 5.051 GB, free: 94.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009431/9.281, allocations: 3.833 MB / 5.055 GB, free: 93.86 MB / 0.5261 GB Notification: Performance of SimCode: time 7.42e-07/9.281, allocations: 0.5469 kB / 5.055 GB, free: 93.86 MB / 0.5261 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)