Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.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_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 180.8 kB / 8.344 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.909/1.909, 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.0009545/0.0009541, allocations: 81.73 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.6376/0.6376, allocations: 48.77 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.268e-05, allocations: 4 kB / 425.3 MB, free: 8.238 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 60.25 MB / 485.6 MB, free: 11.84 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.291/8.458, allocations: 2.965 GB / 3.439 GB, free: 41.39 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/8.458, allocations: 80.41 kB / 3.44 GB, free: 41.35 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.55/10.01, allocations: 376.1 MB / 3.807 GB, free: 59.88 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.585e-06/10.01, allocations: 0 / 3.807 GB, free: 59.88 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001729/10.01, allocations: 32.91 kB / 3.807 GB, free: 59.88 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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.016/10.02, allocations: 2.841 MB / 3.81 GB, free: 58.61 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/10.02, allocations: 7.188 kB / 3.81 GB, free: 58.61 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004754/10.03, allocations: 0.5801 MB / 3.81 GB, free: 58.42 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00528/10.04, allocations: 1.31 MB / 3.812 GB, free: 57.8 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/10.04, allocations: 59.72 kB / 3.812 GB, free: 57.8 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/10.04, allocations: 116.3 kB / 3.812 GB, free: 57.8 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007159/10.04, allocations: 3.581 MB / 3.815 GB, free: 56.57 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007821/10.05, allocations: 2.859 MB / 3.818 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.698e-05/10.05, allocations: 0 / 3.818 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006025/10.05, allocations: 0 / 3.818 GB, free: 55.51 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/10.05, allocations: 96.94 kB / 3.818 GB, free: 55.5 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.01629/10.07, allocations: 11.5 MB / 3.829 GB, free: 47.9 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005399/10.07, allocations: 3.024 MB / 3.832 GB, free: 46.7 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/10.08, allocations: 1.379 MB / 3.834 GB, free: 46.03 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6092/10.69, allocations: 112.8 MB / 3.944 GB, free: 39.45 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001028/10.69, allocations: 56.34 kB / 3.944 GB, free: 39.41 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=244): time 5.43e-06/10.69, allocations: 3.281 kB / 3.944 GB, free: 39.41 MB / 0.5265 GB Notification: Performance of matching and sorting (n=244): time 0.01802/10.7, allocations: 5.189 MB / 3.949 GB, free: 39.29 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.134e-05/10.7, allocations: 82.66 kB / 3.949 GB, free: 39.22 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009159/10.7, allocations: 399.6 kB / 3.949 GB, free: 39.12 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0009187/10.71, allocations: 26.83 kB / 3.949 GB, free: 39.09 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/10.71, allocations: 0.519 MB / 3.95 GB, free: 38.88 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.001241/10.71, allocations: 0.803 MB / 3.951 GB, free: 38.45 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/10.71, allocations: 0 / 3.951 GB, free: 38.45 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.000291/10.71, allocations: 433.8 kB / 3.951 GB, free: 38.13 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00264/10.71, allocations: 1.772 MB / 3.953 GB, free: 38.12 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002605/10.71, allocations: 2.028 MB / 3.955 GB, free: 37.91 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008933/10.72, allocations: 2.612 MB / 3.957 GB, free: 37.86 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.283e-05/10.72, allocations: 3.938 kB / 3.957 GB, free: 37.86 MB / 0.5265 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01813/10.74, allocations: 6.889 MB / 3.964 GB, free: 37.65 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006148/10.74, allocations: 1.407 MB / 3.965 GB, free: 36.17 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/10.74, allocations: 3.938 kB / 3.965 GB, free: 36.17 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01813/10.76, allocations: 6.059 MB / 3.971 GB, free: 35.95 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/10.76, allocations: 111.4 kB / 3.971 GB, free: 35.95 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01991/10.78, allocations: 8.801 MB / 3.98 GB, free: 35.31 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/10.78, allocations: 265.7 kB / 3.98 GB, free: 35.25 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/10.78, allocations: 205.7 kB / 3.981 GB, free: 35.25 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/10.78, allocations: 3.188 kB / 3.981 GB, free: 35.25 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01687/10.8, allocations: 6.696 MB / 3.987 GB, free: 35.13 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.454e-05/10.8, allocations: 3.906 kB / 3.987 GB, free: 35.13 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01876/10.82, allocations: 6.058 MB / 3.993 GB, free: 34.9 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/10.82, allocations: 114.2 kB / 3.993 GB, free: 34.9 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/10.84, allocations: 8.803 MB / 4.002 GB, free: 34.27 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002946/10.84, allocations: 252 kB / 4.002 GB, free: 34.21 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000745/10.85, allocations: 208.6 kB / 4.002 GB, free: 34.21 MB / 0.5265 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 (hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.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 (63): * Single equations (assignments): 62 * 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 202} Notification: Performance of prepare postOptimizeDAE: time 0.001165/10.85, allocations: 118.1 kB / 4.002 GB, free: 34.1 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007361/10.85, allocations: 120.1 kB / 4.002 GB, free: 34.04 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03072/10.88, allocations: 22.91 MB / 4.025 GB, free: 26.37 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.793e-05/10.88, allocations: 59.27 kB / 4.025 GB, free: 26.36 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.074e-05/10.88, allocations: 7.875 kB / 4.025 GB, free: 26.36 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.205e-05/10.88, allocations: 11.3 kB / 4.025 GB, free: 26.36 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/10.89, allocations: 9.583 MB / 4.034 GB, free: 19.02 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/10.89, allocations: 0 / 4.034 GB, free: 19.02 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003537/10.89, allocations: 0.5026 MB / 4.035 GB, free: 18.67 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003759/10.9, allocations: 0.9533 MB / 4.036 GB, free: 18.05 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001002/10.9, allocations: 58.03 kB / 4.036 GB, free: 18.01 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009115/10.91, allocations: 5.532 MB / 4.041 GB, free: 13.2 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/10.91, allocations: 0 / 4.041 GB, free: 13.2 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02069/10.93, allocations: 8 MB / 4.049 GB, free: 6.172 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002422/10.93, allocations: 0.6242 MB / 4.049 GB, free: 5.625 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/10.93, allocations: 10.95 kB / 4.049 GB, free: 5.617 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003229/10.94, allocations: 130.7 kB / 4.05 GB, free: 5.527 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/10.94, allocations: 176.8 kB / 4.05 GB, free: 5.422 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006393/10.94, allocations: 87.67 kB / 4.05 GB, free: 5.355 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.0007265/10.94, allocations: 308.7 kB / 4.05 GB, free: 5.078 MB / 0.5265 GB Notification: Performance of sort global known variables: time 2.3e-07/10.94, allocations: 0 / 4.05 GB, free: 5.078 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.01466/10.95, allocations: 2.114 MB / 4.052 GB, free: 3.109 MB / 0.5265 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.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,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (229): * Single equations (assignments): 216 * 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.01253/10.96, allocations: 1.713 MB / 4.054 GB, free: 1.863 MB / 0.5265 GB Notification: Performance of simCode: created initialization part: time 0.02768/10.99, allocations: 7.714 MB / 4.061 GB, free: 13.19 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/10.99, allocations: 4.312 kB / 4.061 GB, free: 13.18 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.006924/11, allocations: 2.67 MB / 4.064 GB, free: 10.78 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/11, allocations: 0.5125 MB / 4.065 GB, free: 10.43 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009559/11.01, allocations: 5.02 MB / 4.069 GB, free: 6.062 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/11.02, allocations: 1.709 MB / 4.071 GB, free: 4.637 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.002763/11.02, allocations: 0.6826 MB / 4.072 GB, free: 4.184 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007161/11.02, allocations: 152.9 kB / 4.072 GB, free: 4.062 MB / 0.5421 GB Notification: Performance of SimCode: time 1.062e-06/11.02, allocations: 0 / 4.072 GB, free: 4.062 MB / 0.5421 GB Notification: Performance of Templates: time 0.6132/11.63, allocations: 122.7 MB / 4.192 GB, free: 74.53 MB / 0.5421 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe 2>&1)