Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 180.4 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.847/1.847, 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.001044/0.001044, allocations: 99.06 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5163/0.5163, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003648, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1415, allocations: 60.25 MB / 498.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.085/7.227, allocations: 2.943 GB / 3.43 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/7.227, allocations: 84.33 kB / 3.43 GB, free: 81.26 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.591/8.819, allocations: 379.1 MB / 3.8 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.014e-06/8.819, allocations: 0 / 3.8 GB, free: 57.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002818/8.819, allocations: 97.44 kB / 3.8 GB, free: 57.8 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: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.03777/8.857, allocations: 10.2 MB / 3.81 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/8.857, allocations: 11.77 kB / 3.81 GB, free: 56.12 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007953/8.865, allocations: 0.7879 MB / 3.811 GB, free: 55.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01379/8.879, allocations: 2.972 MB / 3.814 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008393/8.88, allocations: 406.1 kB / 3.814 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006131/8.886, allocations: 0.5144 MB / 3.815 GB, free: 55.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04712/8.933, allocations: 12.13 MB / 3.827 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004558/8.934, allocations: 0 / 3.827 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00483/8.938, allocations: 221.2 kB / 3.827 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002479/8.939, allocations: 205.2 kB / 3.827 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06841/9.007, allocations: 14.16 MB / 3.841 GB, free: 47.01 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.06026/9.067, allocations: 24.49 MB / 3.865 GB, free: 30.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01394/9.081, allocations: 4.824 MB / 3.87 GB, free: 27.54 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.531/9.612, allocations: 63.76 MB / 3.932 GB, free: 57.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/9.613, allocations: 62.22 kB / 3.932 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=257): time 5.51e-06/9.613, allocations: 0 / 3.932 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=257): time 0.1111/9.724, allocations: 23.25 MB / 3.955 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/9.724, allocations: 80.47 kB / 3.955 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008028/9.732, allocations: 3.571 MB / 3.958 GB, free: 57.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001822/9.734, allocations: 71.3 kB / 3.958 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002699/9.737, allocations: 3.146 MB / 3.961 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003188/9.74, allocations: 1.035 MB / 3.962 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00243/9.742, allocations: 176.1 kB / 3.962 GB, free: 54.63 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001271/9.743, allocations: 0.7222 MB / 3.963 GB, free: 54.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009336/9.753, allocations: 3.879 MB / 3.967 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01596/9.769, allocations: 8.939 MB / 3.976 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/9.781, allocations: 5.508 MB / 3.981 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006706/9.782, allocations: 51.19 kB / 3.981 GB, free: 47.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.05759/9.839, allocations: 17.57 MB / 3.998 GB, free: 46.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.03533/9.875, allocations: 70.23 MB / 4.067 GB, free: 20.53 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00115/9.876, allocations: 176.5 kB / 4.067 GB, free: 20.53 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.053/9.929, allocations: 12.58 MB / 4.079 GB, free: 19.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0067/9.936, allocations: 1.683 MB / 4.081 GB, free: 19.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/9.968, allocations: 10.34 MB / 4.091 GB, free: 15.94 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01519/9.983, allocations: 1.312 MB / 4.092 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005649/9.989, allocations: 0.6425 MB / 4.093 GB, free: 15.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/9.989, allocations: 3.375 kB / 4.093 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05621/10.05, allocations: 17.11 MB / 4.11 GB, free: 9.438 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008289/10.05, allocations: 176.9 kB / 4.11 GB, free: 9.438 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05057/10.1, allocations: 12.58 MB / 4.122 GB, free: 5.117 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006135/10.1, allocations: 1.666 MB / 4.124 GB, free: 3.648 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5247/10.63, allocations: 10.36 MB / 4.134 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/10.64, allocations: 0.9888 MB / 4.135 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00411/10.64, allocations: 0.6327 MB / 4.135 GB, free: 104.2 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (903): * Single equations (assignments): 902 * 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 {13 187} Notification: Performance of prepare postOptimizeDAE: time 0.009424/10.65, allocations: 1.854 MB / 4.137 GB, free: 104 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002621/10.66, allocations: 362.1 kB / 4.138 GB, free: 103.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07245/10.73, allocations: 32.07 MB / 4.169 GB, free: 103.3 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001574/10.73, allocations: 70.38 kB / 4.169 GB, free: 103.3 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.978e-05/10.73, allocations: 7.047 kB / 4.169 GB, free: 103.3 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002029/10.73, allocations: 14.95 kB / 4.169 GB, free: 103.3 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1071/10.84, allocations: 43.95 MB / 4.212 GB, free: 86.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.401e-05/10.84, allocations: 0 / 4.212 GB, free: 86.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003606/10.84, allocations: 391.6 kB / 4.212 GB, free: 86.88 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03871/10.88, allocations: 8.353 MB / 4.22 GB, free: 86.09 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002812/10.88, allocations: 125.1 kB / 4.221 GB, free: 86.05 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08348/10.96, allocations: 31.91 MB / 4.252 GB, free: 74.82 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/10.97, allocations: 3.953 kB / 4.252 GB, free: 74.81 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05399/11.02, allocations: 15.46 MB / 4.267 GB, free: 70.08 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005015/11.02, allocations: 0.9353 MB / 4.268 GB, free: 69.55 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002658/11.03, allocations: 88.47 kB / 4.268 GB, free: 69.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005738/11.03, allocations: 302.9 kB / 4.268 GB, free: 69.45 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003206/11.04, allocations: 246 kB / 4.268 GB, free: 69.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001565/11.04, allocations: 104.1 kB / 4.268 GB, free: 69.41 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005471/11.04, allocations: 2.344 MB / 4.271 GB, free: 68.15 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.71e-07/11.04, allocations: 0 / 4.271 GB, free: 68.15 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02981/11.07, allocations: 3.394 MB / 4.274 GB, free: 64.86 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.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.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.0124/11.09, allocations: 1.41 MB / 4.275 GB, free: 63.94 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04854/11.13, allocations: 17.18 MB / 4.292 GB, free: 49.66 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/11.13, allocations: 4 kB / 4.292 GB, free: 49.66 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01516/11.15, allocations: 4.791 MB / 4.297 GB, free: 45.66 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005634/11.15, allocations: 0.6789 MB / 4.298 GB, free: 45.14 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03329/11.19, allocations: 13.74 MB / 4.311 GB, free: 33.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005073/11.19, allocations: 2.867 MB / 4.314 GB, free: 31.21 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01452/11.21, allocations: 5.294 MB / 4.319 GB, free: 28.02 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/11.21, allocations: 284.3 kB / 4.319 GB, free: 27.77 MB / 0.573 GB Notification: Performance of SimCode: time 2.234e-06/11.21, allocations: 4 kB / 4.319 GB, free: 27.77 MB / 0.573 GB Notification: Performance of Templates: time 0.7395/11.95, allocations: 177.9 MB / 4.493 GB, free: 45.21 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe 2>&1)