Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 174.9 kB / 13.63 MB, free: 1.684 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.92/1.92, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001121/0.001121, allocations: 78.78 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3737/0.3737, allocations: 48.79 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 5.112e-05/5.114e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1661, allocations: 60.26 MB / 492.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.808/7.974, allocations: 2.979 GB / 3.46 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/7.975, allocations: 85.94 kB / 3.46 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.9825/8.957, allocations: 300.3 MB / 3.754 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.382e-06/8.957, allocations: 1.031 kB / 3.754 GB, free: 58.88 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.313e-05/8.957, allocations: 41 kB / 3.754 GB, free: 58.84 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.02388/8.981, allocations: 5.794 MB / 3.759 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.16e-05/8.981, allocations: 8.031 kB / 3.759 GB, free: 53.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005489/8.987, allocations: 0.559 MB / 3.76 GB, free: 52.64 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006205/8.993, allocations: 1.755 MB / 3.762 GB, free: 51.26 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003428/8.996, allocations: 1.074 MB / 3.763 GB, free: 50.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/8.999, allocations: 175.4 kB / 3.763 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02285/9.022, allocations: 8.888 MB / 3.772 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-05/9.022, allocations: 3.25 kB / 3.772 GB, free: 43.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00221/9.024, allocations: 72 kB / 3.772 GB, free: 43.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.732e-05/9.024, allocations: 87.47 kB / 3.772 GB, free: 43.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03024/9.054, allocations: 13.81 MB / 3.785 GB, free: 29.66 MB / 0.5105 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.3231/9.377, allocations: 33.63 MB / 3.818 GB, free: 69.26 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01555/9.393, allocations: 6.71 MB / 3.825 GB, free: 69.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008299/9.401, allocations: 4.512 MB / 3.829 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1323/9.534, allocations: 75.8 MB / 3.903 GB, free: 25.56 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/9.534, allocations: 55.11 kB / 3.903 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=192): time 4.628e-06/9.534, allocations: 4 kB / 3.903 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=193): time 0.04576/9.58, allocations: 19.05 MB / 3.922 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/9.58, allocations: 72.38 kB / 3.922 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005176/9.58, allocations: 461 kB / 3.922 GB, free: 23.59 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007183/9.581, allocations: 61.44 kB / 3.922 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/9.581, allocations: 0.5149 MB / 3.923 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009506/9.582, allocations: 0.6676 MB / 3.923 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006439/9.583, allocations: 31.72 kB / 3.924 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001299/9.583, allocations: 419.9 kB / 3.924 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006459/9.589, allocations: 4.814 MB / 3.929 GB, free: 20.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006627/9.596, allocations: 5.053 MB / 3.934 GB, free: 18.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005227/9.601, allocations: 3.663 MB / 3.937 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/9.601, allocations: 3.312 kB / 3.937 GB, free: 16.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.0723/9.674, allocations: 28.35 MB / 3.965 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002529/9.674, allocations: 1.317 MB / 3.966 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/9.674, allocations: 4 kB / 3.966 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4097/10.08, allocations: 51.98 MB / 4.017 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/10.09, allocations: 320.1 kB / 4.017 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02862/10.11, allocations: 14.24 MB / 4.031 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01063/10.12, allocations: 2.014 MB / 4.033 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/10.13, allocations: 312.8 kB / 4.033 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/10.13, allocations: 7.406 kB / 4.033 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07326/10.2, allocations: 28.19 MB / 4.061 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/10.2, allocations: 3.5 kB / 4.061 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.129/10.33, allocations: 50.36 MB / 4.11 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001583/10.33, allocations: 310.6 kB / 4.11 GB, free: 101.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03074/10.36, allocations: 14.24 MB / 4.124 GB, free: 93.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01058/10.37, allocations: 2.006 MB / 4.126 GB, free: 92.26 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002034/10.37, allocations: 306.4 kB / 4.126 GB, free: 92.1 MB / 0.5417 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.003293/10.38, allocations: 204.2 kB / 4.127 GB, free: 91.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/10.38, allocations: 106.6 kB / 4.127 GB, free: 91.86 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.034/10.41, allocations: 28.43 MB / 4.155 GB, free: 67.65 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03195/10.44, allocations: 26.84 MB / 4.181 GB, free: 44.05 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.418e-05/10.44, allocations: 8 kB / 4.181 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-05/10.44, allocations: 11.02 kB / 4.181 GB, free: 44.04 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3146/10.76, allocations: 48.07 MB / 4.228 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/10.76, allocations: 7.297 kB / 4.228 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01259/10.77, allocations: 2.474 MB / 4.23 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004275/10.78, allocations: 1.143 MB / 4.231 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008869/10.78, allocations: 202.8 kB / 4.231 GB, free: 104 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008836/10.79, allocations: 6.042 MB / 4.237 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/10.79, allocations: 9.75 kB / 4.237 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02544/10.81, allocations: 15.4 MB / 4.252 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00339/10.81, allocations: 1.225 MB / 4.254 GB, free: 99.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009756/10.82, allocations: 57.06 kB / 4.254 GB, free: 99.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009639/10.83, allocations: 1.975 MB / 4.256 GB, free: 99.76 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/10.83, allocations: 329 kB / 4.256 GB, free: 99.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008499/10.83, allocations: 203.8 kB / 4.256 GB, free: 99.71 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004811/10.83, allocations: 350.1 kB / 4.256 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.41e-07/10.83, allocations: 3.938 kB / 4.256 GB, free: 99.55 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01107/10.84, allocations: 2.628 MB / 4.259 GB, free: 99.43 MB / 0.5417 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.00703/10.85, allocations: 1.318 MB / 4.26 GB, free: 99.27 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02768/10.87, allocations: 16.92 MB / 4.277 GB, free: 92.64 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/10.87, allocations: 1.219 kB / 4.277 GB, free: 92.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009347/10.88, allocations: 5.957 MB / 4.283 GB, free: 90.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003027/10.89, allocations: 476.3 kB / 4.283 GB, free: 89.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/10.9, allocations: 8.11 MB / 4.291 GB, free: 87.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/10.9, allocations: 1.649 MB / 4.293 GB, free: 86.58 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00703/10.91, allocations: 2.462 MB / 4.295 GB, free: 86.55 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004334/10.91, allocations: 384 kB / 4.295 GB, free: 86.52 MB / 0.5417 GB Notification: Performance of SimCode: time 2.955e-06/10.91, allocations: 3.781 kB / 4.295 GB, free: 86.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.54/11.45, allocations: 254.7 MB / 4.544 GB, free: 57.45 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1)