Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_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.001052/0.001052, 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.751/1.751, 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.001024/0.001024, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3674/0.3674, allocations: 48.79 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/3.99e-05, allocations: 4 kB / 432.6 MB, free: 16.67 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.154, allocations: 60.25 MB / 492.8 MB, free: 4.293 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.917/9.071, allocations: 2.966 GB / 3.447 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/9.071, allocations: 82.98 kB / 3.447 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.226/10.3, allocations: 374.6 MB / 3.813 GB, free: 8 kB / 0.5105 GB Notification: Performance of FrontEnd: time 3.677e-06/10.3, allocations: 4 kB / 3.813 GB, free: 4 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.4521/10.75, allocations: 29.19 kB / 3.813 GB, free: 55.35 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01278/10.76, allocations: 2.574 MB / 3.816 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/10.76, allocations: 7.406 kB / 3.816 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005995/10.76, allocations: 244.7 kB / 3.816 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/10.77, allocations: 470.5 kB / 3.816 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003087/10.77, allocations: 1.14 MB / 3.817 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/10.77, allocations: 124.1 kB / 3.817 GB, free: 54.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003902/10.77, allocations: 170.6 kB / 3.818 GB, free: 54.55 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/10.78, allocations: 4.588 MB / 3.822 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.982e-05/10.78, allocations: 2.719 kB / 3.822 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/10.78, allocations: 70.23 kB / 3.822 GB, free: 54.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001236/10.78, allocations: 82.33 kB / 3.822 GB, free: 54.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0131/10.79, allocations: 4.87 MB / 3.827 GB, free: 54.32 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.01623/10.81, allocations: 10.37 MB / 3.837 GB, free: 49.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008063/10.82, allocations: 3.475 MB / 3.841 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001621/10.82, allocations: 0.9807 MB / 3.841 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1487/10.97, allocations: 79.97 MB / 3.92 GB, free: 31.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.873e-05/10.97, allocations: 54.14 kB / 3.92 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=158): time 3.506e-06/10.97, allocations: 0 / 3.92 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158): time 0.01652/10.99, allocations: 5.119 MB / 3.925 GB, free: 30.81 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/10.99, allocations: 76.62 kB / 3.925 GB, free: 30.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009663/10.99, allocations: 0.4899 MB / 3.925 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004284/10.99, allocations: 50.11 kB / 3.925 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/10.99, allocations: 0.5121 MB / 3.926 GB, free: 30.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007449/10.99, allocations: 0.5511 MB / 3.926 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002416/10.99, allocations: 31.47 kB / 3.926 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000242/10.99, allocations: 408.7 kB / 3.927 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/10.99, allocations: 1.437 MB / 3.928 GB, free: 29.65 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/10.99, allocations: 1.653 MB / 3.93 GB, free: 29.44 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/11, allocations: 1.515 MB / 3.931 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/11, allocations: 0 / 3.931 GB, free: 29.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008785/11.01, allocations: 5.048 MB / 3.936 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008083/11.01, allocations: 1.402 MB / 3.937 GB, free: 27.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.831e-05/11.01, allocations: 5.375 kB / 3.938 GB, free: 27.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01095/11.02, allocations: 4.497 MB / 3.942 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007523/11.02, allocations: 122.3 kB / 3.942 GB, free: 27.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009967/11.03, allocations: 5.522 MB / 3.947 GB, free: 27.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/11.03, allocations: 287.5 kB / 3.948 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/11.03, allocations: 180 kB / 3.948 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/11.03, allocations: 7 kB / 3.948 GB, free: 26.93 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00809/11.04, allocations: 4.907 MB / 3.953 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/11.04, allocations: 3.906 kB / 3.953 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/11.05, allocations: 4.53 MB / 3.957 GB, free: 26.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005976/11.05, allocations: 114.3 kB / 3.957 GB, free: 26.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009476/11.06, allocations: 5.526 MB / 3.963 GB, free: 26.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/11.06, allocations: 266.8 kB / 3.963 GB, free: 26.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003796/11.06, allocations: 177.1 kB / 3.963 GB, free: 26.01 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 113} Notification: Performance of prepare postOptimizeDAE: time 0.000861/11.06, allocations: 187 kB / 3.963 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005048/11.06, allocations: 101.2 kB / 3.963 GB, free: 25.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02268/11.09, allocations: 21.46 MB / 3.984 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.965e-05/11.09, allocations: 53.86 kB / 3.984 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/11.09, allocations: 4 kB / 3.984 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/11.09, allocations: 6.938 kB / 3.984 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00982/11.1, allocations: 9.346 MB / 3.993 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.685e-05/11.1, allocations: 0 / 3.993 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/11.1, allocations: 372.4 kB / 3.994 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003766/11.1, allocations: 0.9881 MB / 3.995 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004018/11.1, allocations: 58.66 kB / 3.995 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009639/11.11, allocations: 5.668 MB / 4 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/11.11, allocations: 0 / 4 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/11.13, allocations: 6.13 MB / 4.006 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/11.13, allocations: 485.8 kB / 4.007 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/11.13, allocations: 43.75 kB / 4.007 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/11.13, allocations: 160.6 kB / 4.007 GB, free: 6.824 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004635/11.13, allocations: 127.8 kB / 4.007 GB, free: 6.758 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001621/11.13, allocations: 61.06 kB / 4.007 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006619/11.13, allocations: 393 kB / 4.008 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/11.13, allocations: 0 / 4.008 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008741/11.14, allocations: 1.905 MB / 4.009 GB, free: 4.469 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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: 24 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.4334/11.57, allocations: 8.532 MB / 4.018 GB, free: 99.47 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01466/11.59, allocations: 5.815 MB / 4.023 GB, free: 99.38 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/11.59, allocations: 1.5 kB / 4.023 GB, free: 99.38 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005168/11.59, allocations: 2.209 MB / 4.026 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/11.6, allocations: 0.5249 MB / 4.026 GB, free: 99.21 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01814/11.61, allocations: 5.074 MB / 4.031 GB, free: 98.5 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002301/11.62, allocations: 1.565 MB / 4.033 GB, free: 97.78 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002685/11.62, allocations: 0.5307 MB / 4.033 GB, free: 97.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001274/11.62, allocations: 0.6705 MB / 4.034 GB, free: 97.77 MB / 0.5573 GB Notification: Performance of SimCode: time 2.946e-06/11.62, allocations: 1.875 kB / 4.034 GB, free: 97.77 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2002/11.82, allocations: 130 MB / 4.161 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/11.82, allocations: 204.1 kB / 4.161 GB, free: 62.55 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.5/17.32, allocations: 0 / 4.161 GB, free: 62.55 MB / 0.5573 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1)