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.001256/0.001256, allocations: 180.3 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.378/1.378, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008901/0.0008901, allocations: 102.6 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.3924/0.3924, allocations: 48.78 MB / 367.9 MB, free: 47.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003332, allocations: 8 kB / 438.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1162, allocations: 60.25 MB / 498.9 MB, free: 14.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.377/5.493, allocations: 2.966 GB / 3.453 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/5.493, allocations: 84.98 kB / 3.454 GB, free: 57.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.076/6.569, allocations: 365.7 MB / 3.811 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.527e-06/6.569, allocations: 3.656 kB / 3.811 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001033/6.569, allocations: 14.31 kB / 3.811 GB, free: 57.14 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.008035/6.577, allocations: 1.824 MB / 3.812 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/6.577, allocations: 14.66 kB / 3.812 GB, free: 56.13 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/6.579, allocations: 245.8 kB / 3.813 GB, free: 56.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/6.581, allocations: 0.7155 MB / 3.813 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/6.581, allocations: 59.06 kB / 3.813 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/6.581, allocations: 90.34 kB / 3.814 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004671/6.586, allocations: 2.031 MB / 3.816 GB, free: 54.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/6.586, allocations: 3.938 kB / 3.816 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/6.586, allocations: 31.75 kB / 3.816 GB, free: 54.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-05/6.586, allocations: 40.34 kB / 3.816 GB, free: 54.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004285/6.591, allocations: 1.943 MB / 3.817 GB, free: 54.17 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.005407/6.596, allocations: 4.621 MB / 3.822 GB, free: 50.85 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/6.599, allocations: 1.331 MB / 3.823 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1351/6.734, allocations: 79.77 MB / 3.901 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.27e-05/6.734, allocations: 39.22 kB / 3.901 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=72): time 3.326e-06/6.734, allocations: 0 / 3.901 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of matching and sorting (n=72): time 0.0081/6.743, allocations: 2.529 MB / 3.904 GB, free: 5.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/6.743, allocations: 60.06 kB / 3.904 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006278/6.743, allocations: 490.2 kB / 3.904 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/6.743, allocations: 37.7 kB / 3.904 GB, free: 5.328 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/6.744, allocations: 359.6 kB / 3.905 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/6.744, allocations: 251.2 kB / 3.905 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.745e-05/6.744, allocations: 16 kB / 3.905 GB, free: 4.711 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001605/6.744, allocations: 378.8 kB / 3.905 GB, free: 4.332 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008956/6.745, allocations: 0.5641 MB / 3.906 GB, free: 3.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009464/6.746, allocations: 0.7078 MB / 3.906 GB, free: 3.008 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/6.747, allocations: 0.6083 MB / 3.907 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/6.747, allocations: 0 / 3.907 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003965/6.751, allocations: 2.056 MB / 3.909 GB, free: 336 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.2395/6.991, allocations: 0.8769 MB / 3.91 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/6.991, allocations: 4.281 kB / 3.91 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004478/6.995, allocations: 1.645 MB / 3.912 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/6.996, allocations: 90.72 kB / 3.912 GB, free: 77.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003678/6.999, allocations: 2.281 MB / 3.914 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/7.001, allocations: 136.5 kB / 3.914 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/7.001, allocations: 77.59 kB / 3.914 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/7.001, allocations: 7.219 kB / 3.914 GB, free: 77.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003849/7.005, allocations: 1.943 MB / 3.916 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/7.005, allocations: 1.406 kB / 3.916 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003822/7.008, allocations: 1.654 MB / 3.918 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/7.009, allocations: 85.5 kB / 3.918 GB, free: 77.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003134/7.012, allocations: 2.287 MB / 3.92 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/7.013, allocations: 139.6 kB / 3.92 GB, free: 76.72 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/7.013, allocations: 73.03 kB / 3.92 GB, free: 76.72 MB / 0.5261 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 () * Number of clocked 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.0006857/7.014, allocations: 345.6 kB / 3.92 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/7.014, allocations: 77.67 kB / 3.921 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008626/7.023, allocations: 8.56 MB / 3.929 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.538e-05/7.023, allocations: 25.12 kB / 3.929 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.313e-06/7.023, allocations: 0 / 3.929 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/7.023, allocations: 4.719 kB / 3.929 GB, free: 76.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002827/7.026, allocations: 4.018 MB / 3.933 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/7.026, allocations: 3.219 kB / 3.933 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009762/7.027, allocations: 175.4 kB / 3.933 GB, free: 75.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001064/7.028, allocations: 297.1 kB / 3.933 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.247e-05/7.028, allocations: 27.09 kB / 3.933 GB, free: 75.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/7.03, allocations: 2.496 MB / 3.936 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/7.03, allocations: 0 / 3.936 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/7.034, allocations: 2.658 MB / 3.938 GB, free: 73.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/7.034, allocations: 278.6 kB / 3.939 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/7.034, allocations: 20.55 kB / 3.939 GB, free: 73.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/7.035, allocations: 85.64 kB / 3.939 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/7.035, allocations: 56.19 kB / 3.939 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.286e-05/7.035, allocations: 27 kB / 3.939 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003661/7.036, allocations: 389.3 kB / 3.939 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.32e-07/7.036, allocations: 0 / 3.939 GB, free: 73.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004808/7.041, allocations: 1.436 MB / 3.941 GB, free: 73.5 MB / 0.5261 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 () * Number of clocked 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.004324/7.045, allocations: 1.558 MB / 3.942 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004022/7.049, allocations: 2.349 MB / 3.944 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/7.049, allocations: 0 / 3.944 GB, free: 73.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/7.05, allocations: 1.004 MB / 3.945 GB, free: 73.21 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001633/7.052, allocations: 352.5 kB / 3.946 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/7.055, allocations: 3.006 MB / 3.949 GB, free: 72.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/7.056, allocations: 1.142 MB / 3.95 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008265/7.057, allocations: 321.5 kB / 3.95 GB, free: 71.41 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/7.057, allocations: 70.92 kB / 3.95 GB, free: 71.4 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/7.057, allocations: 0 / 3.95 GB, free: 71.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.07369/7.131, allocations: 63.97 MB / 4.013 GB, free: 68.4 MB / 0.5261 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)