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.001342/0.001342, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.844/1.844, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.00097/0.0009705, allocations: 96.25 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6217/0.6217, allocations: 48.78 MB / 367.9 MB, free: 47.42 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003105/0.0003105, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.158, allocations: 60.24 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.363/7.521, allocations: 2.966 GB / 3.453 GB, free: 58.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/7.521, allocations: 86.3 kB / 3.453 GB, free: 58 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.467/8.989, allocations: 381.3 MB / 3.826 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.192e-06/8.989, allocations: 0 / 3.826 GB, free: 59.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.08e-05/8.989, allocations: 39.34 kB / 3.826 GB, free: 59.86 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.01317/9.002, allocations: 2.931 MB / 3.829 GB, free: 58.53 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/9.002, allocations: 15.34 kB / 3.829 GB, free: 58.52 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004038/9.006, allocations: 0.5793 MB / 3.829 GB, free: 58.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/9.01, allocations: 1.314 MB / 3.83 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/9.011, allocations: 145 kB / 3.831 GB, free: 57.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007633/9.011, allocations: 204.6 kB / 3.831 GB, free: 57.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/9.024, allocations: 5.178 MB / 3.836 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.757e-05/9.024, allocations: 7.234 kB / 3.836 GB, free: 55.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002589/9.025, allocations: 91.64 kB / 3.836 GB, free: 55.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001074/9.025, allocations: 92.47 kB / 3.836 GB, free: 55.62 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/9.039, allocations: 5.776 MB / 3.842 GB, free: 53.75 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.022/9.061, allocations: 11.87 MB / 3.853 GB, free: 45.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/9.074, allocations: 4.327 MB / 3.857 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5542/9.628, allocations: 112.4 MB / 3.967 GB, free: 45.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.575e-05/9.628, allocations: 59.47 kB / 3.967 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=244): time 5.6e-06/9.628, allocations: 1.031 kB / 3.967 GB, free: 45.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=244): time 0.02671/9.655, allocations: 7.876 MB / 3.975 GB, free: 45.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.881e-05/9.655, allocations: 78.69 kB / 3.975 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009221/9.656, allocations: 0.4925 MB / 3.976 GB, free: 45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008935/9.657, allocations: 66.02 kB / 3.976 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/9.657, allocations: 0.5106 MB / 3.976 GB, free: 44.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00143/9.659, allocations: 0.8338 MB / 3.977 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/9.659, allocations: 41.34 kB / 3.977 GB, free: 44.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002984/9.659, allocations: 446.4 kB / 3.977 GB, free: 44.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003157/9.662, allocations: 1.856 MB / 3.979 GB, free: 44.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003803/9.666, allocations: 2.117 MB / 3.981 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003893/9.67, allocations: 2.012 MB / 3.983 GB, free: 43.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/9.67, allocations: 5.375 kB / 3.983 GB, free: 43.74 MB / 0.5261 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01362/9.684, allocations: 6.535 MB / 3.99 GB, free: 43.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003734/9.684, allocations: 1.41 MB / 3.991 GB, free: 42.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/9.684, allocations: 8.781 kB / 3.991 GB, free: 42.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04934/9.733, allocations: 9.144 MB / 4 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007048/9.734, allocations: 112 kB / 4 GB, free: 41.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/9.747, allocations: 7.544 MB / 4.007 GB, free: 41.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003082/9.75, allocations: 319 kB / 4.008 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004263/9.751, allocations: 210 kB / 4.008 GB, free: 41 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/9.751, allocations: 3.844 kB / 4.008 GB, free: 41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01051/9.761, allocations: 6.385 MB / 4.014 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/9.761, allocations: 3.844 kB / 4.014 GB, free: 40.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04852/9.81, allocations: 9.144 MB / 4.023 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/9.81, allocations: 106.7 kB / 4.023 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01259/9.823, allocations: 7.55 MB / 4.031 GB, free: 39.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/9.826, allocations: 305.2 kB / 4.031 GB, free: 39.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/9.826, allocations: 202.7 kB / 4.031 GB, free: 39.12 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.001564/9.828, allocations: 0.6097 MB / 4.032 GB, free: 38.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004717/9.828, allocations: 128.8 kB / 4.032 GB, free: 38.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02172/9.85, allocations: 22 MB / 4.053 GB, free: 29.33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/9.85, allocations: 60.94 kB / 4.053 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/9.85, allocations: 7.469 kB / 4.053 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.191e-05/9.85, allocations: 10.97 kB / 4.053 GB, free: 29.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009073/9.859, allocations: 9.928 MB / 4.063 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.787e-05/9.859, allocations: 0 / 4.063 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003278/9.863, allocations: 0.5004 MB / 4.064 GB, free: 22.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003695/9.866, allocations: 0.9883 MB / 4.065 GB, free: 22.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006548/9.867, allocations: 78.89 kB / 4.065 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00798/9.875, allocations: 5.94 MB / 4.07 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/9.875, allocations: 0 / 4.07 GB, free: 17.15 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/9.887, allocations: 7.853 MB / 4.078 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/9.889, allocations: 0.6331 MB / 4.079 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/9.889, allocations: 57.02 kB / 4.079 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001886/9.891, allocations: 171.6 kB / 4.079 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005415/9.892, allocations: 168.8 kB / 4.079 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000218/9.892, allocations: 92.56 kB / 4.079 GB, free: 9.332 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005575/9.893, allocations: 388.4 kB / 4.08 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.61e-07/9.893, allocations: 0 / 4.08 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008832/9.901, allocations: 2.231 MB / 4.082 GB, free: 6.922 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.00843/9.91, allocations: 1.623 MB / 4.083 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.014/9.924, allocations: 7.421 MB / 4.091 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.837e-06/9.924, allocations: 0.8125 kB / 4.091 GB, free: 15.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005582/9.93, allocations: 2.79 MB / 4.093 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00383/9.933, allocations: 0.6348 MB / 4.094 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/9.944, allocations: 7.032 MB / 4.101 GB, free: 6.434 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/9.946, allocations: 1.722 MB / 4.102 GB, free: 5.004 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002548/9.948, allocations: 0.6528 MB / 4.103 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007474/9.949, allocations: 160.8 kB / 4.103 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of SimCode: time 1.162e-06/9.949, allocations: 0 / 4.103 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of Templates: time 0.5067/10.46, allocations: 131.4 MB / 4.232 GB, free: 65.69 MB / 0.5417 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)