Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.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,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph",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.001454/0.001454, allocations: 175.3 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.86/1.86, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009076/0.0009073, allocations: 93.17 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5392/0.5392, allocations: 48.78 MB / 358.8 MB, free: 53.1 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.855e-05, allocations: 8.156 kB / 425.4 MB, free: 8.145 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1475, allocations: 60.26 MB / 485.7 MB, free: 11.74 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.657/7.805, allocations: 3.005 GB / 3.479 GB, free: 0.8516 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/7.805, allocations: 76.66 kB / 3.479 GB, free: 0.8164 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.866/9.671, allocations: 392.9 MB / 3.863 GB, free: 22.46 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.683e-06/9.671, allocations: 0 / 3.863 GB, free: 22.46 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001332/9.671, allocations: 60 kB / 3.863 GB, free: 22.4 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.05537/9.726, allocations: 12.05 MB / 3.875 GB, free: 10.3 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/9.726, allocations: 8.031 kB / 3.875 GB, free: 10.29 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01231/9.739, allocations: 1.198 MB / 3.876 GB, free: 9.09 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02004/9.759, allocations: 4.484 MB / 3.88 GB, free: 4.652 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01015/9.769, allocations: 2.92 MB / 3.883 GB, free: 1.562 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006457/9.776, allocations: 215.8 kB / 3.883 GB, free: 1.352 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3978/10.17, allocations: 28.41 MB / 3.911 GB, free: 32.69 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04888/10.22, allocations: 15.54 MB / 3.926 GB, free: 32.43 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002523/10.22, allocations: 2.219 kB / 3.926 GB, free: 32.43 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006774/10.23, allocations: 3.125 kB / 3.926 GB, free: 32.43 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002445/10.23, allocations: 168.8 kB / 3.927 GB, free: 32.42 MB / 0.5108 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.1522/10.38, allocations: 74.49 MB / 3.999 GB, free: 6.227 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02809/10.41, allocations: 14 MB / 4.013 GB, free: 0.5312 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03049/10.44, allocations: 12.01 MB / 4.025 GB, free: 15.21 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5679/11.01, allocations: 125 MB / 4.147 GB, free: 67.86 MB / 0.5733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/11.01, allocations: 82.61 kB / 4.147 GB, free: 67.81 MB / 0.5733 GB Notification: Performance of pre-optimization done (n=482): time 5.941e-06/11.01, allocations: 3.688 kB / 4.147 GB, free: 67.81 MB / 0.5733 GB Notification: Performance of matching and sorting (n=483): time 0.1631/11.17, allocations: 49.02 MB / 4.195 GB, free: 66.88 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/11.17, allocations: 125.6 kB / 4.195 GB, free: 66.79 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007395/11.17, allocations: 0.5418 MB / 4.195 GB, free: 66.66 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.004931/11.18, allocations: 30.08 kB / 4.195 GB, free: 66.63 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004229/11.18, allocations: 0.7419 MB / 4.196 GB, free: 66.34 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.006458/11.18, allocations: 1.595 MB / 4.198 GB, free: 65.41 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005071/11.19, allocations: 0 / 4.198 GB, free: 65.41 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.0005511/11.19, allocations: 0.5159 MB / 4.198 GB, free: 65.09 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01869/11.21, allocations: 11.27 MB / 4.209 GB, free: 64.21 MB / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01793/11.23, allocations: 11.68 MB / 4.221 GB, free: 59.17 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02197/11.25, allocations: 8.738 MB / 4.229 GB, free: 55.92 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.084e-05/11.25, allocations: 0 / 4.229 GB, free: 55.92 MB / 0.5733 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1214/11.37, allocations: 43.62 MB / 4.272 GB, free: 42.96 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 0.000358/11.37, allocations: 1.94 MB / 4.274 GB, free: 40.91 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/11.37, allocations: 7.594 kB / 4.274 GB, free: 40.91 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.641/12.01, allocations: 107.8 MB / 4.379 GB, free: 91.18 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003801/12.02, allocations: 0.9178 MB / 4.38 GB, free: 91.14 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1249/12.14, allocations: 46.08 MB / 4.425 GB, free: 90.18 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02887/12.17, allocations: 5.388 MB / 4.43 GB, free: 89.83 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006635/12.18, allocations: 0.7037 MB / 4.431 GB, free: 89.83 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/12.18, allocations: 8.25 kB / 4.431 GB, free: 89.83 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1044/12.28, allocations: 37.48 MB / 4.467 GB, free: 63.6 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-05/12.28, allocations: 4 kB / 4.467 GB, free: 63.59 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6054/12.89, allocations: 105.6 MB / 4.571 GB, free: 91.72 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003743/12.89, allocations: 0.9596 MB / 4.571 GB, free: 91.68 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1191/13.01, allocations: 44.39 MB / 4.615 GB, free: 90.73 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02596/13.04, allocations: 5.386 MB / 4.62 GB, free: 90.38 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00532/13.04, allocations: 0.6944 MB / 4.621 GB, free: 90.38 MB / 0.5733 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 (hexFV.fluidState[15].phase,hexFV.fluidState[14].phase,hexFV.fluidState[13].phase,hexFV.fluidState[12].phase,hexFV.fluidState[11].phase,hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,hexFV.heatTransfer.dew.phase,hexFV.heatTransfer.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 1 * 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 {15 367} Notification: Performance of prepare postOptimizeDAE: time 0.008856/13.05, allocations: 151.9 kB / 4.621 GB, free: 90.27 MB / 0.5733 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1003/13.15, allocations: 30.62 MB / 4.651 GB, free: 76.56 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006561/13.16, allocations: 220.4 kB / 4.651 GB, free: 76.45 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4355/13.59, allocations: 58.82 MB / 4.708 GB, free: 89.48 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1039/13.7, allocations: 55.38 MB / 4.763 GB, free: 87.83 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.2e-05/13.7, allocations: 15.09 kB / 4.763 GB, free: 87.83 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002299/13.7, allocations: 22.88 kB / 4.763 GB, free: 87.83 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1573/13.85, allocations: 98.18 MB / 4.858 GB, free: 39.86 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.166e-05/13.85, allocations: 11.83 kB / 4.858 GB, free: 39.85 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02758/13.88, allocations: 6.139 MB / 4.864 GB, free: 39.78 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0576/13.94, allocations: 20.54 MB / 4.884 GB, free: 34.98 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006146/13.94, allocations: 0.4948 MB / 4.885 GB, free: 34.82 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4438/14.39, allocations: 49.58 MB / 4.933 GB, free: 79.86 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/14.39, allocations: 10.56 kB / 4.933 GB, free: 79.86 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.149/14.54, allocations: 42.97 MB / 4.975 GB, free: 76.83 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009922/14.55, allocations: 2.947 MB / 4.978 GB, free: 75.69 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005906/14.55, allocations: 43.53 kB / 4.978 GB, free: 75.68 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0292/14.58, allocations: 5.33 MB / 4.983 GB, free: 75.67 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006574/14.59, allocations: 0.943 MB / 4.984 GB, free: 75.62 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006563/14.6, allocations: 0.5351 MB / 4.985 GB, free: 75.59 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.000655/14.6, allocations: 417.5 kB / 4.985 GB, free: 75.38 MB / 0.5733 GB Notification: Performance of sort global known variables: time 1.81e-07/14.6, allocations: 1.094 kB / 4.985 GB, free: 75.38 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.03497/14.63, allocations: 5.1 MB / 4.99 GB, free: 75.34 MB / 0.5733 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 29 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9],hexFV.htilde[10],hexFV.htilde[11],hexFV.htilde[12],hexFV.htilde[13],hexFV.htilde[14],metalTubeFV.Tvol[1],metalTubeFV.Tvol[2],metalTubeFV.Tvol[3],metalTubeFV.Tvol[4],metalTubeFV.Tvol[5],metalTubeFV.Tvol[6],metalTubeFV.Tvol[7],metalTubeFV.Tvol[8],metalTubeFV.Tvol[9],metalTubeFV.Tvol[10],metalTubeFV.Tvol[11],metalTubeFV.Tvol[12],metalTubeFV.Tvol[13],metalTubeFV.Tvol[14]) * Number of discrete variables: 36 ($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.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 381 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(15,59.6%) 28,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.136/14.77, allocations: 47.11 MB / 5.036 GB, free: 56.83 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.1319/14.9, allocations: 49.27 MB / 5.084 GB, free: 31.45 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.799e-05/14.9, allocations: 0 / 5.084 GB, free: 31.45 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.3649/15.26, allocations: 15.32 MB / 5.099 GB, free: 90.8 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01011/15.27, allocations: 0.9866 MB / 5.1 GB, free: 90.8 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06231/15.34, allocations: 20.97 MB / 5.121 GB, free: 89.18 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002088/15.34, allocations: 2.504 MB / 5.123 GB, free: 88.41 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.01682/15.36, allocations: 3.315 MB / 5.127 GB, free: 88.37 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01359/15.37, allocations: 2.001 MB / 5.128 GB, free: 88.37 MB / 0.5733 GB Notification: Performance of SimCode: time 1.433e-06/15.37, allocations: 0 / 5.128 GB, free: 88.37 MB / 0.5733 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.481/16.85, allocations: 0.5612 GB / 5.69 GB, free: 45.34 MB / 0.589 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/16.85, allocations: 156 kB / 5.69 GB, free: 45.14 MB / 0.589 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/33.49, allocations: 4.031 kB / 5.69 GB, free: 45.14 MB / 0.589 GB (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-08 ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV2ph.fmu > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)