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.001526/0.001527, allocations: 180.8 kB / 16.38 MB, free: 5.762 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.689/1.689, 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.0009735/0.0009734, allocations: 88.94 kB / 270.8 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5421/0.5421, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003809, allocations: 11.94 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1651, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.566/7.732, allocations: 2.943 GB / 3.43 GB, free: 79.93 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/7.732, allocations: 88.23 kB / 3.43 GB, free: 79.89 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.611/10.34, allocations: 0.6614 GB / 4.092 GB, free: 21.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.885e-06/10.34, allocations: 3.938 kB / 4.092 GB, free: 21.53 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008063/10.34, allocations: 191 kB / 4.092 GB, free: 21.35 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.07834/10.42, allocations: 19.62 MB / 4.111 GB, free: 1.648 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/10.42, allocations: 16.02 kB / 4.111 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/10.44, allocations: 1.572 MB / 4.113 GB, free: 52 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02674/10.46, allocations: 5.749 MB / 4.118 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001551/10.47, allocations: 0.7904 MB / 4.119 GB, free: 9.473 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01052/10.48, allocations: 1.035 MB / 4.12 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5479/11.02, allocations: 24.21 MB / 4.144 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008131/11.03, allocations: 6.969 kB / 4.144 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008324/11.03, allocations: 436.1 kB / 4.144 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004685/11.03, allocations: 413.3 kB / 4.145 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1027/11.14, allocations: 28.25 MB / 4.172 GB, free: 38.89 MB / 0.5417 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.1252/11.26, allocations: 48.88 MB / 4.22 GB, free: 17.95 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02574/11.29, allocations: 9.532 MB / 4.229 GB, free: 17.85 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1243/11.41, allocations: 63.83 MB / 4.292 GB, free: 10.49 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/11.41, allocations: 86.19 kB / 4.292 GB, free: 10.45 MB / 0.573 GB Notification: Performance of pre-optimization done (n=501): time 8.957e-06/11.41, allocations: 3.344 kB / 4.292 GB, free: 10.45 MB / 0.573 GB Notification: Performance of matching and sorting (n=501): time 0.2665/11.68, allocations: 53.8 MB / 4.344 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/11.68, allocations: 103.3 kB / 4.344 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01468/11.69, allocations: 7.022 MB / 4.351 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.003344/11.7, allocations: 117.7 kB / 4.351 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.4508/12.15, allocations: 6.208 MB / 4.357 GB, free: 82.45 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.00646/12.16, allocations: 2.028 MB / 4.359 GB, free: 81.42 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005004/12.16, allocations: 340.9 kB / 4.36 GB, free: 81.42 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002042/12.16, allocations: 1.06 MB / 4.361 GB, free: 81.08 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01954/12.18, allocations: 7.711 MB / 4.368 GB, free: 81.04 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02764/12.21, allocations: 17.81 MB / 4.386 GB, free: 68.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02422/12.23, allocations: 10.93 MB / 4.396 GB, free: 67.96 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009031/12.23, allocations: 103.9 kB / 4.396 GB, free: 67.96 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.1012/12.34, allocations: 30.6 MB / 4.426 GB, free: 65.85 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0619/12.4, allocations: 140.5 MB / 4.563 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001557/12.4, allocations: 354.9 kB / 4.564 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09836/12.5, allocations: 25.06 MB / 4.588 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/12.51, allocations: 3.357 MB / 4.592 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05249/12.56, allocations: 19.84 MB / 4.611 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02139/12.58, allocations: 2.616 MB / 4.613 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007132/12.59, allocations: 1.274 MB / 4.615 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/12.59, allocations: 3.688 kB / 4.615 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5233/13.11, allocations: 30.12 MB / 4.644 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002232/13.12, allocations: 356.6 kB / 4.644 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09818/13.21, allocations: 25.05 MB / 4.669 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01182/13.23, allocations: 3.331 MB / 4.672 GB, free: 147.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06214/13.29, allocations: 19.84 MB / 4.692 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02047/13.31, allocations: 1.973 MB / 4.693 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007086/13.32, allocations: 1.257 MB / 4.695 GB, free: 147.1 MB / 0.6823 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.01577/13.33, allocations: 3.522 MB / 4.698 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003835/13.34, allocations: 0.694 MB / 4.699 GB, free: 146.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1184/13.45, allocations: 63.93 MB / 4.761 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000201/13.45, allocations: 139.8 kB / 4.761 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.921e-05/13.45, allocations: 0 / 4.761 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001947/13.45, allocations: 27.14 kB / 4.761 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1452/13.6, allocations: 87.43 MB / 4.847 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.099e-05/13.6, allocations: 5.531 kB / 4.847 GB, free: 80.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005962/13.61, allocations: 0.7415 MB / 4.848 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07051/13.68, allocations: 16.66 MB / 4.864 GB, free: 69.91 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003467/13.68, allocations: 248.1 kB / 4.864 GB, free: 69.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5488/14.23, allocations: 64.44 MB / 4.927 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/14.23, allocations: 0 / 4.927 GB, free: 148.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09073/14.32, allocations: 30.64 MB / 4.957 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006739/14.33, allocations: 1.78 MB / 4.959 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003434/14.33, allocations: 174.8 kB / 4.959 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009559/14.34, allocations: 0.5757 MB / 4.959 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004792/14.34, allocations: 486 kB / 4.96 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001979/14.35, allocations: 206.1 kB / 4.96 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.007798/14.35, allocations: 4.57 MB / 4.964 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.12e-07/14.35, allocations: 0 / 4.964 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.04085/14.39, allocations: 6.036 MB / 4.97 GB, free: 144.1 MB / 0.6823 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.01356/14.41, allocations: 1.844 MB / 4.972 GB, free: 143.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.08323/14.49, allocations: 34.11 MB / 5.005 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/14.49, allocations: 0 / 5.005 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.02746/14.52, allocations: 9.454 MB / 5.015 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00987/14.53, allocations: 1.324 MB / 5.016 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06064/14.59, allocations: 27.44 MB / 5.043 GB, free: 107.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00679/14.6, allocations: 5.056 MB / 5.048 GB, free: 103.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.02573/14.62, allocations: 10.57 MB / 5.058 GB, free: 97.24 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003073/14.63, allocations: 0.5388 MB / 5.059 GB, free: 96.76 MB / 0.6823 GB Notification: Performance of SimCode: time 2.184e-06/14.63, allocations: 0 / 5.059 GB, free: 96.76 MB / 0.6823 GB Notification: Performance of Templates: time 1.168/15.79, allocations: 337.5 MB / 5.388 GB, free: 118.2 MB / 0.6823 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)