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.001881/0.001881, allocations: 181.2 kB / 16.38 MB, free: 5.766 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.889/1.889, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.00094/0.0009397, allocations: 89.8 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5691/0.5691, allocations: 48.77 MB / 367.9 MB, free: 47.44 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003857, allocations: 8 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1601, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.494/6.654, allocations: 2.979 GB / 3.466 GB, free: 44.11 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001888/6.654, allocations: 80.94 kB / 3.466 GB, free: 44.03 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.062/7.716, allocations: 301.2 MB / 3.761 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.743e-06/7.716, allocations: 3.938 kB / 3.761 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.261e-05/7.716, allocations: 37.98 kB / 3.761 GB, free: 64.5 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.02452/7.741, allocations: 5.902 MB / 3.766 GB, free: 63.47 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/7.741, allocations: 15.95 kB / 3.766 GB, free: 63.46 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005474/7.746, allocations: 0.5524 MB / 3.767 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00662/7.753, allocations: 1.757 MB / 3.769 GB, free: 63.06 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002978/7.756, allocations: 1.07 MB / 3.77 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001545/7.757, allocations: 176.6 kB / 3.77 GB, free: 62.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03087/7.788, allocations: 12.41 MB / 3.782 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/7.788, allocations: 0 / 3.782 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00091/7.789, allocations: 75.19 kB / 3.782 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.634e-05/7.789, allocations: 86.73 kB / 3.782 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04979/7.839, allocations: 20.93 MB / 3.803 GB, free: 62.2 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.05203/7.891, allocations: 33.68 MB / 3.836 GB, free: 42.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02307/7.914, allocations: 10.12 MB / 3.845 GB, free: 40.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3541/8.269, allocations: 75.51 MB / 3.919 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/8.269, allocations: 54.44 kB / 3.919 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=192): time 4.508e-06/8.269, allocations: 0 / 3.919 GB, free: 73.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=193): time 0.1218/8.39, allocations: 41.46 MB / 3.96 GB, free: 72.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/8.391, allocations: 72.53 kB / 3.96 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007804/8.391, allocations: 456.8 kB / 3.96 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002051/8.393, allocations: 66.16 kB / 3.96 GB, free: 72.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/8.394, allocations: 0.5088 MB / 3.961 GB, free: 72.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002351/8.396, allocations: 0.6668 MB / 3.961 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/8.398, allocations: 34.91 kB / 3.961 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002684/8.398, allocations: 410.4 kB / 3.962 GB, free: 71.85 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01887/8.417, allocations: 8.334 MB / 3.97 GB, free: 71.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01849/8.436, allocations: 8.563 MB / 3.978 GB, free: 71.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01713/8.453, allocations: 7.162 MB / 3.985 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-05/8.453, allocations: 0 / 3.985 GB, free: 71.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1136/8.566, allocations: 38.73 MB / 4.023 GB, free: 63.24 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002891/8.567, allocations: 1.321 MB / 4.024 GB, free: 61.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-05/8.567, allocations: 4 kB / 4.024 GB, free: 61.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1473/8.714, allocations: 57.51 MB / 4.081 GB, free: 19.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/8.716, allocations: 323.5 kB / 4.081 GB, free: 19.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2909/9.007, allocations: 24.43 MB / 4.105 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01224/9.019, allocations: 2.014 MB / 4.107 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002258/9.022, allocations: 315.5 kB / 4.107 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/9.022, allocations: 5.375 kB / 4.107 GB, free: 77.17 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1117/9.133, allocations: 38.56 MB / 4.145 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.77e-05/9.133, allocations: 3.969 kB / 4.145 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1475/9.281, allocations: 57.52 MB / 4.201 GB, free: 74.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/9.282, allocations: 315.6 kB / 4.201 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06174/9.344, allocations: 24.25 MB / 4.225 GB, free: 62.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/9.356, allocations: 2.014 MB / 4.227 GB, free: 61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002563/9.358, allocations: 307.1 kB / 4.227 GB, free: 60.88 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.004168/9.363, allocations: 0.5601 MB / 4.228 GB, free: 60.54 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009968/9.364, allocations: 110.1 kB / 4.228 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05582/9.419, allocations: 34.68 MB / 4.262 GB, free: 32.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05237/9.472, allocations: 33.03 MB / 4.294 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-05/9.472, allocations: 8 kB / 4.294 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.767e-05/9.472, allocations: 13.69 kB / 4.294 GB, free: 4.348 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.32/9.792, allocations: 54.31 MB / 4.347 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.158e-05/9.792, allocations: 5.188 kB / 4.347 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01321/9.805, allocations: 2.467 MB / 4.349 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004769/9.81, allocations: 1.147 MB / 4.35 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002168/9.812, allocations: 202.3 kB / 4.351 GB, free: 68.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009044/9.821, allocations: 6.343 MB / 4.357 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/9.821, allocations: 12.16 kB / 4.357 GB, free: 65.65 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05796/9.879, allocations: 25.91 MB / 4.382 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003904/9.883, allocations: 1.22 MB / 4.383 GB, free: 58.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/9.884, allocations: 58.75 kB / 4.383 GB, free: 58.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009668/9.894, allocations: 1.979 MB / 4.385 GB, free: 58.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/9.895, allocations: 329.6 kB / 4.386 GB, free: 58.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007672/9.896, allocations: 199 kB / 4.386 GB, free: 58.13 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003964/9.896, allocations: 355.3 kB / 4.386 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/9.896, allocations: 0 / 4.386 GB, free: 57.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009887/9.906, allocations: 2.632 MB / 4.389 GB, free: 57.84 MB / 0.5261 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 () * 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.006041/9.912, allocations: 1.309 MB / 4.39 GB, free: 57.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.06203/9.974, allocations: 27.44 MB / 4.417 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/9.975, allocations: 3.312 kB / 4.417 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0211/9.996, allocations: 9.478 MB / 4.426 GB, free: 48.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003773/9.999, allocations: 469.4 kB / 4.427 GB, free: 48.19 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02576/10.03, allocations: 13.27 MB / 4.439 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000905/10.03, allocations: 1.648 MB / 4.441 GB, free: 36.05 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006551/10.03, allocations: 2.43 MB / 4.443 GB, free: 34.47 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003689/10.04, allocations: 390.7 kB / 4.444 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.082e-06/10.04, allocations: 0 / 4.444 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.4747/10.51, allocations: 252.3 MB / 4.69 GB, free: 15.22 MB / 0.5573 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)