Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.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_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002037/0.002037, allocations: 172.1 kB / 17.39 MB, free: 4.164 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.965/1.965, allocations: 205.4 MB / 223.5 MB, free: 9.035 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.0007954/0.0007954, allocations: 82.34 kB / 271.9 MB, free: 8.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4423/0.4423, allocations: 48.78 MB / 369 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003904/0.0003905, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1278, allocations: 60.25 MB / 0.4884 GB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.79/6.917, allocations: 2.943 GB / 3.432 GB, free: 76.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/6.918, allocations: 87.98 kB / 3.432 GB, free: 76.71 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.546/9.464, allocations: 0.6614 GB / 4.093 GB, free: 18.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.545e-06/9.464, allocations: 0 / 4.093 GB, free: 18.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0007996/9.464, allocations: 194.9 kB / 4.094 GB, free: 18.71 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2772 * Number of variables: 2772 Notification: Performance of Generate backend data structure: time 0.06596/9.53, allocations: 19.52 MB / 4.113 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.215e-05/9.531, allocations: 8.031 kB / 4.113 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01476/9.545, allocations: 1.571 MB / 4.114 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02428/9.57, allocations: 5.799 MB / 4.12 GB, free: 7.684 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001506/9.571, allocations: 0.779 MB / 4.121 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009339/9.581, allocations: 1.035 MB / 4.122 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7773/10.36, allocations: 24.29 MB / 4.145 GB, free: 36.29 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006491/10.36, allocations: 3.344 kB / 4.145 GB, free: 36.29 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007418/10.37, allocations: 438 kB / 4.146 GB, free: 36.29 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004221/10.37, allocations: 413 kB / 4.146 GB, free: 36.26 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1019/10.47, allocations: 28.25 MB / 4.174 GB, free: 36.17 MB / 0.5418 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.1201/10.59, allocations: 48.92 MB / 4.221 GB, free: 15.21 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02312/10.61, allocations: 9.506 MB / 4.231 GB, free: 15.12 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00801/10.62, allocations: 4.304 MB / 4.235 GB, free: 14.85 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1157/10.74, allocations: 63.83 MB / 4.297 GB, free: 6.254 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/10.74, allocations: 88.78 kB / 4.297 GB, free: 6.176 MB / 0.573 GB Notification: Performance of pre-optimization done (n=501): time 1.629e-05/10.74, allocations: 6.891 kB / 4.297 GB, free: 6.176 MB / 0.573 GB Notification: Performance of matching and sorting (n=501): time 0.2715/11.01, allocations: 55.54 MB / 4.352 GB, free: 3.336 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/11.01, allocations: 103.3 kB / 4.352 GB, free: 3.223 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3863/11.39, allocations: 7.83 MB / 4.359 GB, free: 79.62 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.003305/11.4, allocations: 120 kB / 4.359 GB, free: 79.59 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.005196/11.4, allocations: 6.23 MB / 4.366 GB, free: 75.92 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.004632/11.41, allocations: 2.028 MB / 4.368 GB, free: 74.82 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002276/11.41, allocations: 342.6 kB / 4.368 GB, free: 74.82 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0009821/11.41, allocations: 1.06 MB / 4.369 GB, free: 74.48 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01427/11.42, allocations: 7.704 MB / 4.376 GB, free: 74.44 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02166/11.45, allocations: 17.87 MB / 4.394 GB, free: 61.47 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03916/11.49, allocations: 26.87 MB / 4.42 GB, free: 48.16 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009509/11.49, allocations: 100.9 kB / 4.42 GB, free: 48.16 MB / 0.5887 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.07994/11.57, allocations: 30.61 MB / 4.45 GB, free: 45.44 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0122/11.58, allocations: 10.52 MB / 4.46 GB, free: 32.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001701/11.58, allocations: 354.7 kB / 4.461 GB, free: 32.41 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09553/11.68, allocations: 25.01 MB / 4.485 GB, free: 31.39 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01161/11.69, allocations: 3.352 MB / 4.488 GB, free: 31.07 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05183/11.74, allocations: 19.85 MB / 4.508 GB, free: 25.84 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01841/11.76, allocations: 2.61 MB / 4.51 GB, free: 24.38 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005436/11.76, allocations: 1.27 MB / 4.512 GB, free: 24.18 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/11.76, allocations: 4.844 kB / 4.512 GB, free: 24.18 MB / 0.5887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06782/11.83, allocations: 29.7 MB / 4.541 GB, free: 7.859 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001552/11.83, allocations: 360.4 kB / 4.541 GB, free: 7.508 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4949/12.33, allocations: 28.46 MB / 4.569 GB, free: 49.42 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01183/12.34, allocations: 3.326 MB / 4.572 GB, free: 49.42 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04885/12.39, allocations: 19.83 MB / 4.591 GB, free: 48.77 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01816/12.41, allocations: 1.972 MB / 4.593 GB, free: 48.77 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006047/12.41, allocations: 1.261 MB / 4.595 GB, free: 48.77 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1613 * Number of states: 0 () * Number of discrete variables: 28 (hexB.fluidState[12].phase,hexB.fluidState[11].phase,hexB.fluidState[10].phase,hexB.fluidState[9].phase,hexB.fluidState[8].phase,hexB.fluidState[7].phase,hexB.fluidState[6].phase,hexB.fluidState[5].phase,hexB.fluidState[4].phase,hexB.fluidState[3].phase,hexB.fluidState[2].phase,hexB.fluidState[1].phase,hexA.fluidState[12].phase,hexA.fluidState[11].phase,hexA.fluidState[10].phase,hexA.fluidState[9].phase,hexA.fluidState[8].phase,hexA.fluidState[7].phase,hexA.fluidState[6].phase,hexA.fluidState[5].phase,hexA.fluidState[4].phase,hexA.fluidState[3].phase,hexA.fluidState[2].phase,hexA.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1804): * Single equations (assignments): 1803 * 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 {26 362} Notification: Performance of prepare postOptimizeDAE: time 0.01398/12.43, allocations: 3.525 MB / 4.598 GB, free: 48.43 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003524/12.43, allocations: 0.6931 MB / 4.599 GB, free: 48.2 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1146/12.54, allocations: 63.94 MB / 4.661 GB, free: 43.98 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001467/12.55, allocations: 142.1 kB / 4.661 GB, free: 43.96 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/12.55, allocations: 2.516 kB / 4.661 GB, free: 43.96 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001617/12.55, allocations: 27.14 kB / 4.661 GB, free: 43.96 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1233/12.67, allocations: 87.46 MB / 4.747 GB, free: 15.93 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-05/12.67, allocations: 2.656 kB / 4.747 GB, free: 15.93 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005355/12.67, allocations: 0.7443 MB / 4.747 GB, free: 15.46 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06861/12.74, allocations: 16.67 MB / 4.764 GB, free: 5.703 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002575/12.75, allocations: 241.1 kB / 4.764 GB, free: 5.539 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4546/13.2, allocations: 61.24 MB / 4.824 GB, free: 77.69 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/13.2, allocations: 3.406 kB / 4.824 GB, free: 77.69 MB / 0.6199 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08075/13.28, allocations: 30.57 MB / 4.854 GB, free: 76.59 MB / 0.6199 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005858/13.29, allocations: 1.779 MB / 4.855 GB, free: 75.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002197/13.29, allocations: 176.7 kB / 4.855 GB, free: 75.9 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00739/13.3, allocations: 0.5664 MB / 4.856 GB, free: 75.87 MB / 0.6199 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002746/13.3, allocations: 488.8 kB / 4.856 GB, free: 75.86 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006921/13.3, allocations: 207 kB / 4.857 GB, free: 75.86 MB / 0.6199 GB Notification: Performance of sorting global known variables: time 0.007412/13.31, allocations: 4.574 MB / 4.861 GB, free: 75.64 MB / 0.6199 GB Notification: Performance of sort global known variables: time 2.324e-06/13.31, allocations: 0 / 4.861 GB, free: 75.64 MB / 0.6199 GB Notification: Performance of remove unused functions: time 0.03819/13.35, allocations: 6.038 MB / 4.867 GB, free: 75.29 MB / 0.6199 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 26 (hexA.p,hexA.h[1],hexA.h[2],hexA.h[3],hexA.h[4],hexA.h[5],hexA.h[6],hexA.h[7],hexA.h[8],hexA.h[9],hexA.h[10],hexA.h[11],hexA.h[12],hexB.p,hexB.h[1],hexB.h[2],hexB.h[3],hexB.h[4],hexB.h[5],hexB.h[6],hexB.h[7],hexB.h[8],hexB.h[9],hexB.h[10],hexB.h[11],hexB.h[12]) * Number of discrete variables: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * 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: 0 * Non-linear torn systems: 2 {13 126,13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.008377/13.35, allocations: 1.837 MB / 4.869 GB, free: 75.1 MB / 0.6199 GB Notification: Performance of simCode: created initialization part: time 0.07026/13.42, allocations: 34.11 MB / 4.902 GB, free: 72.94 MB / 0.6199 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/13.42, allocations: 3.625 kB / 4.902 GB, free: 72.94 MB / 0.6199 GB Notification: Performance of simCode: created simulation system equations: time 0.02339/13.45, allocations: 9.439 MB / 4.911 GB, free: 69.34 MB / 0.6199 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008876/13.46, allocations: 1.404 MB / 4.913 GB, free: 68.86 MB / 0.6199 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03631/13.49, allocations: 27.49 MB / 4.94 GB, free: 56.62 MB / 0.6199 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004604/13.5, allocations: 4.9 MB / 4.944 GB, free: 55.29 MB / 0.6199 GB Notification: Performance of simCode: alias equations: time 0.024/13.52, allocations: 10.57 MB / 4.955 GB, free: 49.57 MB / 0.6199 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002345/13.52, allocations: 0.5376 MB / 4.955 GB, free: 49.09 MB / 0.6199 GB Notification: Performance of SimCode: time 7.31e-07/13.52, allocations: 0 / 4.955 GB, free: 49.09 MB / 0.6199 GB Notification: Performance of Templates: time 1.028/14.55, allocations: 339.6 MB / 5.287 GB, free: 90.96 MB / 0.6512 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E.pipe 2>&1)