Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_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: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D",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.001984/0.001984, allocations: 174.8 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.732/1.732, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0009259/0.000926, 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.2976/0.2976, allocations: 48.79 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 4.341e-05/4.343e-05, allocations: 0 / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 60.26 MB / 492.8 MB, free: 4.277 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.032/7.164, allocations: 2.979 GB / 3.46 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/7.164, allocations: 80.25 kB / 3.461 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8945/8.058, allocations: 300.4 MB / 3.754 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/8.058, allocations: 3.938 kB / 3.754 GB, free: 59.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.907e-05/8.058, allocations: 35.94 kB / 3.754 GB, free: 59.24 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.02363/8.082, allocations: 5.798 MB / 3.76 GB, free: 53.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/8.082, allocations: 12.03 kB / 3.76 GB, free: 53.53 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002694/8.085, allocations: 296 kB / 3.76 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00491/8.09, allocations: 0.5611 MB / 3.76 GB, free: 52.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008615/8.098, allocations: 1.762 MB / 3.762 GB, free: 51.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005077/8.103, allocations: 1.065 MB / 3.763 GB, free: 50.48 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00313/8.107, allocations: 180.1 kB / 3.763 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03321/8.14, allocations: 8.888 MB / 3.772 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-05/8.14, allocations: 0 / 3.772 GB, free: 43.78 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002475/8.143, allocations: 72 kB / 3.772 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.841e-05/8.143, allocations: 83.48 kB / 3.772 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04814/8.191, allocations: 13.82 MB / 3.786 GB, free: 29.8 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.4114/8.602, allocations: 33.63 MB / 3.819 GB, free: 70.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01657/8.619, allocations: 6.716 MB / 3.825 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009215/8.628, allocations: 4.512 MB / 3.83 GB, free: 70.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1384/8.767, allocations: 75.8 MB / 3.904 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/8.767, allocations: 60.8 kB / 3.904 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=192): time 3.547e-06/8.767, allocations: 0 / 3.904 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.04937/8.816, allocations: 19.05 MB / 3.922 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/8.816, allocations: 71.66 kB / 3.922 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005642/8.817, allocations: 460.7 kB / 3.923 GB, free: 24.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001468/8.818, allocations: 61.36 kB / 3.923 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002543/8.819, allocations: 0.5116 MB / 3.923 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/8.82, allocations: 0.6689 MB / 3.924 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005985/8.821, allocations: 35.94 kB / 3.924 GB, free: 24.14 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001345/8.821, allocations: 418.6 kB / 3.924 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006693/8.827, allocations: 4.81 MB / 3.929 GB, free: 21.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007133/8.835, allocations: 5.057 MB / 3.934 GB, free: 19.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005731/8.84, allocations: 3.664 MB / 3.938 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/8.84, allocations: 0 / 3.938 GB, free: 18.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.07841/8.919, allocations: 28.35 MB / 3.965 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000401/8.919, allocations: 1.317 MB / 3.967 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/8.919, allocations: 4 kB / 3.967 GB, free: 6.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4301/9.349, allocations: 52.07 MB / 4.017 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/9.351, allocations: 321.8 kB / 4.018 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03121/9.383, allocations: 14.23 MB / 4.032 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/9.394, allocations: 2.016 MB / 4.034 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001711/9.396, allocations: 313.9 kB / 4.034 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/9.396, allocations: 3.031 kB / 4.034 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07456/9.47, allocations: 28.19 MB / 4.061 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/9.47, allocations: 0 / 4.061 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1294/9.6, allocations: 50.37 MB / 4.111 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/9.601, allocations: 310.3 kB / 4.111 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02874/9.63, allocations: 14.23 MB / 4.125 GB, free: 94.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/9.642, allocations: 2.013 MB / 4.127 GB, free: 92.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002187/9.644, allocations: 311.2 kB / 4.127 GB, free: 92.7 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.001845/9.646, allocations: 195.6 kB / 4.127 GB, free: 92.52 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008792/9.647, allocations: 110.8 kB / 4.127 GB, free: 92.46 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03407/9.681, allocations: 28.43 MB / 4.155 GB, free: 68.26 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03204/9.713, allocations: 26.84 MB / 4.181 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.021e-05/9.713, allocations: 5.75 kB / 4.181 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.936e-05/9.713, allocations: 13.94 kB / 4.181 GB, free: 44.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3469/10.06, allocations: 48.07 MB / 4.228 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/10.06, allocations: 5 kB / 4.228 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01385/10.07, allocations: 2.472 MB / 4.231 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004544/10.08, allocations: 1.146 MB / 4.232 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002487/10.08, allocations: 203.1 kB / 4.232 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008628/10.09, allocations: 6.049 MB / 4.238 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/10.09, allocations: 7.031 kB / 4.238 GB, free: 104.1 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02654/10.12, allocations: 15.4 MB / 4.253 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004294/10.12, allocations: 1.219 MB / 4.254 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001703/10.12, allocations: 58.5 kB / 4.254 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01172/10.13, allocations: 1.971 MB / 4.256 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002592/10.14, allocations: 329 kB / 4.256 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002323/10.14, allocations: 199.5 kB / 4.257 GB, free: 101.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005078/10.14, allocations: 351.4 kB / 4.257 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/10.14, allocations: 0 / 4.257 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01516/10.15, allocations: 2.633 MB / 4.26 GB, free: 100.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.04254/10.2, allocations: 18.39 MB / 4.277 GB, free: 92.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03418/10.23, allocations: 16.91 MB / 4.294 GB, free: 85.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.471e-05/10.23, allocations: 3.75 kB / 4.294 GB, free: 85.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01341/10.25, allocations: 5.965 MB / 4.3 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/10.25, allocations: 472.2 kB / 4.3 GB, free: 82.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/10.27, allocations: 8.843 MB / 4.309 GB, free: 80.22 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/10.28, allocations: 1.647 MB / 4.311 GB, free: 79.41 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008124/10.28, allocations: 2.47 MB / 4.313 GB, free: 79.38 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005993/10.29, allocations: 0.9795 MB / 4.314 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/10.29, allocations: 0 / 4.314 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6288/10.92, allocations: 271.7 MB / 4.579 GB, free: 19.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/10.92, allocations: 214.5 kB / 4.579 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.596/20.51, allocations: 0 / 4.579 GB, free: 19.43 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_D.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe 2>&1)