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.001657/0.001657, allocations: 175.5 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.814/1.814, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0009565/0.0009564, allocations: 86.72 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3625/0.3625, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.4e-05, allocations: 0 / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1463, allocations: 60.26 MB / 492.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.682/7.828, allocations: 2.966 GB / 3.447 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002182/7.828, allocations: 83.56 kB / 3.447 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.501/9.329, allocations: 380.1 MB / 3.818 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.994e-06/9.33, allocations: 0 / 3.818 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.142e-05/9.33, allocations: 39.69 kB / 3.818 GB, free: 66.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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.01361/9.343, allocations: 2.838 MB / 3.821 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/9.343, allocations: 10 kB / 3.821 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003567/9.347, allocations: 0.5801 MB / 3.822 GB, free: 64.78 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003431/9.35, allocations: 1.313 MB / 3.823 GB, free: 64.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/9.35, allocations: 145.5 kB / 3.823 GB, free: 64.08 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004344/9.351, allocations: 203.2 kB / 3.823 GB, free: 64.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0119/9.363, allocations: 5.22 MB / 3.829 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/9.363, allocations: 3.844 kB / 3.829 GB, free: 61.62 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/9.363, allocations: 79.34 kB / 3.829 GB, free: 61.56 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.139e-05/9.363, allocations: 102.7 kB / 3.829 GB, free: 61.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01207/9.375, allocations: 5.793 MB / 3.834 GB, free: 57.95 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.01404/9.389, allocations: 11.84 MB / 3.846 GB, free: 45.19 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01034/9.4, allocations: 4.385 MB / 3.85 GB, free: 40.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/9.402, allocations: 1.44 MB / 3.852 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.588/9.99, allocations: 112.8 MB / 3.962 GB, free: 49.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/9.99, allocations: 57.5 kB / 3.962 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=244): time 8.556e-06/9.99, allocations: 0 / 3.962 GB, free: 49.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=244): time 0.02082/10.01, allocations: 6.062 MB / 3.968 GB, free: 48.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/10.01, allocations: 81.89 kB / 3.968 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/10.01, allocations: 499.1 kB / 3.968 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007402/10.01, allocations: 67.36 kB / 3.968 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003091/10.01, allocations: 0.5168 MB / 3.969 GB, free: 48.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009938/10.01, allocations: 0.8368 MB / 3.97 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/10.01, allocations: 41.95 kB / 3.97 GB, free: 48.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001738/10.01, allocations: 444.9 kB / 3.97 GB, free: 47.78 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00257/10.02, allocations: 1.811 MB / 3.972 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002645/10.02, allocations: 2.074 MB / 3.974 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/10.02, allocations: 1.975 MB / 3.976 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/10.02, allocations: 0 / 3.976 GB, free: 47.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01031/10.03, allocations: 6.434 MB / 3.982 GB, free: 47.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003162/10.03, allocations: 1.406 MB / 3.984 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/10.03, allocations: 3.438 kB / 3.984 GB, free: 45.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04543/10.08, allocations: 8.93 MB / 3.992 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/10.08, allocations: 116.4 kB / 3.992 GB, free: 45.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/10.09, allocations: 7.483 MB / 4 GB, free: 44.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/10.09, allocations: 323.6 kB / 4 GB, free: 44.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004401/10.1, allocations: 212.5 kB / 4 GB, free: 44.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/10.1, allocations: 6.938 kB / 4 GB, free: 44.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009969/10.11, allocations: 6.281 MB / 4.006 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/10.11, allocations: 6.75 kB / 4.006 GB, free: 44.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04546/10.15, allocations: 8.927 MB / 4.015 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/10.15, allocations: 111 kB / 4.015 GB, free: 44.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01706/10.17, allocations: 7.485 MB / 4.023 GB, free: 43.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/10.17, allocations: 306.9 kB / 4.023 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005707/10.17, allocations: 210.3 kB / 4.023 GB, free: 43.57 MB / 0.5261 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.0013/10.17, allocations: 199.3 kB / 4.023 GB, free: 43.47 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007326/10.18, allocations: 135.1 kB / 4.023 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02552/10.2, allocations: 22.69 MB / 4.045 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.724e-05/10.2, allocations: 57.77 kB / 4.046 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.918e-05/10.2, allocations: 11.38 kB / 4.046 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.712e-05/10.2, allocations: 11.86 kB / 4.046 GB, free: 27.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008901/10.21, allocations: 9.926 MB / 4.055 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/10.21, allocations: 8.094 kB / 4.055 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002907/10.21, allocations: 0.4969 MB / 4.056 GB, free: 18.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/10.22, allocations: 0.9722 MB / 4.057 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005743/10.22, allocations: 83.08 kB / 4.057 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/10.22, allocations: 5.673 MB / 4.062 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/10.22, allocations: 0 / 4.062 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01159/10.24, allocations: 7.765 MB / 4.07 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/10.24, allocations: 0.6308 MB / 4.071 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/10.24, allocations: 59.42 kB / 4.071 GB, free: 4.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/10.24, allocations: 169 kB / 4.071 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004911/10.24, allocations: 167.7 kB / 4.071 GB, free: 4.719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002214/10.24, allocations: 89.84 kB / 4.071 GB, free: 4.652 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005081/10.24, allocations: 386.2 kB / 4.071 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.21e-07/10.24, allocations: 0 / 4.071 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00922/10.25, allocations: 2.232 MB / 4.074 GB, free: 2.219 MB / 0.5261 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.01065/10.26, allocations: 1.623 MB / 4.075 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01789/10.28, allocations: 7.471 MB / 4.082 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/10.28, allocations: 0 / 4.082 GB, free: 11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005336/10.28, allocations: 2.729 MB / 4.085 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003628/10.29, allocations: 0.6456 MB / 4.086 GB, free: 8.066 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008915/10.3, allocations: 5.139 MB / 4.091 GB, free: 3.57 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/10.3, allocations: 1.719 MB / 4.092 GB, free: 2.141 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002605/10.3, allocations: 0.698 MB / 4.093 GB, free: 1.668 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007373/10.3, allocations: 147.7 kB / 4.093 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of SimCode: time 2.144e-06/10.3, allocations: 0 / 4.093 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of Templates: time 0.5263/10.83, allocations: 134.3 MB / 4.224 GB, free: 93.22 MB / 0.5573 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)