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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001433, allocations: 180.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001128/0.001128, allocations: 92.14 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5305/0.5305, allocations: 48.78 MB / 367.9 MB, free: 47.43 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.000346/0.0003463, allocations: 16 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1484, allocations: 60.24 MB / 499 MB, free: 14.51 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.643/7.792, allocations: 3.006 GB / 3.493 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/7.792, allocations: 81.75 kB / 3.493 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.64/9.433, allocations: 397.4 MB / 3.881 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.645e-06/9.433, allocations: 0 / 3.881 GB, free: 45.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001383/9.433, allocations: 63 kB / 3.881 GB, free: 45.43 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.0606/9.493, allocations: 12.23 MB / 3.893 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/9.493, allocations: 10.72 kB / 3.893 GB, free: 43.9 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008356/9.502, allocations: 0.5828 MB / 3.894 GB, free: 43.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/9.517, allocations: 1.193 MB / 3.895 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02326/9.54, allocations: 4.492 MB / 3.899 GB, free: 43.29 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01149/9.551, allocations: 3.112 MB / 3.902 GB, free: 42.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007381/9.559, allocations: 348 kB / 3.903 GB, free: 42.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09106/9.65, allocations: 29.17 MB / 3.931 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000221/9.65, allocations: 2.25 kB / 3.931 GB, free: 42.16 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007209/9.657, allocations: 141.3 kB / 3.931 GB, free: 42.15 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001883/9.658, allocations: 169.7 kB / 3.932 GB, free: 42.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1257/9.783, allocations: 51.79 MB / 3.982 GB, free: 31.41 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5011/10.28, allocations: 74.71 MB / 4.055 GB, free: 68.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06659/10.35, allocations: 25.8 MB / 4.08 GB, free: 68.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2277/10.58, allocations: 124.5 MB / 4.202 GB, free: 25.69 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001555/10.58, allocations: 84.33 kB / 4.202 GB, free: 25.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=482): time 1.625e-05/10.58, allocations: 0 / 4.202 GB, free: 25.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=483): time 0.734/11.31, allocations: 126.1 MB / 4.325 GB, free: 104.4 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.636e-05/11.31, allocations: 125.9 kB / 4.325 GB, free: 104.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/11.31, allocations: 0.6146 MB / 4.326 GB, free: 104.1 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.005715/11.32, allocations: 109.7 kB / 4.326 GB, free: 104.1 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000621/11.32, allocations: 0.7379 MB / 4.327 GB, free: 103.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006936/11.33, allocations: 1.655 MB / 4.328 GB, free: 102.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005429/11.33, allocations: 78.91 kB / 4.328 GB, free: 102.8 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0006274/11.33, allocations: 0.5274 MB / 4.329 GB, free: 102.4 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04973/11.38, allocations: 21.25 MB / 4.35 GB, free: 100.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04823/11.43, allocations: 21.69 MB / 4.371 GB, free: 95.77 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04572/11.48, allocations: 17.8 MB / 4.388 GB, free: 91.51 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.576e-05/11.48, allocations: 0 / 4.388 GB, free: 91.51 MB / 0.573 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.2155/11.69, allocations: 71.6 MB / 4.458 GB, free: 41.54 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006683/11.69, allocations: 1.936 MB / 4.46 GB, free: 39.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.681e-05/11.69, allocations: 7.484 kB / 4.46 GB, free: 39.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7676/12.46, allocations: 133.2 MB / 4.59 GB, free: 98.34 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003508/12.47, allocations: 0.9149 MB / 4.591 GB, free: 98.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1791/12.64, allocations: 65.99 MB / 4.655 GB, free: 53.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02627/12.67, allocations: 5.462 MB / 4.661 GB, free: 47.83 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006096/12.68, allocations: 0.7101 MB / 4.661 GB, free: 47.12 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/12.68, allocations: 4 kB / 4.661 GB, free: 47.12 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4722/13.15, allocations: 65.72 MB / 4.726 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.956e-05/13.15, allocations: 5.156 kB / 4.726 GB, free: 102.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3972/13.55, allocations: 130.8 MB / 4.853 GB, free: 55.03 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/13.55, allocations: 0.9648 MB / 4.854 GB, free: 54.17 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.48/14.03, allocations: 64.72 MB / 4.918 GB, free: 98.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02801/14.06, allocations: 5.465 MB / 4.923 GB, free: 98.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005932/14.06, allocations: 0.6962 MB / 4.924 GB, free: 98.61 MB / 0.573 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 () * Number of clocked 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.01105/14.08, allocations: 0.9554 MB / 4.924 GB, free: 98.42 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005034/14.08, allocations: 222.9 kB / 4.925 GB, free: 98.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1762/14.26, allocations: 78.64 MB / 5.001 GB, free: 82.45 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1634/14.42, allocations: 74.94 MB / 5.075 GB, free: 27.54 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.668e-05/14.42, allocations: 12 kB / 5.075 GB, free: 27.53 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001743/14.42, allocations: 26.11 kB / 5.075 GB, free: 27.53 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5083/14.93, allocations: 118.6 MB / 5.19 GB, free: 69.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.229e-05/14.93, allocations: 8.391 kB / 5.19 GB, free: 69.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02738/14.96, allocations: 6.14 MB / 5.196 GB, free: 69.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06621/15.02, allocations: 23.33 MB / 5.219 GB, free: 66.86 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006757/15.03, allocations: 0.5296 MB / 5.22 GB, free: 66.79 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4157/15.44, allocations: 64.17 MB / 5.282 GB, free: 95.67 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.376e-05/15.44, allocations: 12.41 kB / 5.282 GB, free: 95.67 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2091/15.65, allocations: 73.72 MB / 5.354 GB, free: 94.31 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01048/15.66, allocations: 2.944 MB / 5.357 GB, free: 93.21 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00599/15.67, allocations: 124.5 kB / 5.357 GB, free: 93.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02613/15.7, allocations: 5.417 MB / 5.363 GB, free: 93.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005651/15.7, allocations: 0.9348 MB / 5.364 GB, free: 93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005657/15.71, allocations: 0.5409 MB / 5.364 GB, free: 92.97 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0007905/15.71, allocations: 485.7 kB / 5.365 GB, free: 92.75 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/15.71, allocations: 0.7656 kB / 5.365 GB, free: 92.75 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0326/15.74, allocations: 5.196 MB / 5.37 GB, free: 92.45 MB / 0.573 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 () * Number of clocked 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.2246/15.97, allocations: 77.85 MB / 5.446 GB, free: 54.52 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.5944/16.56, allocations: 80.18 MB / 5.524 GB, free: 95.81 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.377e-05/16.56, allocations: 0 / 5.524 GB, free: 95.81 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.06881/16.63, allocations: 25.5 MB / 5.549 GB, free: 94.09 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/16.64, allocations: 1.082 MB / 5.55 GB, free: 94.09 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3541/16.99, allocations: 142.3 MB / 5.689 GB, free: 25.24 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3154/17.31, allocations: 2.683 MB / 5.692 GB, free: 94.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01749/17.33, allocations: 3.23 MB / 5.695 GB, free: 94.64 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01438/17.34, allocations: 2.015 MB / 5.697 GB, free: 94.63 MB / 0.573 GB Notification: Performance of SimCode: time 1.323e-06/17.34, allocations: 0 / 5.697 GB, free: 94.63 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.451/18.79, allocations: 0.5715 GB / 6.268 GB, free: 78.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001992/18.79, allocations: 229.4 kB / 6.268 GB, free: 78.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.41/36.2, allocations: 0 / 6.268 GB, free: 78.06 MB / 0.6042 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)