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.001523/0.001523, allocations: 181.3 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.929/1.929, 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.0008643/0.0008643, allocations: 76.8 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.5217/0.5217, allocations: 48.77 MB / 358.8 MB, free: 53.19 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.368e-05, allocations: 4 kB / 425.3 MB, free: 8.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 60.27 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.419/8.579, allocations: 2.965 GB / 3.439 GB, free: 101.5 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/8.579, allocations: 77.97 kB / 3.439 GB, free: 101.4 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.639/10.22, allocations: 370.7 MB / 3.801 GB, free: 56.9 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.244e-06/10.22, allocations: 0 / 3.801 GB, free: 56.9 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 9.171e-05/10.22, allocations: 36.41 kB / 3.801 GB, free: 56.9 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01111/10.23, allocations: 2.576 MB / 3.804 GB, free: 55.96 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/10.23, allocations: 7.75 kB / 3.804 GB, free: 55.96 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/10.23, allocations: 480 kB / 3.804 GB, free: 55.88 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/10.24, allocations: 1.14 MB / 3.806 GB, free: 55.57 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/10.24, allocations: 51.41 kB / 3.806 GB, free: 55.57 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/10.24, allocations: 93.16 kB / 3.806 GB, free: 55.57 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003993/10.24, allocations: 2.667 MB / 3.808 GB, free: 55.56 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003216/10.24, allocations: 2.242 MB / 3.81 GB, free: 55.36 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/10.24, allocations: 0 / 3.81 GB, free: 55.36 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/10.24, allocations: 2.562 kB / 3.81 GB, free: 55.36 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-05/10.24, allocations: 79.3 kB / 3.811 GB, free: 55.35 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.01143/10.25, allocations: 10.05 MB / 3.82 GB, free: 50.03 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/10.26, allocations: 2.155 MB / 3.822 GB, free: 49.95 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/10.26, allocations: 0.9426 MB / 3.823 GB, free: 49.94 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1485/10.41, allocations: 79.98 MB / 3.901 GB, free: 31.23 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.535e-05/10.41, allocations: 48.28 kB / 3.902 GB, free: 31.19 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=158): time 5.39e-06/10.41, allocations: 0 / 3.902 GB, free: 31.19 MB / 0.5421 GB Notification: Performance of matching and sorting (n=158): time 0.01182/10.42, allocations: 3.873 MB / 3.905 GB, free: 31.03 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/10.42, allocations: 72.97 kB / 3.905 GB, free: 30.96 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007181/10.42, allocations: 406.2 kB / 3.906 GB, free: 30.84 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0003587/10.42, allocations: 25.7 kB / 3.906 GB, free: 30.81 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/10.42, allocations: 0.5104 MB / 3.906 GB, free: 30.51 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006021/10.42, allocations: 0.5289 MB / 3.907 GB, free: 30.16 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/10.42, allocations: 0 / 3.907 GB, free: 30.16 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0002096/10.42, allocations: 399.6 kB / 3.907 GB, free: 29.84 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/10.42, allocations: 1.405 MB / 3.909 GB, free: 29.84 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/10.42, allocations: 1.62 MB / 3.91 GB, free: 29.64 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005868/10.43, allocations: 1.762 MB / 3.912 GB, free: 29.29 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/10.43, allocations: 0 / 3.912 GB, free: 29.29 MB / 0.5421 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01206/10.44, allocations: 5.157 MB / 3.917 GB, free: 27.57 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007845/10.44, allocations: 1.401 MB / 3.918 GB, free: 26.08 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/10.44, allocations: 5.75 kB / 3.918 GB, free: 26.08 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009696/10.45, allocations: 4.412 MB / 3.923 GB, free: 24.24 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000722/10.45, allocations: 121.5 kB / 3.923 GB, free: 24.15 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/10.47, allocations: 6.31 MB / 3.929 GB, free: 34.79 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/10.47, allocations: 241.6 kB / 3.929 GB, free: 34.6 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003502/10.47, allocations: 177.9 kB / 3.929 GB, free: 34.47 MB / 0.5577 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/10.47, allocations: 4 kB / 3.929 GB, free: 34.47 MB / 0.5577 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01272/10.48, allocations: 4.986 MB / 3.934 GB, free: 30.22 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/10.48, allocations: 7.938 kB / 3.934 GB, free: 30.21 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/10.49, allocations: 4.434 MB / 3.938 GB, free: 26.73 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/10.5, allocations: 119.5 kB / 3.939 GB, free: 26.64 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01549/10.51, allocations: 6.3 MB / 3.945 GB, free: 21.29 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/10.51, allocations: 222.9 kB / 3.945 GB, free: 21.12 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007342/10.51, allocations: 177.9 kB / 3.945 GB, free: 20.99 MB / 0.5577 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 () * 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.001219/10.52, allocations: 124.8 kB / 3.945 GB, free: 20.87 MB / 0.5577 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007936/10.52, allocations: 98.83 kB / 3.945 GB, free: 20.77 MB / 0.5577 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02798/10.54, allocations: 21.32 MB / 3.966 GB, free: 2.094 MB / 0.5577 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-05/10.54, allocations: 49.39 kB / 3.966 GB, free: 2.062 MB / 0.5577 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.785e-05/10.55, allocations: 8 kB / 3.966 GB, free: 2.055 MB / 0.5577 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.939e-05/10.55, allocations: 15.02 kB / 3.966 GB, free: 2.051 MB / 0.5577 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.444/10.99, allocations: 9.054 MB / 3.975 GB, free: 102.1 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/10.99, allocations: 0 / 3.975 GB, free: 102.1 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/10.99, allocations: 368.2 kB / 3.975 GB, free: 102.1 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004282/11, allocations: 0.9524 MB / 3.976 GB, free: 102.1 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008645/11, allocations: 45.25 kB / 3.976 GB, free: 102.1 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008835/11.01, allocations: 5.522 MB / 3.982 GB, free: 100.8 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/11.01, allocations: 0 / 3.982 GB, free: 100.8 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01293/11.02, allocations: 6.011 MB / 3.988 GB, free: 100.4 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/11.02, allocations: 480.3 kB / 3.988 GB, free: 100.2 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/11.02, allocations: 14.36 kB / 3.988 GB, free: 100.2 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/11.02, allocations: 133.2 kB / 3.988 GB, free: 100.2 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004988/11.02, allocations: 126.2 kB / 3.988 GB, free: 100.2 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001718/11.02, allocations: 65.17 kB / 3.988 GB, free: 100.2 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.0005364/11.02, allocations: 306.5 kB / 3.989 GB, free: 100.1 MB / 0.5577 GB Notification: Performance of sort global known variables: time 1.4e-07/11.02, allocations: 1.031 kB / 3.989 GB, free: 100.1 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.01025/11.03, allocations: 1.825 MB / 3.991 GB, free: 100 MB / 0.5577 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 () * 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.009866/11.04, allocations: 1.534 MB / 3.992 GB, free: 99.93 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.01279/11.06, allocations: 5.669 MB / 3.998 GB, free: 99.84 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/11.06, allocations: 6.125 kB / 3.998 GB, free: 99.84 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.004659/11.06, allocations: 2.161 MB / 4 GB, free: 99.69 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/11.06, allocations: 422 kB / 4 GB, free: 99.68 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/11.07, allocations: 4.292 MB / 4.004 GB, free: 99 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/11.08, allocations: 1.568 MB / 4.006 GB, free: 98.29 MB / 0.5577 GB Notification: Performance of simCode: alias equations: time 0.002885/11.08, allocations: 0.5121 MB / 4.006 GB, free: 98.27 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000641/11.08, allocations: 107 kB / 4.006 GB, free: 98.27 MB / 0.5577 GB Notification: Performance of SimCode: time 2.505e-06/11.08, allocations: 0 / 4.006 GB, free: 98.27 MB / 0.5577 GB Notification: Performance of Templates: time 0.1622/11.24, allocations: 101.7 MB / 4.106 GB, free: 84.75 MB / 0.5577 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)