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.001014/0.001015, allocations: 175.6 kB / 13.63 MB, free: 1.684 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.678/1.678, allocations: 205.2 MB / 219.4 MB, free: 14.19 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.0008966/0.0008967, allocations: 82.78 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3344/0.3344, allocations: 48.78 MB / 364.3 MB, free: 6.859 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.911e-05, allocations: 4 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 60.25 MB / 492.7 MB, free: 4.367 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.302/8.451, allocations: 2.966 GB / 3.447 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/8.451, allocations: 76.2 kB / 3.447 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.499/9.95, allocations: 374.6 MB / 3.813 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.945e-06/9.95, allocations: 0 / 3.813 GB, free: 55.24 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001461/9.951, allocations: 35.58 kB / 3.813 GB, free: 55.24 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.0123/9.963, allocations: 2.57 MB / 3.815 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/9.963, allocations: 9.484 kB / 3.815 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/9.966, allocations: 474.5 kB / 3.816 GB, free: 54.71 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003576/9.969, allocations: 1.141 MB / 3.817 GB, free: 54.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/9.97, allocations: 122.1 kB / 3.817 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003748/9.97, allocations: 173 kB / 3.817 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/9.981, allocations: 4.59 MB / 3.822 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/9.981, allocations: 1.938 kB / 3.822 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/9.981, allocations: 64.02 kB / 3.822 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/9.982, allocations: 88.45 kB / 3.822 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01211/9.994, allocations: 4.867 MB / 3.827 GB, free: 54.23 MB / 0.5105 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.01366/10.01, allocations: 10.37 MB / 3.837 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007683/10.02, allocations: 3.471 MB / 3.84 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/10.02, allocations: 0.9827 MB / 3.841 GB, free: 48.82 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1551/10.17, allocations: 79.96 MB / 3.919 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001037/10.17, allocations: 49.12 kB / 3.919 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=158): time 6.783e-06/10.17, allocations: 0 / 3.919 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=158): time 0.01863/10.19, allocations: 5.128 MB / 3.924 GB, free: 30.66 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/10.19, allocations: 67.44 kB / 3.924 GB, free: 30.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/10.19, allocations: 0.4993 MB / 3.925 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006716/10.19, allocations: 53.08 kB / 3.925 GB, free: 30.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004367/10.19, allocations: 0.5131 MB / 3.925 GB, free: 30.17 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001178/10.19, allocations: 0.5491 MB / 3.926 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/10.19, allocations: 28.75 kB / 3.926 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003444/10.19, allocations: 410.9 kB / 3.926 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002489/10.2, allocations: 1.428 MB / 3.928 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002626/10.2, allocations: 1.657 MB / 3.929 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/10.2, allocations: 1.52 MB / 3.931 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.398e-05/10.2, allocations: 0 / 3.931 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.009183/10.21, allocations: 5.043 MB / 3.936 GB, free: 29.11 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007266/10.21, allocations: 1.412 MB / 3.937 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/10.21, allocations: 3.625 kB / 3.937 GB, free: 27.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/10.22, allocations: 4.494 MB / 3.942 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006991/10.22, allocations: 122.1 kB / 3.942 GB, free: 27.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/10.23, allocations: 5.532 MB / 3.947 GB, free: 26.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/10.24, allocations: 273.9 kB / 3.947 GB, free: 26.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003454/10.24, allocations: 184.9 kB / 3.948 GB, free: 26.78 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/10.24, allocations: 6.969 kB / 3.948 GB, free: 26.78 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008525/10.24, allocations: 4.908 MB / 3.952 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/10.24, allocations: 3.938 kB / 3.952 GB, free: 26.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/10.25, allocations: 4.525 MB / 3.957 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005588/10.26, allocations: 117.5 kB / 3.957 GB, free: 26.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008719/10.26, allocations: 5.529 MB / 3.962 GB, free: 25.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/10.27, allocations: 261.1 kB / 3.962 GB, free: 25.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/10.27, allocations: 180.3 kB / 3.963 GB, free: 25.85 MB / 0.5417 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.0009681/10.27, allocations: 190.1 kB / 3.963 GB, free: 25.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005855/10.27, allocations: 97.25 kB / 3.963 GB, free: 25.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/10.29, allocations: 21.47 MB / 3.984 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.777e-05/10.29, allocations: 47.14 kB / 3.984 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/10.29, allocations: 11.94 kB / 3.984 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.839e-05/10.29, allocations: 7.547 kB / 3.984 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00787/10.3, allocations: 9.333 MB / 3.993 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/10.3, allocations: 0 / 3.993 GB, free: 2.863 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002122/10.3, allocations: 374.6 kB / 3.993 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00353/10.3, allocations: 0.9747 MB / 3.994 GB, free: 1.984 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/10.3, allocations: 67.53 kB / 3.994 GB, free: 1.941 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009181/10.31, allocations: 5.686 MB / 4 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/10.31, allocations: 3.188 kB / 4 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/10.32, allocations: 6.132 MB / 4.006 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/10.32, allocations: 490.2 kB / 4.006 GB, free: 7.238 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002662/10.32, allocations: 39.8 kB / 4.007 GB, free: 7.203 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00155/10.33, allocations: 164.6 kB / 4.007 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004093/10.33, allocations: 122.8 kB / 4.007 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/10.33, allocations: 58.58 kB / 4.007 GB, free: 6.973 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005986/10.33, allocations: 395.4 kB / 4.007 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/10.33, allocations: 0 / 4.007 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008374/10.34, allocations: 1.898 MB / 4.009 GB, free: 4.73 MB / 0.5573 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.007667/10.34, allocations: 1.422 MB / 4.01 GB, free: 3.66 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3708/10.71, allocations: 6.187 MB / 4.017 GB, free: 99.43 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/10.71, allocations: 1.094 kB / 4.017 GB, free: 99.43 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00601/10.72, allocations: 2.21 MB / 4.019 GB, free: 99.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/10.72, allocations: 0.5199 MB / 4.019 GB, free: 99.29 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008059/10.73, allocations: 4.386 MB / 4.023 GB, free: 98.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/10.73, allocations: 1.565 MB / 4.025 GB, free: 97.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002942/10.74, allocations: 0.5261 MB / 4.025 GB, free: 97.89 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/10.74, allocations: 106.3 kB / 4.026 GB, free: 97.89 MB / 0.5573 GB Notification: Performance of SimCode: time 2.775e-06/10.74, allocations: 0 / 4.026 GB, free: 97.89 MB / 0.5573 GB Notification: Performance of Templates: time 0.1473/10.88, allocations: 113.2 MB / 4.136 GB, free: 81.98 MB / 0.5573 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)