Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002003/0.002003, allocations: 180.6 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.451/1.451, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000887/0.000887, allocations: 82.83 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4244/0.4244, allocations: 48.78 MB / 358.8 MB, free: 53.19 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.907e-05, allocations: 4 kB / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 60.24 MB / 485.5 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.09/6.214, allocations: 2.965 GB / 3.44 GB, free: 101 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/6.214, allocations: 80.56 kB / 3.44 GB, free: 101 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.21/7.424, allocations: 360.6 MB / 3.792 GB, free: 56.23 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.843e-06/7.424, allocations: 0 / 3.792 GB, free: 56.23 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 7.336e-05/7.425, allocations: 20.09 kB / 3.792 GB, free: 56.23 MB / 0.5108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.007166/7.432, allocations: 1.739 MB / 3.794 GB, free: 55.52 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/7.432, allocations: 9.969 kB / 3.794 GB, free: 55.52 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001586/7.433, allocations: 246.3 kB / 3.794 GB, free: 55.46 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/7.435, allocations: 0.71 MB / 3.795 GB, free: 55.19 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.981e-05/7.435, allocations: 26.56 kB / 3.795 GB, free: 55.19 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002952/7.436, allocations: 51.64 kB / 3.795 GB, free: 55.19 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002144/7.438, allocations: 1.013 MB / 3.796 GB, free: 55.18 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002092/7.44, allocations: 1.037 MB / 3.797 GB, free: 55.01 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/7.44, allocations: 0 / 3.797 GB, free: 55.01 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/7.44, allocations: 2.344 kB / 3.797 GB, free: 55.01 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.958e-05/7.44, allocations: 42.11 kB / 3.797 GB, free: 55.01 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.005961/7.446, allocations: 4.442 MB / 3.801 GB, free: 52.52 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/7.447, allocations: 0.8077 MB / 3.802 GB, free: 52.49 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005114/7.448, allocations: 365.6 kB / 3.802 GB, free: 52.48 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1412/7.589, allocations: 80.06 MB / 3.88 GB, free: 34.27 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/7.589, allocations: 42.5 kB / 3.88 GB, free: 34.22 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=72): time 3.186e-06/7.589, allocations: 0 / 3.88 GB, free: 34.22 MB / 0.5421 GB Notification: Performance of matching and sorting (n=72): time 0.004668/7.594, allocations: 1.548 MB / 3.882 GB, free: 34.12 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/7.594, allocations: 60.12 kB / 3.882 GB, free: 34.05 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/7.594, allocations: 350.5 kB / 3.882 GB, free: 33.95 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0001066/7.594, allocations: 25.7 kB / 3.882 GB, free: 33.91 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/7.595, allocations: 366.6 kB / 3.883 GB, free: 33.71 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/7.595, allocations: 241.1 kB / 3.883 GB, free: 33.56 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/7.595, allocations: 4 kB / 3.883 GB, free: 33.55 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001561/7.595, allocations: 372.2 kB / 3.883 GB, free: 33.24 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000652/7.596, allocations: 0.5294 MB / 3.884 GB, free: 33.24 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/7.597, allocations: 0.6558 MB / 3.884 GB, free: 33.09 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/7.599, allocations: 0.696 MB / 3.885 GB, free: 33.08 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/7.599, allocations: 3.625 kB / 3.885 GB, free: 33.08 MB / 0.5421 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004788/7.604, allocations: 2.052 MB / 3.887 GB, free: 32.98 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003557/7.604, allocations: 0.8722 MB / 3.888 GB, free: 32.07 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/7.604, allocations: 3.938 kB / 3.888 GB, free: 32.07 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003595/7.608, allocations: 1.54 MB / 3.889 GB, free: 31.99 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/7.608, allocations: 90.39 kB / 3.889 GB, free: 31.99 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004879/7.613, allocations: 2.528 MB / 3.892 GB, free: 31.45 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/7.614, allocations: 117 kB / 3.892 GB, free: 31.41 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/7.614, allocations: 78.33 kB / 3.892 GB, free: 31.41 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/7.614, allocations: 2.031 kB / 3.892 GB, free: 31.41 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0045/7.619, allocations: 1.931 MB / 3.894 GB, free: 31.38 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/7.619, allocations: 4.156 kB / 3.894 GB, free: 31.38 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003183/7.622, allocations: 1.542 MB / 3.896 GB, free: 31.3 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/7.623, allocations: 86.58 kB / 3.896 GB, free: 31.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0046/7.627, allocations: 2.527 MB / 3.898 GB, free: 30.75 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/7.628, allocations: 107.9 kB / 3.898 GB, free: 30.72 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/7.628, allocations: 78.66 kB / 3.898 GB, free: 30.72 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * 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 {4 41} Notification: Performance of prepare postOptimizeDAE: time 0.00033/7.629, allocations: 123.6 kB / 3.898 GB, free: 30.61 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/7.629, allocations: 58.53 kB / 3.898 GB, free: 30.57 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007323/7.636, allocations: 8.765 MB / 3.907 GB, free: 29.21 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/7.636, allocations: 30.41 kB / 3.907 GB, free: 29.21 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/7.636, allocations: 0 / 3.907 GB, free: 29.21 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/7.636, allocations: 7.734 kB / 3.907 GB, free: 29.21 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002974/7.639, allocations: 3.853 MB / 3.911 GB, free: 26.88 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/7.639, allocations: 0 / 3.911 GB, free: 26.88 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009379/7.64, allocations: 176.2 kB / 3.911 GB, free: 26.86 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/7.641, allocations: 295 kB / 3.911 GB, free: 26.8 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/7.641, allocations: 15.42 kB / 3.911 GB, free: 26.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/7.644, allocations: 2.354 MB / 3.914 GB, free: 25.17 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/7.644, allocations: 8.062 kB / 3.914 GB, free: 25.17 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003592/7.648, allocations: 2.541 MB / 3.916 GB, free: 24.02 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/7.649, allocations: 270.9 kB / 3.916 GB, free: 23.82 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/7.649, allocations: 7.938 kB / 3.916 GB, free: 23.81 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007978/7.649, allocations: 73.25 kB / 3.916 GB, free: 23.8 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/7.65, allocations: 60.77 kB / 3.916 GB, free: 23.79 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-05/7.65, allocations: 30.89 kB / 3.916 GB, free: 23.78 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.0002826/7.65, allocations: 270.1 kB / 3.917 GB, free: 23.63 MB / 0.5421 GB Notification: Performance of sort global known variables: time 2.7e-07/7.65, allocations: 0 / 3.917 GB, free: 23.63 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.005303/7.655, allocations: 1.394 MB / 3.918 GB, free: 23.38 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3]) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {(4,81.2%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007264/7.663, allocations: 1.692 MB / 3.92 GB, free: 22.98 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.004367/7.667, allocations: 2.227 MB / 3.922 GB, free: 22.22 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/7.667, allocations: 7.688 kB / 3.922 GB, free: 22.21 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001521/7.669, allocations: 0.9382 MB / 3.923 GB, free: 21.75 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/7.67, allocations: 246.4 kB / 3.923 GB, free: 21.58 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003514/7.674, allocations: 1.964 MB / 3.925 GB, free: 19.84 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/7.676, allocations: 1.142 MB / 3.926 GB, free: 34.83 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.001269/7.677, allocations: 338.8 kB / 3.926 GB, free: 34.62 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/7.677, allocations: 62.17 kB / 3.927 GB, free: 34.57 MB / 0.5577 GB Notification: Performance of SimCode: time 1.653e-06/7.677, allocations: 4 kB / 3.927 GB, free: 34.57 MB / 0.5577 GB Notification: Performance of Templates: time 0.3336/8.011, allocations: 56.43 MB / 3.982 GB, free: 99.89 MB / 0.5577 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1)