Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002154/0.002154, 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.757/1.757, allocations: 205.2 MB / 219.4 MB, free: 14.26 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.0008905/0.0008907, allocations: 94.62 kB / 267.5 MB, free: 14.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3185/0.3185, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.322e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1255, allocations: 60.25 MB / 492.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.91/8.036, allocations: 2.937 GB / 3.418 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/8.036, allocations: 76.72 kB / 3.418 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.495/9.531, allocations: 306.4 MB / 3.717 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.645e-06/9.531, allocations: 0 / 3.717 GB, free: 80.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000144/9.531, allocations: 91.97 kB / 3.718 GB, free: 80.05 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03664/9.568, allocations: 9.881 MB / 3.727 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/9.568, allocations: 11.72 kB / 3.727 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007338/9.575, allocations: 0.7654 MB / 3.728 GB, free: 77.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/9.588, allocations: 2.904 MB / 3.731 GB, free: 77.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007506/9.589, allocations: 391.3 kB / 3.731 GB, free: 76.95 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005859/9.595, allocations: 0.5042 MB / 3.732 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04572/9.64, allocations: 11.85 MB / 3.743 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005155/9.641, allocations: 0 / 3.743 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004607/9.646, allocations: 208.4 kB / 3.743 GB, free: 70.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002481/9.646, allocations: 203.8 kB / 3.744 GB, free: 70.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05501/9.701, allocations: 13.87 MB / 3.757 GB, free: 63.84 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.05119/9.752, allocations: 24.75 MB / 3.781 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0105/9.763, allocations: 4.437 MB / 3.786 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003409/9.766, allocations: 1.95 MB / 3.788 GB, free: 33.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5568/10.32, allocations: 63.97 MB / 3.85 GB, free: 79.52 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/10.32, allocations: 62.33 kB / 3.85 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=240): time 8.626e-06/10.32, allocations: 3.375 kB / 3.85 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=240): time 0.05042/10.37, allocations: 11.42 MB / 3.861 GB, free: 79.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.657e-05/10.37, allocations: 77.75 kB / 3.861 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006095/10.38, allocations: 3.526 MB / 3.865 GB, free: 78.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001679/10.38, allocations: 69.86 kB / 3.865 GB, free: 78.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002328/10.38, allocations: 3.134 MB / 3.868 GB, free: 77.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002499/10.39, allocations: 0.9796 MB / 3.869 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007699/10.39, allocations: 168.8 kB / 3.869 GB, free: 76.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005865/10.39, allocations: 0.7188 MB / 3.87 GB, free: 76.25 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005797/10.39, allocations: 3.643 MB / 3.873 GB, free: 76.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009396/10.4, allocations: 8.764 MB / 3.882 GB, free: 69.62 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/10.41, allocations: 5.324 MB / 3.887 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004986/10.41, allocations: 54.05 kB / 3.887 GB, free: 69.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04041/10.45, allocations: 14.9 MB / 3.902 GB, free: 68.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.02196/10.48, allocations: 71.36 MB / 3.971 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006936/10.48, allocations: 179.9 kB / 3.971 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03632/10.51, allocations: 9.971 MB / 3.981 GB, free: 9.961 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005994/10.52, allocations: 1.741 MB / 3.983 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/10.54, allocations: 8.926 MB / 3.992 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009618/10.55, allocations: 1.293 MB / 3.993 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002736/10.55, allocations: 0.6415 MB / 3.994 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/10.55, allocations: 3.438 kB / 3.994 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03682/10.59, allocations: 14.43 MB / 4.008 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009053/10.59, allocations: 178.3 kB / 4.008 GB, free: 2.203 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0433/10.63, allocations: 10.55 MB / 4.018 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006561/10.64, allocations: 1.739 MB / 4.02 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02282/10.66, allocations: 8.926 MB / 4.029 GB, free: 6.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/10.67, allocations: 0.9632 MB / 4.029 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003759/10.68, allocations: 0.6331 MB / 4.03 GB, free: 5.059 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (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 (943): * Single equations (assignments): 942 * 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 142} Notification: Performance of prepare postOptimizeDAE: time 0.005264/10.68, allocations: 0.7217 MB / 4.031 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/10.68, allocations: 351.5 kB / 4.031 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5409/11.23, allocations: 34.14 MB / 4.064 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001242/11.23, allocations: 62.97 kB / 4.065 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/11.23, allocations: 1.156 kB / 4.065 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001058/11.23, allocations: 15.47 kB / 4.065 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06729/11.29, allocations: 42.64 MB / 4.106 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-05/11.29, allocations: 0 / 4.106 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/11.3, allocations: 403.3 kB / 4.107 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02902/11.33, allocations: 6.951 MB / 4.113 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001902/11.33, allocations: 119.7 kB / 4.113 GB, free: 100 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06734/11.39, allocations: 28.19 MB / 4.141 GB, free: 89.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/11.39, allocations: 3.953 kB / 4.141 GB, free: 89.22 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03904/11.43, allocations: 13.47 MB / 4.154 GB, free: 85.08 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003683/11.44, allocations: 0.8841 MB / 4.155 GB, free: 84.64 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/11.44, allocations: 81.78 kB / 4.155 GB, free: 84.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00494/11.44, allocations: 271.4 kB / 4.155 GB, free: 84.55 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00327/11.45, allocations: 241.2 kB / 4.156 GB, free: 84.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001715/11.45, allocations: 95.75 kB / 4.156 GB, free: 84.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005724/11.46, allocations: 2.29 MB / 4.158 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.51e-07/11.46, allocations: 3.938 kB / 4.158 GB, free: 83.84 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02649/11.48, allocations: 3.279 MB / 4.161 GB, free: 81.82 MB / 0.5573 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: 24 ($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.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.009518/11.49, allocations: 1.306 MB / 4.162 GB, free: 80.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0332/11.52, allocations: 15.89 MB / 4.178 GB, free: 67.51 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/11.52, allocations: 6.312 kB / 4.178 GB, free: 67.51 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01106/11.54, allocations: 4.184 MB / 4.182 GB, free: 63.84 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005448/11.54, allocations: 0.6169 MB / 4.183 GB, free: 63.36 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/11.56, allocations: 9.708 MB / 4.192 GB, free: 55.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003395/11.57, allocations: 2.762 MB / 4.195 GB, free: 53.17 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01408/11.58, allocations: 5.802 MB / 4.2 GB, free: 49.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001425/11.58, allocations: 289.4 kB / 4.201 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of SimCode: time 2.014e-06/11.58, allocations: 0 / 4.201 GB, free: 49.55 MB / 0.5573 GB Notification: Performance of Templates: time 0.6404/12.22, allocations: 169.6 MB / 4.366 GB, free: 75.92 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)