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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 94.86 kB / 16.3 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 181.5 kB / 17.2 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.4 MB / 223.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4215/0.4215, allocations: 48.77 MB / 320.4 MB, free: 3.805 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005482/0.0005484, allocations: 12 kB / 391.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1307, allocations: 60.26 MB / 451.4 MB, free: 1.926 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B): time 0.2542/0.3849, allocations: 43.41 MB / 494.8 MB, free: 22.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01352/0.3984, allocations: 9.976 MB / 0.4929 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008316/0.3993, allocations: 14.88 kB / 0.493 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.4004, allocations: 287.3 kB / 0.4932 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.4014, allocations: 338.2 kB / 0.4936 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01378/0.4152, allocations: 4.128 MB / 0.4976 GB, free: 12.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004385/0.4196, allocations: 4.018 MB / 0.5015 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003003/0.4227, allocations: 1.911 MB / 0.5034 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003018/0.4257, allocations: 1.582 MB / 0.5049 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004745/0.4305, allocations: 2.712 MB / 0.5076 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001595/0.4321, allocations: 333.5 kB / 0.5079 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01705/0.4491, allocations: 6.481 MB / 0.5142 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003956/0.4531, allocations: 1.89 MB / 0.5161 GB, free: 380 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003142/0.4563, allocations: 0.7418 MB / 0.5168 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.4702, allocations: 7.532 MB / 0.5241 GB, free: 8.078 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4702, allocations: 0 / 0.5241 GB, free: 8.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.998e-06/0.4702, allocations: 0 / 0.5241 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002113/0.4704, allocations: 0 / 0.5241 GB, free: 8.078 MB / 398.1 MB 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.03119/0.5016, allocations: 10.5 MB / 0.5344 GB, free: 13.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.5017, allocations: 12.02 kB / 0.5344 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005412/0.5071, allocations: 0.7872 MB / 0.5352 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0094/0.5166, allocations: 2.825 MB / 0.5379 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004221/0.517, allocations: 398.7 kB / 0.5383 GB, free: 9.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002707/0.5198, allocations: 0.5233 MB / 0.5388 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03275/0.5525, allocations: 12.22 MB / 0.5508 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.5527, allocations: 0 / 0.5508 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/0.5541, allocations: 220 kB / 0.551 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/0.5543, allocations: 218.8 kB / 0.5512 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03931/0.5936, allocations: 14.38 MB / 0.5652 GB, free: 13.82 MB / 446.1 MB 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.03898/0.6326, allocations: 24.35 MB / 0.589 GB, free: 3.574 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.6441, allocations: 4.899 MB / 0.5938 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.336/0.9802, allocations: 64.63 MB / 0.6569 GB, free: 142 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.464e-05/0.9803, allocations: 62.28 kB / 0.657 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=257): time 7.684e-06/0.9803, allocations: 0 / 0.657 GB, free: 141.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=257): time 0.1016/1.082, allocations: 23.49 MB / 0.6799 GB, free: 135.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.178e-05/1.082, allocations: 81.72 kB / 0.68 GB, free: 135.8 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004437/1.086, allocations: 3.997 MB / 0.6839 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001045/1.088, allocations: 72.8 kB / 0.6839 GB, free: 133.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001458/1.089, allocations: 3.134 MB / 0.687 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001509/1.09, allocations: 1.031 MB / 0.688 GB, free: 130.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005048/1.091, allocations: 174.8 kB / 0.6882 GB, free: 130.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003126/1.091, allocations: 0.7282 MB / 0.6889 GB, free: 129.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005446/1.097, allocations: 3.916 MB / 0.6927 GB, free: 127.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007603/1.104, allocations: 8.962 MB / 0.7015 GB, free: 117.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007356/1.112, allocations: 5.536 MB / 0.7069 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.112, allocations: 52 kB / 0.7069 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.03582/1.148, allocations: 17.69 MB / 0.7242 GB, free: 94.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.01414/1.162, allocations: 70.17 MB / 0.7927 GB, free: 18.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004009/1.162, allocations: 176.7 kB / 0.7929 GB, free: 18.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04309/1.206, allocations: 12.72 MB / 0.8053 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004539/1.21, allocations: 1.68 MB / 0.807 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/1.229, allocations: 10.48 MB / 0.8172 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007643/1.237, allocations: 1.295 MB / 0.8184 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001826/1.239, allocations: 0.6388 MB / 0.8191 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/1.239, allocations: 4 kB / 0.8191 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2554/1.494, allocations: 17.22 MB / 0.8359 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007648/1.495, allocations: 179.2 kB / 0.8361 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04823/1.543, allocations: 12.7 MB / 0.8485 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005386/1.549, allocations: 1.663 MB / 0.8501 GB, free: 146 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02209/1.571, allocations: 10.48 MB / 0.8603 GB, free: 143.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007778/1.579, allocations: 0.9651 MB / 0.8613 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002357/1.581, allocations: 0.6407 MB / 0.8619 GB, free: 142.7 MB / 0.5137 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.003863/1.585, allocations: 1.857 MB / 0.8637 GB, free: 142 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/1.586, allocations: 358.6 kB / 0.8641 GB, free: 141.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04625/1.632, allocations: 32.64 MB / 0.8959 GB, free: 119 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-05/1.632, allocations: 71.86 kB / 0.896 GB, free: 119 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.632, allocations: 4 kB / 0.896 GB, free: 119 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-05/1.632, allocations: 12.64 kB / 0.896 GB, free: 118.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05846/1.691, allocations: 44.83 MB / 0.9398 GB, free: 73.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-05/1.691, allocations: 0 / 0.9398 GB, free: 73.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/1.693, allocations: 389.8 kB / 0.9402 GB, free: 73.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03192/1.725, allocations: 8.404 MB / 0.9484 GB, free: 64.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001352/1.727, allocations: 131 kB / 0.9485 GB, free: 64.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0514/1.778, allocations: 32.12 MB / 0.9799 GB, free: 32.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.778, allocations: 0 / 0.9799 GB, free: 32.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03754/1.816, allocations: 15.56 MB / 0.9951 GB, free: 16.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00314/1.819, allocations: 0.9395 MB / 0.996 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001044/1.82, allocations: 89.97 kB / 0.9961 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003421/1.823, allocations: 283.3 kB / 0.9963 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001255/1.825, allocations: 251.2 kB / 0.9966 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003291/1.825, allocations: 99.91 kB / 0.9967 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002794/1.828, allocations: 2.348 MB / 0.999 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/1.828, allocations: 3.844 kB / 0.999 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01474/1.843, allocations: 3.365 MB / 1.002 GB, free: 9.484 MB / 0.5137 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.004225/1.847, allocations: 1.037 MB / 1.003 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.03656/1.883, allocations: 17.23 MB / 1.02 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.883, allocations: 0 / 1.02 GB, free: 7.395 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2259/2.109, allocations: 4.802 MB / 1.025 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/2.113, allocations: 0.6696 MB / 1.025 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/2.133, allocations: 13.75 MB / 1.039 GB, free: 161 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002973/2.136, allocations: 2.869 MB / 1.042 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.01511/2.151, allocations: 5.303 MB / 1.047 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/2.153, allocations: 280 kB / 1.047 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.893e-06/2.153, allocations: 3.938 kB / 1.047 GB, free: 159.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.449/2.602, allocations: 183 MB / 1.226 GB, free: 154.5 MB / 0.5294 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: