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.001239/0.001239, allocations: 180.2 kB / 16.39 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.732/1.732, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001234/0.001234, allocations: 90.45 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.498/0.498, allocations: 48.78 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003609, allocations: 12 kB / 438.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 60.25 MB / 499 MB, free: 14.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.525/6.662, allocations: 2.979 GB / 3.467 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/6.662, allocations: 83.95 kB / 3.467 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.143/7.805, allocations: 301.2 MB / 3.761 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.312e-06/7.805, allocations: 0 / 3.761 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.397e-05/7.805, allocations: 41.73 kB / 3.761 GB, free: 64.5 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.02465/7.83, allocations: 5.913 MB / 3.767 GB, free: 63.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/7.83, allocations: 10.31 kB / 3.767 GB, free: 63.47 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002128/7.832, allocations: 299.6 kB / 3.767 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003443/7.836, allocations: 0.551 MB / 3.767 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/7.841, allocations: 1.761 MB / 3.769 GB, free: 63.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00203/7.843, allocations: 1.069 MB / 3.77 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007835/7.844, allocations: 178.2 kB / 3.77 GB, free: 62.75 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/7.871, allocations: 12.41 MB / 3.782 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/7.871, allocations: 4.922 kB / 3.782 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006022/7.872, allocations: 72.97 kB / 3.782 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-05/7.872, allocations: 91.09 kB / 3.783 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04532/7.917, allocations: 20.93 MB / 3.803 GB, free: 62.13 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.0474/7.965, allocations: 33.69 MB / 3.836 GB, free: 42.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02269/7.988, allocations: 10.12 MB / 3.846 GB, free: 40 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3787/8.366, allocations: 75.5 MB / 3.92 GB, free: 73.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.18e-05/8.366, allocations: 52.94 kB / 3.92 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=192): time 3.737e-06/8.366, allocations: 1.969 kB / 3.92 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=193): time 0.1199/8.486, allocations: 41.45 MB / 3.96 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.552e-05/8.486, allocations: 71.53 kB / 3.96 GB, free: 72.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001038/8.487, allocations: 457.9 kB / 3.961 GB, free: 72.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002259/8.49, allocations: 60.64 kB / 3.961 GB, free: 72.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/8.49, allocations: 0.5193 MB / 3.961 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001976/8.492, allocations: 0.6653 MB / 3.962 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006247/8.493, allocations: 35.78 kB / 3.962 GB, free: 71.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002029/8.493, allocations: 418 kB / 3.962 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0179/8.511, allocations: 8.328 MB / 3.97 GB, free: 71.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01864/8.53, allocations: 8.565 MB / 3.979 GB, free: 71.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0179/8.548, allocations: 7.164 MB / 3.986 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.892e-05/8.548, allocations: 2.156 kB / 3.986 GB, free: 71.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1075/8.655, allocations: 38.72 MB / 4.024 GB, free: 62.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002617/8.656, allocations: 1.32 MB / 4.025 GB, free: 61.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/8.656, allocations: 4 kB / 4.025 GB, free: 61.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1445/8.8, allocations: 57.52 MB / 4.081 GB, free: 18.92 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/8.802, allocations: 322.4 kB / 4.081 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.314/9.116, allocations: 24.51 MB / 4.105 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/9.128, allocations: 2.012 MB / 4.107 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002603/9.131, allocations: 321.3 kB / 4.108 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/9.131, allocations: 3.375 kB / 4.108 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1111/9.242, allocations: 38.56 MB / 4.145 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.96e-05/9.242, allocations: 3.562 kB / 4.145 GB, free: 77.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1465/9.389, allocations: 57.52 MB / 4.201 GB, free: 74.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001591/9.39, allocations: 309.9 kB / 4.202 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05644/9.447, allocations: 24.26 MB / 4.225 GB, free: 62.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01106/9.458, allocations: 2.013 MB / 4.227 GB, free: 60.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002076/9.46, allocations: 310.5 kB / 4.228 GB, free: 60.66 MB / 0.5261 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 () * Number of clocked 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.003385/9.463, allocations: 0.5585 MB / 4.228 GB, free: 60.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009312/9.464, allocations: 112.8 kB / 4.228 GB, free: 60.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05237/9.517, allocations: 34.67 MB / 4.262 GB, free: 32.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04908/9.566, allocations: 33.04 MB / 4.294 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.07e-05/9.566, allocations: 8 kB / 4.294 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-05/9.566, allocations: 11.12 kB / 4.294 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3385/9.904, allocations: 54.31 MB / 4.347 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/9.904, allocations: 7.188 kB / 4.347 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01339/9.918, allocations: 2.472 MB / 4.35 GB, free: 68.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00436/9.922, allocations: 1.147 MB / 4.351 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00168/9.924, allocations: 202.3 kB / 4.351 GB, free: 68.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009477/9.933, allocations: 6.349 MB / 4.357 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/9.933, allocations: 7.844 kB / 4.357 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05922/9.993, allocations: 25.9 MB / 4.383 GB, free: 58.69 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004544/9.997, allocations: 1.227 MB / 4.384 GB, free: 58.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001545/9.999, allocations: 54.28 kB / 4.384 GB, free: 58.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/10.01, allocations: 1.983 MB / 4.386 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002298/10.01, allocations: 331.5 kB / 4.386 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00166/10.01, allocations: 197.4 kB / 4.386 GB, free: 58.09 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005391/10.01, allocations: 352.8 kB / 4.387 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/10.01, allocations: 0 / 4.387 GB, free: 57.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01178/10.03, allocations: 2.631 MB / 4.389 GB, free: 57.81 MB / 0.5261 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 () * Number of clocked 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.06339/10.09, allocations: 28.9 MB / 4.417 GB, free: 49.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0603/10.15, allocations: 27.44 MB / 4.444 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/10.15, allocations: 0 / 4.444 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0204/10.17, allocations: 9.479 MB / 4.454 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00348/10.17, allocations: 466.4 kB / 4.454 GB, free: 25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4291/10.6, allocations: 66.97 MB / 4.519 GB, free: 89.47 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/10.6, allocations: 1.643 MB / 4.521 GB, free: 88.74 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007094/10.61, allocations: 2.429 MB / 4.523 GB, free: 88.71 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004601/10.62, allocations: 0.993 MB / 4.524 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of SimCode: time 9.41e-07/10.62, allocations: 0 / 4.524 GB, free: 88.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5935/11.21, allocations: 268.4 MB / 4.786 GB, free: 83.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001929/11.21, allocations: 231.8 kB / 4.787 GB, free: 83.75 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/21.24, allocations: 3.75 kB / 4.787 GB, free: 83.75 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)