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.001149/0.001149, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001103/0.001104, allocations: 82.91 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6101/0.6101, allocations: 48.76 MB / 358.8 MB, free: 53.11 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.758e-05/1.76e-05, allocations: 4 kB / 425.3 MB, free: 8.242 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1813, allocations: 60.27 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.979/8.161, allocations: 2.942 GB / 3.416 GB, free: 120.2 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/8.161, allocations: 79.02 kB / 3.416 GB, free: 120.2 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.722/9.883, allocations: 374.8 MB / 3.782 GB, free: 51.06 MB / 0.5108 GB Notification: Performance of FrontEnd: time 3.196e-06/9.883, allocations: 2.938 kB / 3.782 GB, free: 51.06 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0003356/9.883, allocations: 91.88 kB / 3.782 GB, free: 51.06 MB / 0.5108 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.04905/9.933, allocations: 10.09 MB / 3.792 GB, free: 49.59 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/9.933, allocations: 9.375 kB / 3.792 GB, free: 49.59 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009906/9.943, allocations: 0.7895 MB / 3.793 GB, free: 49.36 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01605/9.959, allocations: 2.971 MB / 3.796 GB, free: 48.88 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008425/9.96, allocations: 172 kB / 3.796 GB, free: 48.88 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005656/9.965, allocations: 320.3 kB / 3.796 GB, free: 48.87 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05249/10.02, allocations: 11.35 MB / 3.807 GB, free: 48.84 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03066/10.05, allocations: 8.843 MB / 3.816 GB, free: 48.52 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002532/10.05, allocations: 0 / 3.816 GB, free: 48.52 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003194/10.05, allocations: 1.969 kB / 3.816 GB, free: 48.52 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002004/10.05, allocations: 210.1 kB / 3.816 GB, free: 48.51 MB / 0.5108 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.05194/10.1, allocations: 23.96 MB / 3.84 GB, free: 37.73 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006573/10.11, allocations: 3.282 MB / 3.843 GB, free: 37.67 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004244/10.12, allocations: 2.083 MB / 3.845 GB, free: 37.64 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1266/10.24, allocations: 63.99 MB / 3.907 GB, free: 28.71 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001063/10.24, allocations: 64.84 kB / 3.907 GB, free: 28.67 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=257): time 6.041e-06/10.24, allocations: 0 / 3.907 GB, free: 28.67 MB / 0.5421 GB Notification: Performance of matching and sorting (n=257): time 0.047/10.29, allocations: 11.3 MB / 3.918 GB, free: 26.58 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.062e-05/10.29, allocations: 81.44 kB / 3.919 GB, free: 26.48 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/10.29, allocations: 3.32 MB / 3.922 GB, free: 24.29 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.002312/10.3, allocations: 29.7 kB / 3.922 GB, free: 24.25 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.003006/10.3, allocations: 3.136 MB / 3.925 GB, free: 21.8 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.003727/10.3, allocations: 0.9959 MB / 3.926 GB, free: 21.08 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008898/10.3, allocations: 0 / 3.926 GB, free: 21.08 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0007884/10.31, allocations: 0.7203 MB / 3.927 GB, free: 20.61 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005397/10.31, allocations: 3.639 MB / 3.93 GB, free: 17.65 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009203/10.32, allocations: 8.636 MB / 3.939 GB, free: 7.105 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01553/10.34, allocations: 5.578 MB / 3.944 GB, free: 2.461 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000284/10.34, allocations: 48 kB / 3.944 GB, free: 2.414 MB / 0.5421 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.5125/10.85, allocations: 16.45 MB / 3.96 GB, free: 70.42 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.02612/10.87, allocations: 70.23 MB / 4.029 GB, free: 29.31 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001224/10.88, allocations: 175.7 kB / 4.029 GB, free: 29.31 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0472/10.92, allocations: 12.14 MB / 4.041 GB, free: 29.27 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006217/10.93, allocations: 1.684 MB / 4.042 GB, free: 29.27 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03048/10.96, allocations: 11.41 MB / 4.053 GB, free: 28.65 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/10.97, allocations: 1.14 MB / 4.055 GB, free: 28.36 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00575/10.98, allocations: 0.6363 MB / 4.055 GB, free: 28.36 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/10.98, allocations: 3.812 kB / 4.055 GB, free: 28.36 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05549/11.03, allocations: 15.81 MB / 4.071 GB, free: 27.55 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001209/11.04, allocations: 176.8 kB / 4.071 GB, free: 27.55 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04908/11.08, allocations: 12.13 MB / 4.083 GB, free: 27.04 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006529/11.09, allocations: 1.673 MB / 4.084 GB, free: 26.88 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0256/11.12, allocations: 11.42 MB / 4.095 GB, free: 26.12 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01062/11.13, allocations: 0.8218 MB / 4.096 GB, free: 25.92 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003387/11.13, allocations: 0.6318 MB / 4.097 GB, free: 25.92 MB / 0.5733 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 () * 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.004892/11.14, allocations: 0.5082 MB / 4.097 GB, free: 25.56 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001222/11.14, allocations: 355 kB / 4.098 GB, free: 25.38 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05277/11.19, allocations: 33.03 MB / 4.13 GB, free: 18.61 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/11.19, allocations: 74.34 kB / 4.13 GB, free: 18.6 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.651e-05/11.19, allocations: 0 / 4.13 GB, free: 18.6 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.43e-05/11.19, allocations: 12.98 kB / 4.13 GB, free: 18.6 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5644/11.75, allocations: 46.45 MB / 4.175 GB, free: 97.58 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.664e-05/11.75, allocations: 3.109 kB / 4.175 GB, free: 97.58 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00284/11.76, allocations: 394.8 kB / 4.176 GB, free: 97.58 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03568/11.79, allocations: 8.246 MB / 4.184 GB, free: 97.55 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001691/11.79, allocations: 93.55 kB / 4.184 GB, free: 97.55 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05917/11.85, allocations: 29.34 MB / 4.213 GB, free: 95.68 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/11.85, allocations: 0.6875 kB / 4.213 GB, free: 95.68 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04444/11.9, allocations: 15.14 MB / 4.227 GB, free: 95.01 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004857/11.9, allocations: 0.9294 MB / 4.228 GB, free: 94.62 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001716/11.91, allocations: 40.89 kB / 4.228 GB, free: 94.62 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004659/11.91, allocations: 255.3 kB / 4.229 GB, free: 94.6 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001975/11.91, allocations: 253.6 kB / 4.229 GB, free: 94.6 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005551/11.91, allocations: 101.1 kB / 4.229 GB, free: 94.6 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.004563/11.92, allocations: 2.105 MB / 4.231 GB, free: 94.45 MB / 0.5733 GB Notification: Performance of sort global known variables: time 7.41e-07/11.92, allocations: 0 / 4.231 GB, free: 94.45 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.02962/11.95, allocations: 3.014 MB / 4.234 GB, free: 94.25 MB / 0.5733 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 () * 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.009911/11.96, allocations: 1.507 MB / 4.235 GB, free: 94.09 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.04274/12, allocations: 16.07 MB / 4.251 GB, free: 93.73 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/12, allocations: 3 kB / 4.251 GB, free: 93.73 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.01523/12.01, allocations: 4.574 MB / 4.256 GB, free: 93.41 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0057/12.02, allocations: 0.5656 MB / 4.256 GB, free: 93.39 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03007/12.05, allocations: 10.14 MB / 4.266 GB, free: 91.59 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004226/12.05, allocations: 2.864 MB / 4.269 GB, free: 90.78 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.01269/12.07, allocations: 5.327 MB / 4.274 GB, free: 90.18 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001434/12.07, allocations: 277.9 kB / 4.274 GB, free: 90.18 MB / 0.5733 GB Notification: Performance of SimCode: time 1.002e-06/12.07, allocations: 0 / 4.274 GB, free: 90.18 MB / 0.5733 GB Notification: Performance of Templates: time 0.6726/12.74, allocations: 168.8 MB / 4.439 GB, free: 93.28 MB / 0.5733 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)