Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 175.5 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.681/1.681, 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.0008881/0.0008885, allocations: 86.66 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3342/0.3342, allocations: 48.77 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.522e-05, allocations: 4 kB / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.152, allocations: 60.24 MB / 492.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.759/7.911, allocations: 2.957 GB / 3.438 GB, free: 58.51 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/7.911, allocations: 83.38 kB / 3.438 GB, free: 58.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.551/9.462, allocations: 366.7 MB / 3.796 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.787e-06/9.463, allocations: 0 / 3.796 GB, free: 69.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001177/9.463, allocations: 53.38 kB / 3.796 GB, free: 69.72 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.01939/9.482, allocations: 4.485 MB / 3.801 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/9.482, allocations: 7.438 kB / 3.801 GB, free: 68.25 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00611/9.488, allocations: 0.8216 MB / 3.801 GB, free: 67.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007644/9.496, allocations: 1.817 MB / 3.803 GB, free: 67.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/9.496, allocations: 210 kB / 3.803 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001417/9.498, allocations: 311.3 kB / 3.804 GB, free: 66.99 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/9.519, allocations: 8.652 MB / 3.812 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.87e-05/9.519, allocations: 4 kB / 3.812 GB, free: 63.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003352/9.519, allocations: 112.4 kB / 3.812 GB, free: 63.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/9.519, allocations: 158.4 kB / 3.812 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02252/9.542, allocations: 10.23 MB / 3.822 GB, free: 60.59 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.03113/9.573, allocations: 19.17 MB / 3.841 GB, free: 46.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/9.589, allocations: 6.47 MB / 3.847 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003505/9.592, allocations: 1.862 MB / 3.849 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5186/10.11, allocations: 64.01 MB / 3.912 GB, free: 79.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/10.11, allocations: 62.28 kB / 3.912 GB, free: 79.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 6.472e-06/10.11, allocations: 1.938 kB / 3.912 GB, free: 79.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.03657/10.15, allocations: 10.56 MB / 3.922 GB, free: 79.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.49e-05/10.15, allocations: 86.22 kB / 3.922 GB, free: 79.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/10.15, allocations: 0.5417 MB / 3.923 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001303/10.15, allocations: 75.67 kB / 3.923 GB, free: 79.41 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000683/10.15, allocations: 0.8168 MB / 3.924 GB, free: 79.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00202/10.15, allocations: 0.9541 MB / 3.925 GB, free: 78.65 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009499/10.15, allocations: 52.25 kB / 3.925 GB, free: 78.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004249/10.15, allocations: 454.6 kB / 3.925 GB, free: 78.34 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004616/10.16, allocations: 2.768 MB / 3.928 GB, free: 78.33 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/10.16, allocations: 3.12 MB / 3.931 GB, free: 78.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/10.17, allocations: 2.899 MB / 3.934 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.345e-05/10.17, allocations: 2.625 kB / 3.934 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.01583/10.18, allocations: 9.448 MB / 3.943 GB, free: 77.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004898/10.18, allocations: 2.277 MB / 3.945 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/10.18, allocations: 7.156 kB / 3.945 GB, free: 75.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01884/10.2, allocations: 8.149 MB / 3.953 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/10.21, allocations: 270.5 kB / 3.953 GB, free: 75.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02138/10.23, allocations: 9.551 MB / 3.963 GB, free: 74.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005848/10.23, allocations: 484.3 kB / 3.963 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00158/10.23, allocations: 334.5 kB / 3.963 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/10.23, allocations: 0 / 3.963 GB, free: 74.64 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02068/10.25, allocations: 9.259 MB / 3.972 GB, free: 74.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.536e-05/10.26, allocations: 6.969 kB / 3.972 GB, free: 74.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01894/10.27, allocations: 8.151 MB / 3.98 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/10.28, allocations: 266.5 kB / 3.981 GB, free: 72.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02376/10.3, allocations: 9.551 MB / 3.99 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/10.3, allocations: 459.8 kB / 3.99 GB, free: 69.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/10.31, allocations: 329.7 kB / 3.991 GB, free: 68.98 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 145 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.002343/10.31, allocations: 242.5 kB / 3.991 GB, free: 68.79 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001463/10.31, allocations: 146.9 kB / 3.991 GB, free: 68.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04787/10.36, allocations: 42.75 MB / 4.033 GB, free: 44.32 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001171/10.36, allocations: 91.64 kB / 4.033 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.609e-05/10.36, allocations: 16 kB / 4.033 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/10.36, allocations: 16.97 kB / 4.033 GB, free: 44.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/10.38, allocations: 18.09 MB / 4.051 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.587e-05/10.38, allocations: 0 / 4.051 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004442/10.38, allocations: 0.6129 MB / 4.051 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/10.39, allocations: 2.637 MB / 4.054 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001589/10.39, allocations: 101.9 kB / 4.054 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02432/10.42, allocations: 13.92 MB / 4.067 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/10.42, allocations: 0 / 4.067 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02588/10.44, allocations: 12.16 MB / 4.079 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00345/10.45, allocations: 0.7538 MB / 4.08 GB, free: 1.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/10.45, allocations: 71.41 kB / 4.08 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004373/10.45, allocations: 313 kB / 4.08 GB, free: 1.668 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001457/10.45, allocations: 197 kB / 4.081 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008401/10.46, allocations: 101 kB / 4.081 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006934/10.46, allocations: 413.4 kB / 4.081 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.515e-06/10.46, allocations: 0 / 4.081 GB, free: 1.113 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0164/10.47, allocations: 3.027 MB / 4.084 GB, free: 14.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (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],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: 44 ($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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/10.48, allocations: 1.423 MB / 4.085 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.4034/10.89, allocations: 11.89 MB / 4.097 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/10.89, allocations: 0 / 4.097 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/10.9, allocations: 4.256 MB / 4.101 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004839/10.9, allocations: 0.7356 MB / 4.102 GB, free: 100.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01774/10.92, allocations: 8.191 MB / 4.11 GB, free: 99.01 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002692/10.92, allocations: 2.267 MB / 4.112 GB, free: 98.26 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004587/10.93, allocations: 1.491 MB / 4.114 GB, free: 98.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/10.93, allocations: 150.7 kB / 4.114 GB, free: 98.22 MB / 0.5417 GB Notification: Performance of SimCode: time 1.463e-06/10.93, allocations: 0 / 4.114 GB, free: 98.22 MB / 0.5417 GB Notification: Performance of Templates: time 0.2238/11.15, allocations: 181.3 MB / 4.291 GB, free: 15.07 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)