Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002506/0.002506, allocations: 181.3 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.982/1.982, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009619/0.0009617, allocations: 90.64 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5297/0.5297, allocations: 48.78 MB / 367.9 MB, free: 47.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1443, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.063/7.208, allocations: 2.943 GB / 3.43 GB, free: 80.85 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/7.208, allocations: 82.95 kB / 3.43 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.674/8.882, allocations: 379.3 MB / 3.8 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.717e-06/8.882, allocations: 0 / 3.8 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002875/8.882, allocations: 92.09 kB / 3.801 GB, free: 58.49 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.0413/8.924, allocations: 10.25 MB / 3.811 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.597e-05/8.924, allocations: 15.2 kB / 3.811 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008814/8.933, allocations: 0.7967 MB / 3.811 GB, free: 56.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01409/8.947, allocations: 3.022 MB / 3.814 GB, free: 55.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008096/8.948, allocations: 403.7 kB / 3.815 GB, free: 55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005565/8.953, allocations: 0.52 MB / 3.815 GB, free: 54.84 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05145/9.005, allocations: 12.14 MB / 3.827 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004427/9.005, allocations: 2.844 kB / 3.827 GB, free: 50.59 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00511/9.01, allocations: 219.2 kB / 3.827 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003135/9.011, allocations: 211.6 kB / 3.827 GB, free: 50.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05916/9.07, allocations: 14.18 MB / 3.841 GB, free: 46.56 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.05296/9.123, allocations: 24.34 MB / 3.865 GB, free: 28.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/9.136, allocations: 4.576 MB / 3.87 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5855/9.721, allocations: 63.75 MB / 3.932 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/9.721, allocations: 60.16 kB / 3.932 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 8.556e-06/9.721, allocations: 0 / 3.932 GB, free: 57.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.1365/9.858, allocations: 25.8 MB / 3.957 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/9.858, allocations: 86.55 kB / 3.957 GB, free: 57.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01157/9.87, allocations: 3.556 MB / 3.961 GB, free: 56.85 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.002581/9.872, allocations: 71.92 kB / 3.961 GB, free: 56.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004246/9.876, allocations: 3.176 MB / 3.964 GB, free: 55.04 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.004081/9.881, allocations: 1.006 MB / 3.965 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/9.882, allocations: 173.2 kB / 3.965 GB, free: 54.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009169/9.883, allocations: 0.7152 MB / 3.966 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009505/9.892, allocations: 3.81 MB / 3.969 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0151/9.907, allocations: 8.857 MB / 3.978 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01415/9.922, allocations: 5.42 MB / 3.983 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007522/9.923, allocations: 58.12 kB / 3.983 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.04204/9.965, allocations: 14.95 MB / 3.998 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.03668/10, allocations: 70.23 MB / 4.067 GB, free: 20.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001504/10, allocations: 178.7 kB / 4.067 GB, free: 20.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04747/10.05, allocations: 11.57 MB / 4.078 GB, free: 19.14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006031/10.06, allocations: 1.714 MB / 4.08 GB, free: 18.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02014/10.08, allocations: 9.786 MB / 4.089 GB, free: 15.65 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/10.09, allocations: 1.317 MB / 4.091 GB, free: 14.92 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003591/10.09, allocations: 0.6389 MB / 4.091 GB, free: 14.82 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/10.09, allocations: 3.938 kB / 4.091 GB, free: 14.82 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03026/10.12, allocations: 14.47 MB / 4.105 GB, free: 9.488 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008408/10.12, allocations: 177.3 kB / 4.105 GB, free: 9.488 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04506/10.17, allocations: 11.57 MB / 4.117 GB, free: 7.645 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006483/10.17, allocations: 1.702 MB / 4.118 GB, free: 7.426 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5167/10.69, allocations: 9.799 MB / 4.128 GB, free: 105 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01177/10.7, allocations: 0.9944 MB / 4.129 GB, free: 105 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004532/10.71, allocations: 0.6327 MB / 4.13 GB, free: 105 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 (918): * Single equations (assignments): 917 * 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 163} Notification: Performance of prepare postOptimizeDAE: time 0.009722/10.72, allocations: 1.848 MB / 4.131 GB, free: 104.8 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00157/10.72, allocations: 362.4 kB / 4.132 GB, free: 104.7 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06349/10.78, allocations: 31.97 MB / 4.163 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001329/10.78, allocations: 77.95 kB / 4.163 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/10.78, allocations: 0 / 4.163 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001121/10.78, allocations: 15.09 kB / 4.163 GB, free: 104.2 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09305/10.88, allocations: 43.81 MB / 4.206 GB, free: 88.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/10.88, allocations: 0 / 4.206 GB, free: 88.73 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003345/10.88, allocations: 397.5 kB / 4.206 GB, free: 88.69 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03862/10.92, allocations: 8.42 MB / 4.214 GB, free: 87.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00223/10.92, allocations: 121.5 kB / 4.215 GB, free: 87.86 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08526/11.01, allocations: 31.54 MB / 4.245 GB, free: 76.76 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/11.01, allocations: 2.844 kB / 4.245 GB, free: 76.76 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05096/11.06, allocations: 15.25 MB / 4.26 GB, free: 72.18 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005126/11.06, allocations: 0.9227 MB / 4.261 GB, free: 71.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002408/11.06, allocations: 92.88 kB / 4.261 GB, free: 71.61 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005498/11.07, allocations: 305.1 kB / 4.261 GB, free: 71.56 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003062/11.07, allocations: 250.9 kB / 4.262 GB, free: 71.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001404/11.07, allocations: 99.75 kB / 4.262 GB, free: 71.51 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005442/11.08, allocations: 2.323 MB / 4.264 GB, free: 70.86 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.638e-06/11.08, allocations: 0.6562 kB / 4.264 GB, free: 70.86 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.03276/11.11, allocations: 3.398 MB / 4.267 GB, free: 70.15 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 (150): * Single equations (assignments): 135 * 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.01269/11.13, allocations: 1.414 MB / 4.269 GB, free: 69.23 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0445/11.17, allocations: 16.86 MB / 4.285 GB, free: 55.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/11.17, allocations: 0 / 4.285 GB, free: 55.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01629/11.19, allocations: 4.685 MB / 4.29 GB, free: 51.28 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006316/11.19, allocations: 0.6574 MB / 4.29 GB, free: 50.78 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03396/11.23, allocations: 13.62 MB / 4.304 GB, free: 39.14 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00452/11.23, allocations: 2.879 MB / 4.307 GB, free: 36.98 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01429/11.25, allocations: 5.652 MB / 4.312 GB, free: 33.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/11.25, allocations: 288.3 kB / 4.312 GB, free: 33.34 MB / 0.573 GB Notification: Performance of SimCode: time 1.963e-06/11.25, allocations: 0 / 4.312 GB, free: 33.34 MB / 0.573 GB Notification: Performance of Templates: time 0.7624/12.01, allocations: 174.5 MB / 4.483 GB, free: 55.52 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe 2>&1)