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.001239/0.001239, allocations: 176.3 kB / 17.4 MB, free: 4.426 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.654/1.654, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0008333/0.0008333, allocations: 91.84 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5284/0.5284, allocations: 48.78 MB / 369 MB, free: 47.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004061/0.0004062, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1412, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.991/7.132, allocations: 2.966 GB / 3.455 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/7.133, allocations: 83.83 kB / 3.455 GB, free: 53.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.424/8.556, allocations: 381.4 MB / 3.827 GB, free: 59.83 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.613e-06/8.556, allocations: 3.938 kB / 3.827 GB, free: 59.83 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001172/8.556, allocations: 42.72 kB / 3.827 GB, free: 59.82 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.01429/8.571, allocations: 2.919 MB / 3.83 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/8.571, allocations: 10 kB / 3.83 GB, free: 58.49 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/8.575, allocations: 0.5808 MB / 3.831 GB, free: 58.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00429/8.579, allocations: 1.324 MB / 3.832 GB, free: 57.66 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/8.579, allocations: 142.3 kB / 3.832 GB, free: 57.59 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/8.58, allocations: 218 kB / 3.832 GB, free: 57.51 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/8.594, allocations: 5.189 MB / 3.837 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.729e-05/8.594, allocations: 0 / 3.837 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000567/8.595, allocations: 82.53 kB / 3.838 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/8.595, allocations: 93.81 kB / 3.838 GB, free: 55.59 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01195/8.607, allocations: 5.773 MB / 3.843 GB, free: 53.71 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.01575/8.623, allocations: 11.87 MB / 3.855 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009838/8.633, allocations: 4.327 MB / 3.859 GB, free: 42.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/8.635, allocations: 1.469 MB / 3.861 GB, free: 41.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4755/9.11, allocations: 112.4 MB / 3.97 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.309e-05/9.11, allocations: 63.12 kB / 3.97 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=244): time 4.398e-06/9.11, allocations: 0 / 3.97 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=244): time 0.02416/9.134, allocations: 7.898 MB / 3.978 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/9.135, allocations: 76.88 kB / 3.978 GB, free: 43.08 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/9.136, allocations: 0.555 MB / 3.979 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000485/9.136, allocations: 66.14 kB / 3.979 GB, free: 42.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000387/9.137, allocations: 0.5086 MB / 3.979 GB, free: 42.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009564/9.137, allocations: 0.8374 MB / 3.98 GB, free: 42.33 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/9.138, allocations: 47.34 kB / 3.98 GB, free: 42.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000179/9.138, allocations: 440 kB / 3.981 GB, free: 42.01 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003122/9.141, allocations: 1.853 MB / 3.982 GB, free: 42 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003224/9.144, allocations: 2.124 MB / 3.984 GB, free: 41.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005987/9.15, allocations: 4.041 MB / 3.988 GB, free: 41.58 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.026e-05/9.15, allocations: 4.75 kB / 3.988 GB, free: 41.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01006/9.16, allocations: 6.535 MB / 3.995 GB, free: 41.37 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/9.161, allocations: 199.9 kB / 3.995 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/9.161, allocations: 7.75 kB / 3.995 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04327/9.204, allocations: 9.146 MB / 4.004 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/9.204, allocations: 118.7 kB / 4.004 GB, free: 40.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/9.216, allocations: 7.55 MB / 4.011 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/9.219, allocations: 323.1 kB / 4.012 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003751/9.219, allocations: 207 kB / 4.012 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/9.22, allocations: 3.969 kB / 4.012 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0101/9.23, allocations: 6.383 MB / 4.018 GB, free: 39.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/9.23, allocations: 3.875 kB / 4.018 GB, free: 39.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04387/9.274, allocations: 9.149 MB / 4.027 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005726/9.274, allocations: 103 kB / 4.027 GB, free: 39.59 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01285/9.287, allocations: 7.547 MB / 4.034 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/9.29, allocations: 305.1 kB / 4.035 GB, free: 37.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/9.29, allocations: 207.1 kB / 4.035 GB, free: 37.47 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 () * Number of clocked 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.001677/9.292, allocations: 0.6135 MB / 4.036 GB, free: 37.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004708/9.292, allocations: 131.1 kB / 4.036 GB, free: 37.04 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02291/9.315, allocations: 21.99 MB / 4.057 GB, free: 27.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.741e-05/9.315, allocations: 54.77 kB / 4.057 GB, free: 27.12 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/9.315, allocations: 11.61 kB / 4.057 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.784e-05/9.316, allocations: 13.61 kB / 4.057 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/9.324, allocations: 9.928 MB / 4.067 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/9.324, allocations: 8 kB / 4.067 GB, free: 17.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002706/9.327, allocations: 0.4978 MB / 4.067 GB, free: 17.58 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/9.33, allocations: 0.9742 MB / 4.068 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/9.331, allocations: 91.98 kB / 4.068 GB, free: 16.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0075/9.338, allocations: 5.692 MB / 4.074 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/9.338, allocations: 1.875 kB / 4.074 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/9.349, allocations: 7.861 MB / 4.082 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/9.35, allocations: 0.6287 MB / 4.082 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/9.351, allocations: 59.7 kB / 4.082 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/9.352, allocations: 171.5 kB / 4.083 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004645/9.353, allocations: 164.1 kB / 4.083 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002005/9.353, allocations: 84.41 kB / 4.083 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004904/9.353, allocations: 388.2 kB / 4.083 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/9.353, allocations: 4 kB / 4.083 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008337/9.362, allocations: 2.226 MB / 4.085 GB, free: 1.723 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 () * Number of clocked 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.006955/9.369, allocations: 1.631 MB / 4.087 GB, free: 0.5977 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0186/9.387, allocations: 7.72 MB / 4.094 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.251e-06/9.387, allocations: 4 kB / 4.094 GB, free: 11.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/9.392, allocations: 2.785 MB / 4.097 GB, free: 8.695 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/9.396, allocations: 0.6591 MB / 4.098 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/9.406, allocations: 7.036 MB / 4.105 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/9.407, allocations: 1.673 MB / 4.106 GB, free: 0.5938 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002522/9.41, allocations: 0.651 MB / 4.107 GB, free: 156 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006939/9.411, allocations: 164.2 kB / 4.107 GB, free: 16 kB / 0.5417 GB Notification: Performance of SimCode: time 9.92e-07/9.411, allocations: 6.062 kB / 4.107 GB, free: 12 kB / 0.5417 GB Notification: Performance of Templates: time 0.4876/9.898, allocations: 133.9 MB / 4.238 GB, free: 87.54 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)