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.001695/0.001695, allocations: 176.4 kB / 17.4 MB, free: 4.301 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.758/1.758, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.000927/0.000927, allocations: 97.64 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5096/0.5096, allocations: 48.77 MB / 368.9 MB, free: 47.37 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004015, allocations: 20 kB / 439.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1513, allocations: 60.25 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.764/6.915, allocations: 3.006 GB / 3.494 GB, free: 12.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/6.916, allocations: 91.81 kB / 3.495 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.385/8.3, allocations: 397.5 MB / 3.883 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.964e-06/8.3, allocations: 4 kB / 3.883 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001635/8.301, allocations: 63.94 kB / 3.883 GB, free: 23.25 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: 884 * Number of variables: 884 Notification: Performance of Generate backend data structure: time 0.05405/8.355, allocations: 12.17 MB / 3.895 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/8.355, allocations: 16.02 kB / 3.895 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/8.366, allocations: 1.184 MB / 3.896 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/8.385, allocations: 4.512 MB / 3.9 GB, free: 5.348 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009228/8.394, allocations: 3.13 MB / 3.903 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006443/8.4, allocations: 340.3 kB / 3.904 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3326/8.733, allocations: 29.19 MB / 3.932 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001824/8.733, allocations: 2.156 kB / 3.932 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005961/8.739, allocations: 139.3 kB / 3.932 GB, free: 31.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001878/8.739, allocations: 170 kB / 3.932 GB, free: 31.33 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1262/8.866, allocations: 51.78 MB / 3.983 GB, free: 30.43 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.1294/8.995, allocations: 74.89 MB / 4.056 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06415/9.059, allocations: 25.78 MB / 4.081 GB, free: 9.562 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3287/9.388, allocations: 24.12 MB / 4.105 GB, free: 63.17 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2072/9.595, allocations: 124.5 MB / 4.226 GB, free: 21.02 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001153/9.595, allocations: 81.22 kB / 4.227 GB, free: 20.98 MB / 0.573 GB Notification: Performance of pre-optimization done (n=481): time 7.924e-06/9.595, allocations: 0 / 4.227 GB, free: 20.98 MB / 0.573 GB Notification: Performance of matching and sorting (n=482): time 0.6481/10.24, allocations: 125.1 MB / 4.349 GB, free: 93.14 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.952e-05/10.24, allocations: 126.2 kB / 4.349 GB, free: 93.04 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/10.24, allocations: 0.6918 MB / 4.349 GB, free: 92.91 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.004528/10.25, allocations: 109.5 kB / 4.35 GB, free: 92.88 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005228/10.25, allocations: 0.7398 MB / 4.35 GB, free: 92.58 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005552/10.26, allocations: 1.659 MB / 4.352 GB, free: 91.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00447/10.26, allocations: 76.66 kB / 4.352 GB, free: 91.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0005159/10.26, allocations: 0.5208 MB / 4.352 GB, free: 91.36 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04988/10.31, allocations: 21.25 MB / 4.373 GB, free: 91.34 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05008/10.36, allocations: 21.71 MB / 4.394 GB, free: 91.03 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08872/10.45, allocations: 35.59 MB / 4.429 GB, free: 83.79 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.813e-05/10.45, allocations: 0 / 4.429 GB, free: 83.79 MB / 0.573 GB Notification: Performance of matching and sorting (n=533) (initialization): time 0.174/10.62, allocations: 65.78 MB / 4.493 GB, free: 45.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/10.62, allocations: 255.8 kB / 4.494 GB, free: 45.35 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/10.62, allocations: 11.09 kB / 4.494 GB, free: 45.34 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6806/11.3, allocations: 134.1 MB / 4.625 GB, free: 88.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/11.31, allocations: 0.9141 MB / 4.626 GB, free: 88.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1804/11.49, allocations: 66.02 MB / 4.69 GB, free: 61.22 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02556/11.51, allocations: 5.471 MB / 4.695 GB, free: 57.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005606/11.52, allocations: 0.7021 MB / 4.696 GB, free: 56.83 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/11.52, allocations: 5.562 kB / 4.696 GB, free: 56.82 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4013/11.92, allocations: 64.92 MB / 4.759 GB, free: 91.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-05/11.92, allocations: 5.594 kB / 4.759 GB, free: 91.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3663/12.29, allocations: 130.8 MB / 4.887 GB, free: 63.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/12.29, allocations: 0.9551 MB / 4.888 GB, free: 62.42 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4241/12.71, allocations: 64.75 MB / 4.951 GB, free: 89.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02459/12.74, allocations: 5.46 MB / 4.957 GB, free: 89.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005222/12.74, allocations: 0.6984 MB / 4.957 GB, free: 89.29 MB / 0.573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (137): * Single equations (assignments): 135 * 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.009767/12.75, allocations: 0.9491 MB / 4.958 GB, free: 89.09 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004345/12.76, allocations: 226.1 kB / 4.959 GB, free: 89.09 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1673/12.93, allocations: 78.62 MB / 5.035 GB, free: 78.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1547/13.08, allocations: 74.95 MB / 5.108 GB, free: 37.22 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.576e-05/13.08, allocations: 12 kB / 5.108 GB, free: 37.21 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001571/13.08, allocations: 30.58 kB / 5.109 GB, free: 37.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4672/13.55, allocations: 118.2 MB / 5.224 GB, free: 71.82 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.513e-05/13.55, allocations: 4.391 kB / 5.224 GB, free: 71.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02668/13.58, allocations: 6.136 MB / 5.23 GB, free: 71.74 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06398/13.64, allocations: 23.33 MB / 5.253 GB, free: 69.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005708/13.64, allocations: 0.5315 MB / 5.253 GB, free: 69.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1008/13.75, allocations: 61.39 MB / 5.313 GB, free: 30.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/13.75, allocations: 9.5 kB / 5.313 GB, free: 30.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4604/14.21, allocations: 73.93 MB / 5.385 GB, free: 86.54 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009697/14.22, allocations: 2.944 MB / 5.388 GB, free: 86.29 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005058/14.22, allocations: 123.6 kB / 5.388 GB, free: 86.29 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02569/14.25, allocations: 5.412 MB / 5.394 GB, free: 86.27 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005915/14.25, allocations: 0.9368 MB / 5.395 GB, free: 86.27 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004898/14.26, allocations: 0.5314 MB / 5.395 GB, free: 86.27 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006771/14.26, allocations: 486.5 kB / 5.396 GB, free: 86.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.51e-07/14.26, allocations: 0 / 5.396 GB, free: 86.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02705/14.29, allocations: 5.196 MB / 5.401 GB, free: 86.18 MB / 0.573 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (419): * Single equations (assignments): 380 * 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.01205/14.3, allocations: 1.657 MB / 5.402 GB, free: 86.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2088/14.51, allocations: 79.38 MB / 5.48 GB, free: 65.62 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/14.51, allocations: 3.594 kB / 5.48 GB, free: 65.62 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.05617/14.56, allocations: 25.51 MB / 5.505 GB, free: 44.81 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01498/14.58, allocations: 1.14 MB / 5.506 GB, free: 43.97 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.326/14.9, allocations: 32.95 MB / 5.538 GB, free: 82.77 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/14.91, allocations: 2.434 MB / 5.54 GB, free: 82.01 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01599/14.92, allocations: 3.244 MB / 5.544 GB, free: 81.95 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009972/14.93, allocations: 0.8449 MB / 5.544 GB, free: 81.95 MB / 0.573 GB Notification: Performance of SimCode: time 1.453e-06/14.93, allocations: 0 / 5.544 GB, free: 81.95 MB / 0.573 GB Notification: Performance of Templates: time 1.199/16.13, allocations: 0.5445 GB / 6.089 GB, free: 56.04 MB / 0.573 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)