Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.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_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 181 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.908/1.908, 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.001067/0.001067, allocations: 95.09 kB / 262.1 MB, free: 13.85 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5304/0.5304, allocations: 48.77 MB / 358.8 MB, free: 53.1 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.579e-05, allocations: 4 kB / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 60.26 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.466/6.627, allocations: 2.973 GB / 3.447 GB, free: 33.04 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/6.627, allocations: 84.83 kB / 3.447 GB, free: 33 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.384/8.012, allocations: 323.3 MB / 3.763 GB, free: 56.2 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.383e-06/8.012, allocations: 0 / 3.763 GB, free: 56.2 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001071/8.012, allocations: 59.64 kB / 3.763 GB, free: 56.19 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: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 0.049/8.061, allocations: 12.15 MB / 3.775 GB, free: 54.25 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/8.061, allocations: 11.81 kB / 3.775 GB, free: 54.25 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009934/8.071, allocations: 1.011 MB / 3.776 GB, free: 54.09 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0126/8.083, allocations: 3.357 MB / 3.779 GB, free: 53.68 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007468/8.091, allocations: 2.177 MB / 3.781 GB, free: 53.05 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004771/8.096, allocations: 207.2 kB / 3.782 GB, free: 53.04 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05539/8.151, allocations: 28.24 MB / 3.809 GB, free: 50.58 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.033/8.184, allocations: 14.11 MB / 3.823 GB, free: 42.72 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001456/8.184, allocations: 2.25 kB / 3.823 GB, free: 42.72 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005246/8.19, allocations: 0 / 3.823 GB, free: 42.72 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/8.19, allocations: 178.4 kB / 3.823 GB, free: 42.55 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.3984/8.588, allocations: 71.99 MB / 3.893 GB, free: 62.94 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02284/8.611, allocations: 11.36 MB / 3.904 GB, free: 62.9 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02497/8.636, allocations: 9.938 MB / 3.914 GB, free: 62.88 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1794/8.816, allocations: 75.85 MB / 3.988 GB, free: 35.89 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.189e-05/8.816, allocations: 77.88 kB / 3.988 GB, free: 35.85 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=371): time 7.895e-06/8.816, allocations: 0 / 3.988 GB, free: 35.85 MB / 0.5421 GB Notification: Performance of matching and sorting (n=373): time 0.1194/8.935, allocations: 38.81 MB / 4.026 GB, free: 23.39 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/8.935, allocations: 89.17 kB / 4.026 GB, free: 23.32 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/8.936, allocations: 484.3 kB / 4.027 GB, free: 23.09 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.004222/8.94, allocations: 29.52 kB / 4.027 GB, free: 23.05 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004686/8.941, allocations: 0.8067 MB / 4.028 GB, free: 22.57 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.005067/8.946, allocations: 1.231 MB / 4.029 GB, free: 21.6 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004245/8.95, allocations: 3.469 kB / 4.029 GB, free: 21.6 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0004811/8.951, allocations: 480.8 kB / 4.029 GB, free: 21.21 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01655/8.967, allocations: 10.38 MB / 4.039 GB, free: 16.91 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01589/8.983, allocations: 10.75 MB / 4.05 GB, free: 12.28 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6698/9.653, allocations: 119.4 MB / 4.166 GB, free: 77.12 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/9.653, allocations: 3.844 kB / 4.167 GB, free: 77.12 MB / 0.5421 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.2483/9.901, allocations: 74.91 MB / 4.24 GB, free: 46.54 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005979/9.902, allocations: 2.197 MB / 4.242 GB, free: 44.22 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.946e-05/9.902, allocations: 15.7 kB / 4.242 GB, free: 44.21 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.5108/10.41, allocations: 88.05 MB / 4.328 GB, free: 81.15 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/10.42, allocations: 0.5562 MB / 4.328 GB, free: 81.14 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05925/10.48, allocations: 42.95 MB / 4.37 GB, free: 70.46 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02461/10.5, allocations: 4.368 MB / 4.375 GB, free: 70.14 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005868/10.51, allocations: 0.6352 MB / 4.375 GB, free: 70.05 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/10.51, allocations: 3.875 kB / 4.375 GB, free: 70.05 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2425/10.75, allocations: 74.41 MB / 4.448 GB, free: 32.23 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.222e-05/10.75, allocations: 4.781 kB / 4.448 GB, free: 32.23 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4944/11.24, allocations: 88.91 MB / 4.535 GB, free: 80.46 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/11.25, allocations: 0.5349 MB / 4.535 GB, free: 80.45 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05965/11.31, allocations: 42.96 MB / 4.577 GB, free: 68.91 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02408/11.33, allocations: 4.354 MB / 4.581 GB, free: 68.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005777/11.34, allocations: 0.6187 MB / 4.582 GB, free: 68.51 MB / 0.5421 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,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 (251): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.008495/11.34, allocations: 168.3 kB / 4.582 GB, free: 68.4 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003355/11.35, allocations: 174.6 kB / 4.582 GB, free: 68.4 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06282/11.41, allocations: 28.74 MB / 4.61 GB, free: 57.91 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05531/11.47, allocations: 25.57 MB / 4.635 GB, free: 37.42 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.246e-05/11.47, allocations: 14.14 kB / 4.635 GB, free: 37.41 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001493/11.47, allocations: 20.12 kB / 4.635 GB, free: 37.41 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4122/11.88, allocations: 65.96 MB / 4.7 GB, free: 78.25 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/11.88, allocations: 9.125 kB / 4.7 GB, free: 78.25 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02762/11.91, allocations: 5.694 MB / 4.705 GB, free: 78.25 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005115/11.91, allocations: 1.626 MB / 4.707 GB, free: 78.11 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005456/11.92, allocations: 0.6049 MB / 4.708 GB, free: 78.11 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02178/11.94, allocations: 29.66 MB / 4.737 GB, free: 55.38 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-05/11.94, allocations: 17.06 kB / 4.737 GB, free: 55.38 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07376/12.01, allocations: 34.49 MB / 4.77 GB, free: 42.56 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008243/12.02, allocations: 2.418 MB / 4.773 GB, free: 41.71 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005203/12.03, allocations: 44.92 kB / 4.773 GB, free: 41.71 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02366/12.05, allocations: 4.324 MB / 4.777 GB, free: 41.68 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005495/12.05, allocations: 0.8748 MB / 4.778 GB, free: 41.59 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004963/12.06, allocations: 0.6337 MB / 4.778 GB, free: 41.51 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0005198/12.06, allocations: 354.4 kB / 4.779 GB, free: 41.33 MB / 0.5421 GB Notification: Performance of sort global known variables: time 3.1e-07/12.06, allocations: 0 / 4.779 GB, free: 41.33 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.02657/12.09, allocations: 4.528 MB / 4.783 GB, free: 41.26 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,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],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 42 ($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.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.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.region3boundary,$cse23.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 23 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01175/12.1, allocations: 1.356 MB / 4.784 GB, free: 41.06 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.06655/12.16, allocations: 36.66 MB / 4.82 GB, free: 26.65 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.768e-05/12.16, allocations: 8.422 kB / 4.82 GB, free: 26.64 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.02384/12.19, allocations: 14.74 MB / 4.835 GB, free: 18.25 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007574/12.2, allocations: 0.6688 MB / 4.835 GB, free: 17.82 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03602/12.23, allocations: 17.29 MB / 4.852 GB, free: 4.527 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/12.23, allocations: 2.436 MB / 4.855 GB, free: 2.629 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.3144/12.55, allocations: 23.14 MB / 4.877 GB, free: 89.61 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01204/12.56, allocations: 1.227 MB / 4.878 GB, free: 89.6 MB / 0.5577 GB Notification: Performance of SimCode: time 1.493e-06/12.56, allocations: 0 / 4.878 GB, free: 89.6 MB / 0.5577 GB Notification: Performance of Templates: time 1.154/13.71, allocations: 0.5091 GB / 5.387 GB, free: 97.23 MB / 0.5733 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe 2>&1)