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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001625, allocations: 181.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 1.764/1.764, allocations: 205.3 MB / 214.1 MB, free: 14.07 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.000947/0.0009471, allocations: 83.17 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.5844/0.5844, allocations: 48.77 MB / 358.8 MB, free: 53.11 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 1.77e-05/1.774e-05, allocations: 4 kB / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1634, allocations: 60.25 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.212/6.376, allocations: 2.978 GB / 3.453 GB, free: 88.51 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/6.376, allocations: 75.11 kB / 3.453 GB, free: 88.45 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8981/7.274, allocations: 297.7 MB / 3.743 GB, free: 2.191 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.263e-06/7.274, allocations: 0 / 3.743 GB, free: 2.191 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 6.336e-05/7.274, allocations: 32 kB / 3.744 GB, free: 2.16 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.2796/7.554, allocations: 5.793 MB / 3.749 GB, free: 51.69 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/7.554, allocations: 9.156 kB / 3.749 GB, free: 51.69 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006045/7.56, allocations: 0.5533 MB / 3.75 GB, free: 51.6 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00741/7.567, allocations: 1.763 MB / 3.751 GB, free: 51.37 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003097/7.571, allocations: 0.9801 MB / 3.752 GB, free: 51.11 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001438/7.572, allocations: 108 kB / 3.753 GB, free: 51.11 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01813/7.59, allocations: 11.65 MB / 3.764 GB, free: 51.1 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009951/7.6, allocations: 6.566 MB / 3.77 GB, free: 50.91 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.645e-05/7.6, allocations: 0 / 3.77 GB, free: 50.91 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006233/7.601, allocations: 0 / 3.77 GB, free: 50.91 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.629e-05/7.601, allocations: 90.45 kB / 3.77 GB, free: 50.91 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.04897/7.65, allocations: 33.48 MB / 3.803 GB, free: 31.61 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008952/7.659, allocations: 5.442 MB / 3.808 GB, free: 31.57 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007315/7.666, allocations: 4.482 MB / 3.813 GB, free: 31.56 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1327/7.799, allocations: 75.79 MB / 3.887 GB, free: 19.68 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.516e-05/7.799, allocations: 58 kB / 3.887 GB, free: 19.63 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=192): time 4.238e-06/7.799, allocations: 0 / 3.887 GB, free: 19.63 MB / 0.5421 GB Notification: Performance of matching and sorting (n=193): time 0.0476/7.847, allocations: 18.65 MB / 3.905 GB, free: 16.08 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/7.847, allocations: 72.38 kB / 3.905 GB, free: 16.02 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/7.847, allocations: 407.3 kB / 3.906 GB, free: 15.81 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.001259/7.849, allocations: 25.7 kB / 3.906 GB, free: 15.78 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/7.849, allocations: 0.5223 MB / 3.906 GB, free: 15.42 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/7.85, allocations: 0.639 MB / 3.907 GB, free: 14.92 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006629/7.851, allocations: 0 / 3.907 GB, free: 14.92 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001981/7.851, allocations: 410.8 kB / 3.907 GB, free: 14.57 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005587/7.856, allocations: 4.8 MB / 3.912 GB, free: 12.59 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005894/7.862, allocations: 5.023 MB / 3.917 GB, free: 10.39 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009771/7.872, allocations: 4.058 MB / 3.921 GB, free: 8.918 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.858e-06/7.872, allocations: 0 / 3.921 GB, free: 8.918 MB / 0.5421 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.3368/8.209, allocations: 29.08 MB / 3.949 GB, free: 82.34 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002424/8.209, allocations: 1.317 MB / 3.95 GB, free: 80.99 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/8.209, allocations: 8.594 kB / 3.95 GB, free: 80.99 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1297/8.339, allocations: 50.25 MB / 3.999 GB, free: 79.7 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00165/8.341, allocations: 326.2 kB / 4 GB, free: 79.69 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02817/8.369, allocations: 16.42 MB / 4.016 GB, free: 79.12 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/8.379, allocations: 1.982 MB / 4.018 GB, free: 79.01 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001305/8.38, allocations: 313.8 kB / 4.018 GB, free: 79.01 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/8.38, allocations: 7.797 kB / 4.018 GB, free: 79.01 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07177/8.452, allocations: 28.36 MB / 4.046 GB, free: 78.24 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.541e-05/8.452, allocations: 4.719 kB / 4.046 GB, free: 78.24 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1255/8.578, allocations: 50.24 MB / 4.095 GB, free: 52 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002133/8.58, allocations: 317.2 kB / 4.095 GB, free: 51.78 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04927/8.629, allocations: 16.43 MB / 4.111 GB, free: 39.38 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01579/8.645, allocations: 1.972 MB / 4.113 GB, free: 37.94 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003033/8.648, allocations: 309.6 kB / 4.113 GB, free: 37.78 MB / 0.5421 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 () * 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.002826/8.651, allocations: 132.3 kB / 4.113 GB, free: 37.66 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/8.652, allocations: 109 kB / 4.114 GB, free: 37.61 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3198/8.972, allocations: 29.13 MB / 4.142 GB, free: 81.45 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04126/9.014, allocations: 26.78 MB / 4.168 GB, free: 81.14 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/9.014, allocations: 5 kB / 4.168 GB, free: 81.14 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.388e-05/9.014, allocations: 11.84 kB / 4.168 GB, free: 81.14 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08474/9.098, allocations: 47.76 MB / 4.215 GB, free: 60.73 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.781e-05/9.099, allocations: 3.969 kB / 4.215 GB, free: 60.73 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01915/9.118, allocations: 2.469 MB / 4.217 GB, free: 60.69 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006682/9.124, allocations: 1.117 MB / 4.218 GB, free: 60.54 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002982/9.127, allocations: 178.1 kB / 4.218 GB, free: 60.52 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/9.14, allocations: 5.898 MB / 4.224 GB, free: 57.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/9.141, allocations: 9.969 kB / 4.224 GB, free: 57.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03252/9.173, allocations: 15.29 MB / 4.239 GB, free: 50.99 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003585/9.177, allocations: 1.222 MB / 4.24 GB, free: 50.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/9.178, allocations: 31.12 kB / 4.24 GB, free: 50.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009677/9.187, allocations: 1.938 MB / 4.242 GB, free: 50.49 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/9.189, allocations: 330 kB / 4.243 GB, free: 50.47 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007464/9.189, allocations: 198.8 kB / 4.243 GB, free: 50.45 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0003874/9.19, allocations: 301.1 kB / 4.243 GB, free: 50.29 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.51e-07/9.19, allocations: 0 / 4.243 GB, free: 50.29 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01306/9.203, allocations: 2.537 MB / 4.246 GB, free: 50.25 MB / 0.5421 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 () * 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.007833/9.211, allocations: 1.363 MB / 4.247 GB, free: 50.11 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.02822/9.239, allocations: 16.78 MB / 4.263 GB, free: 43.5 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/9.239, allocations: 3.969 kB / 4.263 GB, free: 43.5 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.009638/9.249, allocations: 5.899 MB / 4.269 GB, free: 40.96 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003511/9.252, allocations: 408.6 kB / 4.269 GB, free: 40.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01248/9.265, allocations: 7.99 MB / 4.277 GB, free: 38.37 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009562/9.266, allocations: 1.648 MB / 4.279 GB, free: 37.55 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.006506/9.272, allocations: 2.458 MB / 4.281 GB, free: 37.52 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00331/9.276, allocations: 386.2 kB / 4.282 GB, free: 37.49 MB / 0.5421 GB Notification: Performance of SimCode: time 1.153e-06/9.276, allocations: 0 / 4.282 GB, free: 37.49 MB / 0.5421 GB Notification: Performance of Templates: time 0.5359/9.812, allocations: 247.4 MB / 4.523 GB, free: 15.32 MB / 0.5577 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.makefile (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 & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe 2>&1)