Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 288.3 MB / 303.2 MB, free: 8.113 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 187.1 kB / 371.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.4 MB / 0.6306 GB, free: 9.969 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009125/0.0009122, allocations: 91.42 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004585/0.0004585, allocations: 18.62 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2935, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.233/1.526, allocations: 447.1 MB / 1.416 GB, free: 14.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/1.527, allocations: 101.3 kB / 1.416 GB, free: 14.75 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.042/6.569, allocations: 1.281 GB / 2.697 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.735e-06/6.569, allocations: 0 / 2.697 GB, free: 106.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005849/6.569, allocations: 73.47 kB / 2.698 GB, free: 106.3 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.0139/6.583, allocations: 3.236 MB / 2.701 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.975e-05/6.583, allocations: 9.906 kB / 2.701 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006448/6.59, allocations: 1.001 MB / 2.702 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008238/6.598, allocations: 2.955 MB / 2.705 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/6.598, allocations: 148.5 kB / 2.705 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004924/6.599, allocations: 203.6 kB / 2.705 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00596/6.605, allocations: 2.486 MB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.513e-05/6.605, allocations: 6.875 kB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/6.605, allocations: 79.48 kB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.966e-05/6.605, allocations: 53.23 kB / 2.707 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005613/6.611, allocations: 2.355 MB / 2.71 GB, free: 103.9 MB / 0.9636 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.019/6.63, allocations: 12.14 MB / 2.722 GB, free: 97.88 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006313/6.636, allocations: 2.107 MB / 2.724 GB, free: 97.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/6.637, allocations: 1.369 MB / 2.725 GB, free: 96.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.779e-05/6.638, allocations: 49.94 kB / 2.725 GB, free: 96.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002542/6.64, allocations: 281.3 kB / 2.725 GB, free: 96.24 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 5.37e-06/6.64, allocations: 3.75 kB / 2.725 GB, free: 96.24 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.03128/6.671, allocations: 8.294 MB / 2.733 GB, free: 95.35 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/6.672, allocations: 173 kB / 2.734 GB, free: 95.16 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004917/6.677, allocations: 1.866 MB / 2.735 GB, free: 94.94 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004728/6.677, allocations: 51.2 kB / 2.736 GB, free: 94.91 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009882/6.678, allocations: 1.195 MB / 2.737 GB, free: 94.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/6.678, allocations: 386.1 kB / 2.737 GB, free: 94.26 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.643e-05/6.679, allocations: 28.44 kB / 2.737 GB, free: 94.26 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001229/6.679, allocations: 361 kB / 2.737 GB, free: 93.96 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/6.681, allocations: 0.8952 MB / 2.738 GB, free: 93.95 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002415/6.683, allocations: 1.369 MB / 2.74 GB, free: 93.41 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002413/6.686, allocations: 0.9835 MB / 2.741 GB, free: 93.36 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/6.686, allocations: 3.562 kB / 2.741 GB, free: 93.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.008293/6.694, allocations: 2.997 MB / 2.744 GB, free: 93.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001053/6.695, allocations: 3.741 MB / 2.747 GB, free: 89.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/6.695, allocations: 11.81 kB / 2.747 GB, free: 89.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005505/6.701, allocations: 1.357 MB / 2.749 GB, free: 89.04 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/6.702, allocations: 333.5 kB / 2.749 GB, free: 89.03 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01317/6.716, allocations: 6.232 MB / 2.755 GB, free: 87.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004926/6.721, allocations: 389.2 kB / 2.755 GB, free: 87.02 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005445/6.721, allocations: 77.22 kB / 2.755 GB, free: 87.02 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/6.721, allocations: 6.125 kB / 2.755 GB, free: 87.01 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006058/6.727, allocations: 2.325 MB / 2.758 GB, free: 86.92 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/6.727, allocations: 7.75 kB / 2.758 GB, free: 86.92 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00271/6.73, allocations: 0.6652 MB / 2.758 GB, free: 86.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/6.732, allocations: 389.8 kB / 2.759 GB, free: 86.88 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/6.745, allocations: 6.861 MB / 2.765 GB, free: 84.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004477/6.749, allocations: 334.7 kB / 2.766 GB, free: 84.07 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004442/6.75, allocations: 74.45 kB / 2.766 GB, free: 84.07 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 124 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 16,3 35} Notification: Performance of prepare postOptimizeDAE: time 0.002271/6.752, allocations: 0.6267 MB / 2.766 GB, free: 83.88 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008904/6.753, allocations: 230.1 kB / 2.767 GB, free: 83.75 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006192/6.759, allocations: 2.502 MB / 2.769 GB, free: 83.57 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-05/6.759, allocations: 13.66 kB / 2.769 GB, free: 83.57 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/6.759, allocations: 0 / 2.769 GB, free: 83.57 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004548/6.764, allocations: 2.358 MB / 2.771 GB, free: 83.03 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01125/6.775, allocations: 4.88 MB / 2.776 GB, free: 80.97 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/6.775, allocations: 0 / 2.776 GB, free: 80.97 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/6.776, allocations: 261.1 kB / 2.776 GB, free: 80.96 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00306/6.779, allocations: 0.8034 MB / 2.777 GB, free: 80.8 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001647/6.78, allocations: 38.16 kB / 2.777 GB, free: 80.78 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002363/6.782, allocations: 1.484 MB / 2.779 GB, free: 79.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/6.782, allocations: 0 / 2.779 GB, free: 79.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008498/6.79, allocations: 3.601 MB / 2.782 GB, free: 78.45 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002214/6.793, allocations: 0.5209 MB / 2.783 GB, free: 78.07 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/6.793, allocations: 22.19 kB / 2.783 GB, free: 78.06 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002271/6.796, allocations: 314.8 kB / 2.783 GB, free: 78.01 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/6.796, allocations: 71.42 kB / 2.783 GB, free: 78 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/6.796, allocations: 56.84 kB / 2.783 GB, free: 77.98 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.002634/6.799, allocations: 1.435 MB / 2.784 GB, free: 77.41 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.01e-07/6.799, allocations: 0 / 2.784 GB, free: 77.41 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006155/6.805, allocations: 1.287 MB / 2.786 GB, free: 77.22 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (hex.valCoo.vol.dynBal.U,hex.valHea.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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 {3 36} Notification: Performance of Backend phase and start with SimCode phase: time 0.002493/6.807, allocations: 1.141 MB / 2.787 GB, free: 76.78 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.009598/6.817, allocations: 3.79 MB / 2.791 GB, free: 75.36 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/6.817, allocations: 3.906 kB / 2.791 GB, free: 75.35 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.002502/6.819, allocations: 0.9973 MB / 2.792 GB, free: 75.04 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006858/6.826, allocations: 1.133 MB / 2.793 GB, free: 74.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/6.84, allocations: 5.737 MB / 2.798 GB, free: 71.84 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/6.841, allocations: 1.678 MB / 2.8 GB, free: 71.03 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003282/6.845, allocations: 478.4 kB / 2.8 GB, free: 70.94 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006369/6.845, allocations: 182.3 kB / 2.801 GB, free: 70.92 MB / 0.9636 GB Notification: Performance of SimCode: time 1.312e-06/6.845, allocations: 6.297 kB / 2.801 GB, free: 70.92 MB / 0.9636 GB Notification: Performance of Templates: time 0.09681/6.942, allocations: 61.75 MB / 2.861 GB, free: 22.17 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)