Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.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_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B",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.001368/0.001368, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.766/1.766, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009569/0.0009571, allocations: 86.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3564/0.3564, allocations: 48.79 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.288e-05, allocations: 0 / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1499, allocations: 60.25 MB / 492.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.652/7.802, allocations: 2.979 GB / 3.461 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/7.802, allocations: 79.5 kB / 3.461 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9783/8.78, allocations: 300.3 MB / 3.754 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/8.78, allocations: 3.938 kB / 3.754 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.73e-05/8.78, allocations: 35.98 kB / 3.754 GB, free: 58.87 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02318/8.803, allocations: 5.791 MB / 3.76 GB, free: 53.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/8.803, allocations: 12.03 kB / 3.76 GB, free: 53.17 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002664/8.806, allocations: 299.2 kB / 3.76 GB, free: 53 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004567/8.811, allocations: 0.5614 MB / 3.76 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/8.816, allocations: 1.755 MB / 3.762 GB, free: 51.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00259/8.819, allocations: 1.066 MB / 3.763 GB, free: 50.12 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001222/8.82, allocations: 185.1 kB / 3.763 GB, free: 50 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/8.842, allocations: 8.884 MB / 3.772 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.027e-05/8.842, allocations: 4 kB / 3.772 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001505/8.843, allocations: 72 kB / 3.772 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-05/8.843, allocations: 85.17 kB / 3.772 GB, free: 43.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/8.87, allocations: 13.82 MB / 3.786 GB, free: 29.29 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.3147/9.185, allocations: 33.61 MB / 3.819 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01453/9.2, allocations: 6.717 MB / 3.825 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007767/9.207, allocations: 4.513 MB / 3.829 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1285/9.336, allocations: 75.79 MB / 3.904 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/9.336, allocations: 54.34 kB / 3.904 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=192): time 3.376e-06/9.336, allocations: 0 / 3.904 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.04175/9.378, allocations: 19 MB / 3.922 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/9.378, allocations: 75.5 kB / 3.922 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005479/9.378, allocations: 458.4 kB / 3.923 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009534/9.379, allocations: 63.69 kB / 3.923 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/9.38, allocations: 0.5149 MB / 3.923 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009795/9.381, allocations: 0.6587 MB / 3.924 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005991/9.381, allocations: 35.66 kB / 3.924 GB, free: 23.83 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001088/9.381, allocations: 417 kB / 3.924 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006219/9.387, allocations: 4.81 MB / 3.929 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006978/9.394, allocations: 5.05 MB / 3.934 GB, free: 19.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005828/9.4, allocations: 3.662 MB / 3.937 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/9.4, allocations: 0 / 3.937 GB, free: 17.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.07834/9.479, allocations: 28.35 MB / 3.965 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/9.479, allocations: 1.318 MB / 3.966 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.671e-05/9.479, allocations: 5.5 kB / 3.966 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4069/9.886, allocations: 51.92 MB / 4.017 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/9.888, allocations: 309.3 kB / 4.017 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02995/9.918, allocations: 14.23 MB / 4.031 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/9.928, allocations: 2.006 MB / 4.033 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001029/9.929, allocations: 310.4 kB / 4.034 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/9.929, allocations: 7.25 kB / 4.034 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07085/10, allocations: 28.18 MB / 4.061 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.682e-05/10, allocations: 3.875 kB / 4.061 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.125/10.13, allocations: 50.36 MB / 4.11 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/10.13, allocations: 297 kB / 4.111 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02601/10.15, allocations: 14.23 MB / 4.124 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009747/10.16, allocations: 1.993 MB / 4.126 GB, free: 92.81 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/10.16, allocations: 308.1 kB / 4.127 GB, free: 92.65 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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 (121): * Single equations (assignments): 120 * 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 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.001711/10.17, allocations: 207.5 kB / 4.127 GB, free: 92.46 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008543/10.17, allocations: 109.9 kB / 4.127 GB, free: 92.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03128/10.2, allocations: 28.42 MB / 4.155 GB, free: 68.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03175/10.23, allocations: 26.84 MB / 4.181 GB, free: 44.61 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/10.23, allocations: 4 kB / 4.181 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-05/10.23, allocations: 10.12 kB / 4.181 GB, free: 44.6 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3403/10.57, allocations: 48.09 MB / 4.228 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-05/10.57, allocations: 3.969 kB / 4.228 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01386/10.58, allocations: 2.46 MB / 4.23 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00434/10.59, allocations: 1.143 MB / 4.231 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00184/10.59, allocations: 203.6 kB / 4.232 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008273/10.6, allocations: 6.042 MB / 4.238 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/10.6, allocations: 9.281 kB / 4.238 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02854/10.63, allocations: 15.41 MB / 4.253 GB, free: 101.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00347/10.63, allocations: 1.217 MB / 4.254 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008109/10.63, allocations: 57.58 kB / 4.254 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009454/10.64, allocations: 1.962 MB / 4.256 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001934/10.64, allocations: 330.7 kB / 4.256 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/10.64, allocations: 198.8 kB / 4.256 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005377/10.64, allocations: 348.9 kB / 4.257 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/10.64, allocations: 0 / 4.257 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0123/10.66, allocations: 2.631 MB / 4.259 GB, free: 100.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 11 (Mbal,hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 22 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$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.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03169/10.69, allocations: 18.47 MB / 4.277 GB, free: 92.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03075/10.72, allocations: 16.91 MB / 4.294 GB, free: 85.52 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/10.72, allocations: 0 / 4.294 GB, free: 85.52 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01066/10.73, allocations: 5.957 MB / 4.3 GB, free: 82.96 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003754/10.73, allocations: 475.9 kB / 4.3 GB, free: 82.87 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02292/10.76, allocations: 8.852 MB / 4.309 GB, free: 80.13 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001245/10.76, allocations: 1.641 MB / 4.31 GB, free: 79.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007319/10.77, allocations: 2.46 MB / 4.313 GB, free: 79.28 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004988/10.77, allocations: 0.9805 MB / 4.314 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/10.77, allocations: 3.188 kB / 4.314 GB, free: 78.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.617/11.39, allocations: 271.5 MB / 4.579 GB, free: 19.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/11.39, allocations: 200.4 kB / 4.579 GB, free: 19.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.013/20.4, allocations: 0 / 4.579 GB, free: 19.67 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1)