Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001602/0.001602, allocations: 180.2 kB / 16.39 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.651/1.651, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001115/0.001115, allocations: 101.1 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6137/0.6137, allocations: 48.77 MB / 367.9 MB, free: 47.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003445, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1544, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.765/7.919, allocations: 2.966 GB / 3.453 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003324/7.92, allocations: 84.48 kB / 3.453 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.535/9.454, allocations: 375.9 MB / 3.82 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.815e-06/9.454, allocations: 3.375 kB / 3.82 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001277/9.455, allocations: 30.41 kB / 3.82 GB, free: 60.16 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01401/9.469, allocations: 2.68 MB / 3.823 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/9.469, allocations: 15.77 kB / 3.823 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/9.472, allocations: 463.2 kB / 3.823 GB, free: 58.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004445/9.477, allocations: 1.143 MB / 3.824 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/9.477, allocations: 119.6 kB / 3.825 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/9.478, allocations: 175.9 kB / 3.825 GB, free: 58.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01443/9.492, allocations: 4.531 MB / 3.829 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.428e-05/9.493, allocations: 0 / 3.829 GB, free: 56.51 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007671/9.493, allocations: 67.38 kB / 3.829 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/9.494, allocations: 85.75 kB / 3.829 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01358/9.507, allocations: 4.833 MB / 3.834 GB, free: 54.93 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.02248/9.53, allocations: 10.39 MB / 3.844 GB, free: 47.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009939/9.54, allocations: 3.413 MB / 3.847 GB, free: 46.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5303/10.07, allocations: 79.66 MB / 3.925 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.733e-05/10.07, allocations: 48.72 kB / 3.925 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 4.889e-06/10.07, allocations: 0 / 3.925 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158): time 0.02221/10.09, allocations: 6.522 MB / 3.932 GB, free: 72.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/10.09, allocations: 68.72 kB / 3.932 GB, free: 72.35 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009041/10.09, allocations: 0.5017 MB / 3.932 GB, free: 72.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003825/10.09, allocations: 53.23 kB / 3.932 GB, free: 72.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/10.09, allocations: 0.5121 MB / 3.933 GB, free: 72.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006642/10.09, allocations: 0.5506 MB / 3.933 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/10.1, allocations: 27.53 kB / 3.933 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001604/10.1, allocations: 414.2 kB / 3.934 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/10.1, allocations: 1.461 MB / 3.935 GB, free: 71.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/10.1, allocations: 1.688 MB / 3.937 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002357/10.1, allocations: 1.548 MB / 3.938 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/10.1, allocations: 3.938 kB / 3.938 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.008773/10.11, allocations: 5.124 MB / 3.943 GB, free: 71.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003694/10.11, allocations: 1.4 MB / 3.945 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/10.11, allocations: 4.125 kB / 3.945 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01122/10.12, allocations: 4.688 MB / 3.949 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/10.12, allocations: 121.5 kB / 3.949 GB, free: 69.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0095/10.13, allocations: 5.566 MB / 3.955 GB, free: 69.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/10.14, allocations: 275.7 kB / 3.955 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/10.14, allocations: 182.2 kB / 3.955 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/10.14, allocations: 3.969 kB / 3.955 GB, free: 68.97 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009822/10.15, allocations: 4.988 MB / 3.96 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-05/10.15, allocations: 2.609 kB / 3.96 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/10.16, allocations: 4.716 MB / 3.965 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/10.16, allocations: 119.1 kB / 3.965 GB, free: 68.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/10.17, allocations: 5.558 MB / 3.97 GB, free: 68.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003216/10.18, allocations: 260.2 kB / 3.971 GB, free: 68.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000758/10.18, allocations: 180.8 kB / 3.971 GB, free: 68.28 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (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 (67): * Single equations (assignments): 66 * 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 {10 113} Notification: Performance of prepare postOptimizeDAE: time 0.002088/10.18, allocations: 0.5274 MB / 3.971 GB, free: 68.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008163/10.18, allocations: 99.09 kB / 3.971 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02435/10.2, allocations: 20.76 MB / 3.992 GB, free: 63.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.99e-05/10.2, allocations: 52.44 kB / 3.992 GB, free: 63.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.643e-05/10.2, allocations: 9.531 kB / 3.992 GB, free: 63.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.029e-05/10.21, allocations: 10.14 kB / 3.992 GB, free: 63.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009938/10.22, allocations: 9.351 MB / 4.001 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/10.22, allocations: 3.281 kB / 4.001 GB, free: 58.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/10.22, allocations: 367.5 kB / 4.001 GB, free: 58.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/10.22, allocations: 0.9836 MB / 4.002 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000691/10.22, allocations: 60.64 kB / 4.002 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009068/10.23, allocations: 5.913 MB / 4.008 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/10.23, allocations: 0 / 4.008 GB, free: 54.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/10.24, allocations: 6.208 MB / 4.014 GB, free: 52.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001513/10.25, allocations: 493.5 kB / 4.015 GB, free: 51.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005184/10.25, allocations: 41.22 kB / 4.015 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/10.25, allocations: 159.1 kB / 4.015 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006157/10.25, allocations: 123.2 kB / 4.015 GB, free: 51.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002882/10.25, allocations: 69.03 kB / 4.015 GB, free: 51.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007132/10.25, allocations: 393.2 kB / 4.015 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/10.25, allocations: 0 / 4.015 GB, free: 51.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01027/10.26, allocations: 1.901 MB / 4.017 GB, free: 51.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (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]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009895/10.27, allocations: 1.42 MB / 4.018 GB, free: 51.27 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01471/10.28, allocations: 5.89 MB / 4.024 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/10.28, allocations: 0 / 4.024 GB, free: 49.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004999/10.29, allocations: 2.257 MB / 4.026 GB, free: 48.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003442/10.29, allocations: 0.5099 MB / 4.027 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/10.3, allocations: 6.08 MB / 4.033 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001758/10.31, allocations: 1.568 MB / 4.034 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002437/10.31, allocations: 490.4 kB / 4.035 GB, free: 44.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009477/10.31, allocations: 114 kB / 4.035 GB, free: 44.56 MB / 0.5261 GB Notification: Performance of SimCode: time 3.256e-06/10.31, allocations: 5.875 kB / 4.035 GB, free: 44.55 MB / 0.5261 GB Notification: Performance of Templates: time 0.4759/10.79, allocations: 110.2 MB / 4.143 GB, free: 90.77 MB / 0.5417 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1)