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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002124/0.002124, allocations: 180.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.11/2.11, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001039/0.001038, allocations: 97.16 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5503/0.5503, allocations: 48.76 MB / 358.8 MB, free: 53.16 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.065e-05, allocations: 4 kB / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1412, allocations: 60.25 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.723/7.864, allocations: 3.005 GB / 3.479 GB, free: 1.148 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/7.864, allocations: 74.53 kB / 3.479 GB, free: 1.113 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.612/9.476, allocations: 392.8 MB / 3.863 GB, free: 22.86 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.375e-06/9.476, allocations: 4 kB / 3.863 GB, free: 22.86 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001784/9.476, allocations: 65.42 kB / 3.863 GB, free: 22.8 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.05511/9.531, allocations: 12.05 MB / 3.875 GB, free: 10.7 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/9.531, allocations: 12.02 kB / 3.875 GB, free: 10.69 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01246/9.544, allocations: 1.194 MB / 3.876 GB, free: 9.496 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01948/9.563, allocations: 4.489 MB / 3.88 GB, free: 5.055 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01047/9.574, allocations: 2.93 MB / 3.883 GB, free: 1.957 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007524/9.581, allocations: 211.8 kB / 3.883 GB, free: 1.75 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3633/9.945, allocations: 28.4 MB / 3.911 GB, free: 32.51 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02751/9.972, allocations: 15.54 MB / 3.926 GB, free: 32.25 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.388e-05/9.972, allocations: 0.8438 kB / 3.926 GB, free: 32.25 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001477/9.974, allocations: 1.469 kB / 3.926 GB, free: 32.25 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/9.974, allocations: 171.6 kB / 3.926 GB, free: 32.24 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.1255/10.1, allocations: 74.49 MB / 3.999 GB, free: 6.277 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02652/10.13, allocations: 14 MB / 4.013 GB, free: 0.5859 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03009/10.16, allocations: 12.01 MB / 4.025 GB, free: 15.23 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5/10.66, allocations: 125 MB / 4.147 GB, free: 68.16 MB / 0.5733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001085/10.66, allocations: 84.61 kB / 4.147 GB, free: 68.11 MB / 0.5733 GB Notification: Performance of pre-optimization done (n=482): time 6.082e-06/10.66, allocations: 2.625 kB / 4.147 GB, free: 68.11 MB / 0.5733 GB Notification: Performance of matching and sorting (n=483): time 0.1418/10.8, allocations: 49.01 MB / 4.195 GB, free: 67.18 MB / 0.5733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/10.8, allocations: 130.2 kB / 4.195 GB, free: 67.09 MB / 0.5733 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007596/10.8, allocations: 0.5463 MB / 4.195 GB, free: 66.96 MB / 0.5733 GB Notification: Performance of collectPreVariables (initialization): time 0.00409/10.8, allocations: 29.58 kB / 4.195 GB, free: 66.93 MB / 0.5733 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/10.8, allocations: 0.7375 MB / 4.196 GB, free: 66.64 MB / 0.5733 GB Notification: Performance of collectInitialBindings (initialization): time 0.0038/10.81, allocations: 1.596 MB / 4.198 GB, free: 65.71 MB / 0.5733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001642/10.81, allocations: 0 / 4.198 GB, free: 65.71 MB / 0.5733 GB Notification: Performance of setup shared object (initialization): time 0.0002475/10.81, allocations: 0.5182 MB / 4.198 GB, free: 65.39 MB / 0.5733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02903/10.84, allocations: 11.27 MB / 4.209 GB, free: 64.3 MB / 0.5733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03214/10.87, allocations: 11.69 MB / 4.22 GB, free: 59.27 MB / 0.5733 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04277/10.91, allocations: 8.734 MB / 4.229 GB, free: 56.01 MB / 0.5733 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.418e-05/10.91, allocations: 0 / 4.229 GB, free: 56.01 MB / 0.5733 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1308/11.04, allocations: 43.63 MB / 4.272 GB, free: 43.05 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/11.04, allocations: 1.938 MB / 4.273 GB, free: 41 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.162e-05/11.04, allocations: 10.16 kB / 4.274 GB, free: 41 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.685/11.73, allocations: 107.8 MB / 4.379 GB, free: 91.3 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003488/11.73, allocations: 0.919 MB / 4.38 GB, free: 91.26 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1243/11.86, allocations: 46.08 MB / 4.425 GB, free: 90.3 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02708/11.88, allocations: 5.39 MB / 4.43 GB, free: 89.95 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005365/11.89, allocations: 0.7067 MB / 4.431 GB, free: 89.95 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/11.89, allocations: 3.312 kB / 4.431 GB, free: 89.95 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08847/11.98, allocations: 37.48 MB / 4.467 GB, free: 63.31 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.595e-05/11.98, allocations: 4.625 kB / 4.467 GB, free: 63.31 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5822/12.56, allocations: 105.6 MB / 4.57 GB, free: 92.02 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003514/12.56, allocations: 0.9563 MB / 4.571 GB, free: 91.98 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1057/12.67, allocations: 44.39 MB / 4.615 GB, free: 91.02 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02622/12.7, allocations: 5.389 MB / 4.62 GB, free: 90.68 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005316/12.7, allocations: 0.7003 MB / 4.621 GB, free: 90.68 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.008128/12.71, allocations: 138.9 kB / 4.621 GB, free: 90.57 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004223/12.71, allocations: 214.6 kB / 4.621 GB, free: 90.57 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.104/12.82, allocations: 58.84 MB / 4.678 GB, free: 52.54 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3855/13.2, allocations: 58.18 MB / 4.735 GB, free: 91.96 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.854e-05/13.2, allocations: 21.55 kB / 4.735 GB, free: 91.95 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000177/13.2, allocations: 21.7 kB / 4.735 GB, free: 91.95 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.145/13.35, allocations: 98.18 MB / 4.831 GB, free: 55.91 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-05/13.35, allocations: 7.875 kB / 4.831 GB, free: 55.91 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02646/13.38, allocations: 6.139 MB / 4.837 GB, free: 55.83 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05787/13.43, allocations: 20.54 MB / 4.857 GB, free: 53.4 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005452/13.44, allocations: 0.4885 MB / 4.858 GB, free: 53.37 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0681/13.51, allocations: 49.52 MB / 4.906 GB, free: 24.25 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/13.51, allocations: 11.19 kB / 4.906 GB, free: 24.25 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3805/13.89, allocations: 44.57 MB / 4.95 GB, free: 89.53 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008882/13.9, allocations: 2.947 MB / 4.952 GB, free: 89.36 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005097/13.9, allocations: 45.05 kB / 4.952 GB, free: 89.36 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0275/13.93, allocations: 5.337 MB / 4.958 GB, free: 89.35 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005646/13.93, allocations: 0.9336 MB / 4.959 GB, free: 89.34 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004346/13.94, allocations: 0.5409 MB / 4.959 GB, free: 89.34 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.000543/13.94, allocations: 412.4 kB / 4.959 GB, free: 89.25 MB / 0.5733 GB Notification: Performance of sort global known variables: time 3.01e-07/13.94, allocations: 0 / 4.959 GB, free: 89.25 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.02754/13.97, allocations: 5.102 MB / 4.964 GB, free: 89.25 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.01019/13.98, allocations: 1.658 MB / 4.966 GB, free: 89.15 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.1247/14.1, allocations: 49.28 MB / 5.014 GB, free: 81.9 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/14.1, allocations: 0 / 5.014 GB, free: 81.9 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.02681/14.13, allocations: 15.33 MB / 5.029 GB, free: 74.73 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01078/14.14, allocations: 0.9798 MB / 5.03 GB, free: 74.59 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0375/14.18, allocations: 19.78 MB / 5.049 GB, free: 69.1 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001778/14.18, allocations: 2.505 MB / 5.052 GB, free: 68.16 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.0126/14.19, allocations: 3.318 MB / 5.055 GB, free: 68.12 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007584/14.2, allocations: 0.8321 MB / 5.056 GB, free: 68.07 MB / 0.5733 GB Notification: Performance of SimCode: time 1.232e-06/14.2, allocations: 0 / 5.056 GB, free: 68.07 MB / 0.5733 GB Notification: Performance of Templates: time 1.469/15.67, allocations: 0.5307 GB / 5.587 GB, free: 85.71 MB / 0.589 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.makefile (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)