Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_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: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 181.4 kB / 16.39 MB, free: 5.762 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.949/1.949, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001312/0.001311, allocations: 101.2 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5409/0.5409, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003663, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.889/7.054, allocations: 2.979 GB / 3.467 GB, free: 43.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/7.054, allocations: 85.69 kB / 3.467 GB, free: 43.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.236/8.29, allocations: 301.1 MB / 3.761 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.493e-06/8.29, allocations: 0 / 3.761 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001257/8.29, allocations: 38.58 kB / 3.761 GB, free: 64.04 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.027/8.317, allocations: 5.896 MB / 3.766 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/8.317, allocations: 22.67 kB / 3.766 GB, free: 63.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/8.323, allocations: 0.5448 MB / 3.767 GB, free: 62.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00687/8.33, allocations: 1.761 MB / 3.769 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003269/8.333, allocations: 1.064 MB / 3.77 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/8.335, allocations: 184.7 kB / 3.77 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03477/8.37, allocations: 12.4 MB / 3.782 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.008e-05/8.37, allocations: 3.688 kB / 3.782 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/8.372, allocations: 70.47 kB / 3.782 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/8.372, allocations: 88.44 kB / 3.782 GB, free: 62.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05146/8.424, allocations: 20.91 MB / 3.803 GB, free: 61.71 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.04974/8.474, allocations: 33.68 MB / 3.835 GB, free: 42.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02339/8.497, allocations: 10.1 MB / 3.845 GB, free: 39.79 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3424/8.84, allocations: 75.5 MB / 3.919 GB, free: 73.26 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.199e-05/8.84, allocations: 53.94 kB / 3.919 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=192): time 4.478e-06/8.84, allocations: 0 / 3.919 GB, free: 73.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=193): time 0.1091/8.949, allocations: 41.25 MB / 3.959 GB, free: 72.51 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/8.949, allocations: 71.58 kB / 3.959 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006027/8.95, allocations: 454.4 kB / 3.96 GB, free: 72.33 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001502/8.951, allocations: 63.52 kB / 3.96 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/8.951, allocations: 0.5157 MB / 3.96 GB, free: 72.08 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001255/8.953, allocations: 0.6665 MB / 3.961 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006043/8.953, allocations: 33.41 kB / 3.961 GB, free: 71.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000151/8.953, allocations: 414.9 kB / 3.962 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01732/8.971, allocations: 8.297 MB / 3.97 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/8.989, allocations: 8.54 MB / 3.978 GB, free: 71.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/9.005, allocations: 7.128 MB / 3.985 GB, free: 70.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/9.005, allocations: 3.906 kB / 3.985 GB, free: 70.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.104/9.109, allocations: 38.67 MB / 4.023 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000252/9.109, allocations: 1.321 MB / 4.024 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/9.109, allocations: 4 kB / 4.024 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1415/9.251, allocations: 57.52 MB / 4.08 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/9.252, allocations: 314.4 kB / 4.081 GB, free: 19.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2771/9.529, allocations: 24.56 MB / 4.104 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/9.541, allocations: 1.998 MB / 4.106 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001943/9.543, allocations: 313.4 kB / 4.107 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/9.543, allocations: 4.281 kB / 4.107 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1056/9.649, allocations: 38.5 MB / 4.144 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/9.649, allocations: 4.5 kB / 4.144 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.143/9.792, allocations: 57.52 MB / 4.201 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/9.793, allocations: 298 kB / 4.201 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05533/9.849, allocations: 24.25 MB / 4.224 GB, free: 62.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/9.86, allocations: 1.997 MB / 4.226 GB, free: 60.95 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/9.861, allocations: 308.8 kB / 4.227 GB, free: 60.83 MB / 0.5261 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 () * Number of clocked 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.002926/9.864, allocations: 0.5567 MB / 4.227 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008569/9.865, allocations: 108.8 kB / 4.227 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05025/9.916, allocations: 34.62 MB / 4.261 GB, free: 32.61 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04758/9.963, allocations: 32.97 MB / 4.293 GB, free: 4.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.292e-05/9.963, allocations: 10.53 kB / 4.293 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-05/9.963, allocations: 14.5 kB / 4.293 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3057/10.27, allocations: 54.26 MB / 4.346 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/10.27, allocations: 7.75 kB / 4.346 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01308/10.28, allocations: 2.459 MB / 4.349 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004454/10.29, allocations: 1.143 MB / 4.35 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001777/10.29, allocations: 198.3 kB / 4.35 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009403/10.3, allocations: 6.351 MB / 4.356 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/10.3, allocations: 12.77 kB / 4.356 GB, free: 65.67 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05807/10.36, allocations: 25.83 MB / 4.382 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00447/10.36, allocations: 1.225 MB / 4.383 GB, free: 58.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001262/10.36, allocations: 55.05 kB / 4.383 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01008/10.37, allocations: 1.955 MB / 4.385 GB, free: 58.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002462/10.37, allocations: 329.1 kB / 4.385 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002075/10.38, allocations: 200.4 kB / 4.385 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005042/10.38, allocations: 349 kB / 4.386 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/10.38, allocations: 0 / 4.386 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01138/10.39, allocations: 2.636 MB / 4.388 GB, free: 57.85 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 () * Number of clocked 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.005998/10.39, allocations: 1.317 MB / 4.389 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06016/10.45, allocations: 27.35 MB / 4.416 GB, free: 51.06 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/10.45, allocations: 3.938 kB / 4.416 GB, free: 51.06 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02017/10.47, allocations: 9.45 MB / 4.425 GB, free: 48.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003271/10.48, allocations: 478.7 kB / 4.426 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02386/10.5, allocations: 13.27 MB / 4.439 GB, free: 37.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008974/10.5, allocations: 1.646 MB / 4.44 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005814/10.51, allocations: 2.432 MB / 4.443 GB, free: 34.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003089/10.51, allocations: 393.5 kB / 4.443 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/10.51, allocations: 0 / 4.443 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.4989/11.01, allocations: 252.1 MB / 4.689 GB, free: 272 kB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1)