Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001164/0.001164, allocations: 180.2 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.643/1.643, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0009454/0.0009455, allocations: 96.19 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6205/0.6205, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.0003479, allocations: 8 kB / 438.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.15, allocations: 60.24 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.826/7.976, allocations: 2.957 GB / 3.444 GB, free: 2.477 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004418/7.977, allocations: 83.14 kB / 3.444 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.511/9.487, allocations: 367.8 MB / 3.803 GB, free: 45.57 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.824e-06/9.487, allocations: 7.938 kB / 3.803 GB, free: 45.56 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001038/9.488, allocations: 52 kB / 3.803 GB, free: 45.51 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.018/9.506, allocations: 4.621 MB / 3.808 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/9.506, allocations: 16.02 kB / 3.808 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005837/9.511, allocations: 0.8087 MB / 3.809 GB, free: 40.01 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/9.519, allocations: 1.823 MB / 3.81 GB, free: 38.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002667/9.519, allocations: 209.5 kB / 3.811 GB, free: 37.94 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001644/9.521, allocations: 315.6 kB / 3.811 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02111/9.542, allocations: 8.552 MB / 3.819 GB, free: 28.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.038e-05/9.542, allocations: 7.953 kB / 3.819 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000336/9.542, allocations: 112 kB / 3.819 GB, free: 28.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001251/9.542, allocations: 153.9 kB / 3.82 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02239/9.565, allocations: 10.19 MB / 3.83 GB, free: 18.51 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.4079/9.973, allocations: 19.18 MB / 3.848 GB, free: 55.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01802/9.991, allocations: 6.363 MB / 3.854 GB, free: 55.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1254/10.12, allocations: 63.77 MB / 3.917 GB, free: 32.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001383/10.12, allocations: 58.25 kB / 3.917 GB, free: 32.03 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=273): time 1.17e-05/10.12, allocations: 4 kB / 3.917 GB, free: 32.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=273): time 0.05844/10.17, allocations: 14.85 MB / 3.931 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.7e-05/10.17, allocations: 81.75 kB / 3.931 GB, free: 31.23 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/10.18, allocations: 0.5486 MB / 3.932 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/10.18, allocations: 73.58 kB / 3.932 GB, free: 31.09 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007368/10.18, allocations: 0.8172 MB / 3.933 GB, free: 30.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/10.18, allocations: 0.948 MB / 3.934 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/10.18, allocations: 52.12 kB / 3.934 GB, free: 30.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004762/10.18, allocations: 456.5 kB / 3.934 GB, free: 30 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005015/10.19, allocations: 2.837 MB / 3.937 GB, free: 29.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005555/10.19, allocations: 3.185 MB / 3.94 GB, free: 29.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/10.2, allocations: 2.966 MB / 3.943 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/10.2, allocations: 0 / 3.943 GB, free: 29.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=321) (initialization): time 0.02066/10.22, allocations: 9.622 MB / 3.952 GB, free: 29.41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001062/10.22, allocations: 2.271 MB / 3.955 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.662e-05/10.22, allocations: 5.141 kB / 3.955 GB, free: 27.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01953/10.24, allocations: 8.519 MB / 3.963 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/10.24, allocations: 273 kB / 3.963 GB, free: 26.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/10.26, allocations: 9.608 MB / 3.973 GB, free: 25.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005276/10.27, allocations: 485.2 kB / 3.973 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001487/10.27, allocations: 337.7 kB / 3.973 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/10.27, allocations: 6.594 kB / 3.973 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01813/10.29, allocations: 9.414 MB / 3.983 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.285e-05/10.29, allocations: 11.67 kB / 3.983 GB, free: 23.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01842/10.31, allocations: 8.519 MB / 3.991 GB, free: 21.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/10.31, allocations: 260.8 kB / 3.991 GB, free: 21.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01662/10.33, allocations: 9.603 MB / 4 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004467/10.33, allocations: 462.7 kB / 4.001 GB, free: 17.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000723/10.33, allocations: 330.2 kB / 4.001 GB, free: 16.96 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,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 (146): * Single equations (assignments): 145 * 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 {20 156} Notification: Performance of prepare postOptimizeDAE: time 0.002697/10.33, allocations: 0.8197 MB / 4.002 GB, free: 16.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007032/10.33, allocations: 144.3 kB / 4.002 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0566/10.39, allocations: 42.02 MB / 4.043 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001643/10.39, allocations: 93.89 kB / 4.043 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-05/10.39, allocations: 16.81 kB / 4.043 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001292/10.39, allocations: 15.33 kB / 4.043 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3943/10.79, allocations: 18.09 MB / 4.061 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.337e-05/10.79, allocations: 0 / 4.061 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004717/10.79, allocations: 0.6157 MB / 4.062 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01119/10.8, allocations: 2.644 MB / 4.064 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001663/10.8, allocations: 110.1 kB / 4.064 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02286/10.83, allocations: 14.66 MB / 4.079 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/10.83, allocations: 1.688 kB / 4.079 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02323/10.85, allocations: 12.32 MB / 4.091 GB, free: 101.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003263/10.85, allocations: 0.7492 MB / 4.091 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/10.85, allocations: 74.72 kB / 4.091 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003441/10.86, allocations: 311.9 kB / 4.092 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/10.86, allocations: 204 kB / 4.092 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/10.86, allocations: 102.8 kB / 4.092 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006507/10.86, allocations: 416.4 kB / 4.092 GB, free: 101 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.042e-06/10.86, allocations: 6.344 kB / 4.092 GB, free: 101 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0146/10.87, allocations: 2.819 MB / 4.095 GB, free: 100.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 44 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (240): * Single equations (assignments): 217 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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: 1 {(20,57.2%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009078/10.88, allocations: 1.424 MB / 4.097 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0293/10.91, allocations: 11.39 MB / 4.108 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/10.91, allocations: 5.031 kB / 4.108 GB, free: 100.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01015/10.92, allocations: 4.324 MB / 4.112 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00495/10.93, allocations: 0.7266 MB / 4.113 GB, free: 100.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02182/10.95, allocations: 11.1 MB / 4.123 GB, free: 96.74 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/10.95, allocations: 2.264 MB / 4.126 GB, free: 95.98 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004319/10.96, allocations: 1.443 MB / 4.127 GB, free: 95.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009394/10.96, allocations: 158.3 kB / 4.127 GB, free: 95.95 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/10.96, allocations: 0 / 4.127 GB, free: 95.95 MB / 0.5573 GB Notification: Performance of Templates: time 0.5424/11.5, allocations: 178.8 MB / 4.302 GB, free: 95.27 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)