Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A",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.001493/0.001493, 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.892/1.892, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009107/0.0009107, allocations: 82.72 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.333/0.333, allocations: 48.79 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.552e-05, allocations: 4 kB / 432.6 MB, free: 16.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1297, allocations: 60.24 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.832/7.961, allocations: 2.979 GB / 3.46 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/7.962, allocations: 83.31 kB / 3.461 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.009/8.971, allocations: 300.4 MB / 3.754 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.513e-06/8.971, allocations: 3.938 kB / 3.754 GB, free: 59.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.172e-05/8.971, allocations: 41.91 kB / 3.754 GB, free: 59.27 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.02426/8.996, allocations: 5.801 MB / 3.76 GB, free: 53.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/8.996, allocations: 8.031 kB / 3.76 GB, free: 53.56 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002885/8.998, allocations: 300.2 kB / 3.76 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/9.004, allocations: 0.5559 MB / 3.76 GB, free: 52.9 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006285/9.01, allocations: 1.762 MB / 3.762 GB, free: 51.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003606/9.014, allocations: 1.066 MB / 3.763 GB, free: 50.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002463/9.016, allocations: 179.7 kB / 3.763 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02407/9.04, allocations: 8.887 MB / 3.772 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.943e-05/9.041, allocations: 3.984 kB / 3.772 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002174/9.043, allocations: 71.98 kB / 3.772 GB, free: 43.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/9.043, allocations: 91.48 kB / 3.772 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/9.074, allocations: 13.82 MB / 3.786 GB, free: 29.77 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.4337/9.508, allocations: 33.62 MB / 3.819 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/9.521, allocations: 6.708 MB / 3.825 GB, free: 70.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007211/9.529, allocations: 4.512 MB / 3.829 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1337/9.662, allocations: 75.8 MB / 3.904 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/9.663, allocations: 54.06 kB / 3.904 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=192): time 3.547e-06/9.663, allocations: 4 kB / 3.904 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.04222/9.705, allocations: 19.05 MB / 3.922 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/9.705, allocations: 72.56 kB / 3.922 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005552/9.705, allocations: 464.5 kB / 3.923 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009884/9.706, allocations: 60.45 kB / 3.923 GB, free: 24.88 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/9.707, allocations: 0.5141 MB / 3.923 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009343/9.708, allocations: 0.6626 MB / 3.924 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006032/9.708, allocations: 34.72 kB / 3.924 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001156/9.708, allocations: 416.4 kB / 3.924 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006201/9.715, allocations: 4.815 MB / 3.929 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006573/9.721, allocations: 5.05 MB / 3.934 GB, free: 19.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005353/9.726, allocations: 3.668 MB / 3.938 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/9.727, allocations: 0 / 3.938 GB, free: 18.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.142/9.869, allocations: 28.36 MB / 3.965 GB, free: 7.852 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003124/9.869, allocations: 1.317 MB / 3.967 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/9.869, allocations: 4 kB / 3.967 GB, free: 6.441 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4397/10.31, allocations: 52.03 MB / 4.017 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/10.31, allocations: 321.7 kB / 4.018 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02986/10.34, allocations: 14.23 MB / 4.032 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01089/10.35, allocations: 2.011 MB / 4.033 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/10.35, allocations: 315.9 kB / 4.034 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/10.35, allocations: 8.062 kB / 4.034 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07395/10.43, allocations: 28.19 MB / 4.061 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/10.43, allocations: 3.5 kB / 4.061 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1291/10.56, allocations: 50.36 MB / 4.111 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/10.56, allocations: 312.6 kB / 4.111 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04225/10.6, allocations: 14.24 MB / 4.125 GB, free: 94.31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01543/10.62, allocations: 2.008 MB / 4.127 GB, free: 92.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002671/10.62, allocations: 314.7 kB / 4.127 GB, free: 92.68 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.002468/10.62, allocations: 195 kB / 4.127 GB, free: 92.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/10.62, allocations: 107.6 kB / 4.127 GB, free: 92.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04843/10.67, allocations: 28.44 MB / 4.155 GB, free: 68.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04071/10.71, allocations: 26.84 MB / 4.181 GB, free: 44.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.271e-05/10.71, allocations: 8 kB / 4.181 GB, free: 44.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-05/10.71, allocations: 11.67 kB / 4.181 GB, free: 44.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3806/11.09, allocations: 48.07 MB / 4.228 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.486e-05/11.09, allocations: 5.328 kB / 4.228 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01369/11.11, allocations: 2.476 MB / 4.231 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004469/11.11, allocations: 1.143 MB / 4.232 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001812/11.11, allocations: 203.3 kB / 4.232 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008641/11.12, allocations: 6.039 MB / 4.238 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/11.12, allocations: 8.75 kB / 4.238 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02898/11.15, allocations: 15.41 MB / 4.253 GB, free: 101.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003348/11.15, allocations: 1.22 MB / 4.254 GB, free: 101 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007853/11.15, allocations: 57.17 kB / 4.254 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009421/11.16, allocations: 1.97 MB / 4.256 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/11.16, allocations: 329.5 kB / 4.256 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007093/11.17, allocations: 202 kB / 4.257 GB, free: 100.9 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004185/11.17, allocations: 343.4 kB / 4.257 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/11.17, allocations: 3.938 kB / 4.257 GB, free: 100.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01005/11.18, allocations: 2.634 MB / 4.259 GB, free: 100.6 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.02924/11.2, allocations: 18.39 MB / 4.277 GB, free: 92.05 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02888/11.23, allocations: 16.92 MB / 4.294 GB, free: 85.43 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/11.23, allocations: 3.844 kB / 4.294 GB, free: 85.43 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009476/11.24, allocations: 5.958 MB / 4.3 GB, free: 82.86 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003237/11.25, allocations: 478.9 kB / 4.3 GB, free: 82.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/11.27, allocations: 8.849 MB / 4.309 GB, free: 80.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001112/11.27, allocations: 1.645 MB / 4.31 GB, free: 79.22 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00717/11.27, allocations: 2.461 MB / 4.313 GB, free: 79.19 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004809/11.28, allocations: 0.9864 MB / 4.314 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of SimCode: time 1.623e-06/11.28, allocations: 3.688 kB / 4.314 GB, free: 78.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.605/11.88, allocations: 271.7 MB / 4.579 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/11.88, allocations: 208.4 kB / 4.579 GB, free: 19.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.965/20.85, allocations: 0 / 4.579 GB, free: 19.41 MB / 0.5417 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A_fmu --startTime=0 --stopTime=250 --timeout=50 --tolerance=1e-09 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_A.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)