Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001828/0.001828, allocations: 175.7 kB / 17.4 MB, free: 4.422 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.911/1.911, allocations: 205.4 MB / 223.5 MB, free: 8.938 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.0008307/0.0008306, allocations: 92.92 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4462/0.4462, allocations: 48.78 MB / 369 MB, free: 47.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003842, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.423/6.562, allocations: 2.943 GB / 3.431 GB, free: 77.26 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003555/6.562, allocations: 83.36 kB / 3.431 GB, free: 77.22 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.418/7.981, allocations: 378.1 MB / 3.801 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.705e-06/7.981, allocations: 3.906 kB / 3.801 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003312/7.981, allocations: 97.53 kB / 3.801 GB, free: 57.59 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: 1363 * Number of variables: 1363 Notification: Performance of Generate backend data structure: time 0.04077/8.022, allocations: 10.07 MB / 3.81 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/8.022, allocations: 15.53 kB / 3.811 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007952/8.03, allocations: 0.7891 MB / 3.811 GB, free: 55.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01375/8.044, allocations: 2.955 MB / 3.814 GB, free: 54.39 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006275/8.044, allocations: 392.6 kB / 3.815 GB, free: 54.21 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004965/8.049, allocations: 0.5118 MB / 3.815 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04097/8.09, allocations: 12.04 MB / 3.827 GB, free: 49.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003442/8.091, allocations: 3.938 kB / 3.827 GB, free: 49.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00431/8.095, allocations: 212.6 kB / 3.827 GB, free: 49.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002624/8.095, allocations: 202.2 kB / 3.827 GB, free: 49.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06004/8.155, allocations: 14.05 MB / 3.841 GB, free: 45.87 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.05143/8.207, allocations: 24.02 MB / 3.864 GB, free: 28.18 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0124/8.219, allocations: 4.494 MB / 3.869 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004527/8.224, allocations: 2 MB / 3.871 GB, free: 23.19 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5169/8.741, allocations: 63.75 MB / 3.933 GB, free: 55.92 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.51e-05/8.741, allocations: 63.25 kB / 3.933 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=245): time 4.328e-06/8.741, allocations: 0 / 3.933 GB, free: 55.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=245): time 0.1022/8.843, allocations: 22.73 MB / 3.955 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.813e-05/8.843, allocations: 76.12 kB / 3.955 GB, free: 55.55 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/8.854, allocations: 3.995 MB / 3.959 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001968/8.856, allocations: 70.39 kB / 3.959 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003534/8.86, allocations: 3.16 MB / 3.962 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003385/8.863, allocations: 0.9951 MB / 3.963 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/8.865, allocations: 175.1 kB / 3.963 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008294/8.865, allocations: 0.7142 MB / 3.964 GB, free: 52.52 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009872/8.875, allocations: 3.751 MB / 3.968 GB, free: 52.49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01519/8.891, allocations: 8.917 MB / 3.977 GB, free: 45.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02219/8.913, allocations: 13.31 MB / 3.99 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004717/8.913, allocations: 53.53 kB / 3.99 GB, free: 38.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.04232/8.956, allocations: 14.74 MB / 4.004 GB, free: 37.08 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.005438/8.961, allocations: 5.393 MB / 4.009 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007216/8.962, allocations: 177 kB / 4.009 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03703/8.999, allocations: 10.21 MB / 4.019 GB, free: 29.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00628/9.005, allocations: 1.762 MB / 4.021 GB, free: 29.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02294/9.028, allocations: 8.962 MB / 4.03 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/9.038, allocations: 1.312 MB / 4.031 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003103/9.041, allocations: 0.6433 MB / 4.032 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/9.042, allocations: 6.984 kB / 4.032 GB, free: 25.38 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03783/9.079, allocations: 14.25 MB / 4.046 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007895/9.08, allocations: 183.6 kB / 4.046 GB, free: 20.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.035/9.115, allocations: 10.21 MB / 4.056 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006929/9.122, allocations: 1.746 MB / 4.058 GB, free: 16.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/9.144, allocations: 8.965 MB / 4.066 GB, free: 8.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008656/9.153, allocations: 0.9819 MB / 4.067 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002726/9.156, allocations: 0.6367 MB / 4.068 GB, free: 7.305 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * 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 (949): * Single equations (assignments): 948 * 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 141} Notification: Performance of prepare postOptimizeDAE: time 0.00771/9.164, allocations: 1.853 MB / 4.07 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001996/9.166, allocations: 360.8 kB / 4.07 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08387/9.25, allocations: 32.97 MB / 4.102 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/9.25, allocations: 75.11 kB / 4.102 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.845e-05/9.25, allocations: 0 / 4.102 GB, free: 1.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001175/9.25, allocations: 14.95 kB / 4.102 GB, free: 1.621 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4508/9.701, allocations: 42.43 MB / 4.144 GB, free: 69.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.429e-05/9.701, allocations: 7.25 kB / 4.144 GB, free: 69.24 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/9.704, allocations: 414.1 kB / 4.144 GB, free: 69.24 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02948/9.733, allocations: 6.934 MB / 4.151 GB, free: 69.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00176/9.735, allocations: 123.6 kB / 4.151 GB, free: 69.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05647/9.792, allocations: 27.05 MB / 4.177 GB, free: 59.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-06/9.792, allocations: 2.5 kB / 4.177 GB, free: 59.69 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03616/9.828, allocations: 13.87 MB / 4.191 GB, free: 55.33 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004444/9.832, allocations: 0.8985 MB / 4.192 GB, free: 54.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002525/9.835, allocations: 89.86 kB / 4.192 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004972/9.84, allocations: 287.8 kB / 4.192 GB, free: 54.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00272/9.843, allocations: 235.7 kB / 4.192 GB, free: 54.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001261/9.844, allocations: 100.2 kB / 4.193 GB, free: 54.75 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005112/9.849, allocations: 2.33 MB / 4.195 GB, free: 54.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.864e-06/9.849, allocations: 0 / 4.195 GB, free: 54.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02628/9.875, allocations: 3.326 MB / 4.198 GB, free: 53.66 MB / 0.5417 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 (166): * Single equations (assignments): 151 * 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 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.01103/9.887, allocations: 1.412 MB / 4.199 GB, free: 53.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04116/9.928, allocations: 16.22 MB / 4.215 GB, free: 48.93 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/9.928, allocations: 0 / 4.215 GB, free: 48.93 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01318/9.941, allocations: 4.27 MB / 4.219 GB, free: 47.25 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008035/9.949, allocations: 0.6951 MB / 4.22 GB, free: 47 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03013/9.979, allocations: 13.37 MB / 4.233 GB, free: 41.43 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005274/9.985, allocations: 2.748 MB / 4.236 GB, free: 40.44 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01689/10, allocations: 5.87 MB / 4.242 GB, free: 38.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001963/10, allocations: 296.1 kB / 4.242 GB, free: 38.68 MB / 0.5417 GB Notification: Performance of SimCode: time 1.253e-06/10, allocations: 0 / 4.242 GB, free: 38.68 MB / 0.5417 GB Notification: Performance of Templates: time 0.6643/10.67, allocations: 172.3 MB / 4.41 GB, free: 75.57 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_C.pipe 2>&1)