Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.614/2.614, allocations: 287.5 MB / 303.2 MB, free: 8.219 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.001336/0.001335, allocations: 174.3 kB / 371.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 0.6305 GB, free: 10.57 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.001056/0.001056, allocations: 99.69 kB / 0.7438 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005216/0.0005217, allocations: 10.69 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2206, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.336/1.557, allocations: 447 MB / 1.416 GB, free: 15.74 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/1.557, allocations: 103.8 kB / 1.416 GB, free: 15.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.051/8.609, allocations: 1.274 GB / 2.69 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.925e-06/8.609, allocations: 1.625 kB / 2.69 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005655/8.609, allocations: 77.12 kB / 2.69 GB, free: 104.2 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.01278/8.622, allocations: 3.205 MB / 2.693 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/8.622, allocations: 10.53 kB / 2.693 GB, free: 102.9 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009114/8.631, allocations: 1.002 MB / 2.694 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/8.647, allocations: 2.949 MB / 2.697 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/8.648, allocations: 151 kB / 2.697 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/8.65, allocations: 198.2 kB / 2.697 GB, free: 102.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01703/8.667, allocations: 2.505 MB / 2.7 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.323e-05/8.667, allocations: 3.375 kB / 2.7 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003808/8.668, allocations: 77.06 kB / 2.7 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.648e-05/8.668, allocations: 51.25 kB / 2.7 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/8.679, allocations: 2.357 MB / 2.702 GB, free: 101.8 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.02655/8.705, allocations: 12.11 MB / 2.714 GB, free: 95.77 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/8.717, allocations: 2.107 MB / 2.716 GB, free: 95.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004049/8.721, allocations: 0.9443 MB / 2.717 GB, free: 95.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001476/8.723, allocations: 1.371 MB / 2.718 GB, free: 94.22 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.418e-05/8.723, allocations: 46.78 kB / 2.718 GB, free: 94.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002777/8.726, allocations: 273.5 kB / 2.719 GB, free: 94.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=105): time 7.594e-06/8.726, allocations: 2.625 kB / 2.719 GB, free: 94.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111): time 0.05717/8.783, allocations: 8.606 MB / 2.727 GB, free: 93.23 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/8.783, allocations: 166 kB / 2.727 GB, free: 93.04 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004911/8.788, allocations: 2.07 MB / 2.729 GB, free: 92.81 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005165/8.788, allocations: 51.36 kB / 2.729 GB, free: 92.78 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001295/8.79, allocations: 1.204 MB / 2.73 GB, free: 92.37 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006247/8.79, allocations: 387.8 kB / 2.731 GB, free: 92.12 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/8.791, allocations: 28.34 kB / 2.731 GB, free: 92.12 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.00012/8.791, allocations: 368 kB / 2.731 GB, free: 91.82 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004163/8.795, allocations: 0.8935 MB / 2.732 GB, free: 91.81 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004684/8.8, allocations: 1.37 MB / 2.733 GB, free: 91.29 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008144/8.808, allocations: 2.014 MB / 2.735 GB, free: 90.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-05/8.808, allocations: 3.906 kB / 2.735 GB, free: 90.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01484/8.823, allocations: 3.015 MB / 2.738 GB, free: 90.64 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002299/8.823, allocations: 361.9 kB / 2.739 GB, free: 90.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/8.823, allocations: 18.73 kB / 2.739 GB, free: 90.22 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/8.833, allocations: 1.407 MB / 2.74 GB, free: 90.15 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/8.836, allocations: 332.9 kB / 2.74 GB, free: 90.14 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02142/8.858, allocations: 6.08 MB / 2.746 GB, free: 88.17 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005656/8.863, allocations: 398.9 kB / 2.747 GB, free: 88.13 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005345/8.864, allocations: 75.02 kB / 2.747 GB, free: 88.13 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/8.864, allocations: 3.969 kB / 2.747 GB, free: 88.13 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01062/8.874, allocations: 2.337 MB / 2.749 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.034e-05/8.875, allocations: 8.594 kB / 2.749 GB, free: 88.04 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004769/8.879, allocations: 0.6769 MB / 2.75 GB, free: 88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/8.883, allocations: 397.7 kB / 2.75 GB, free: 87.99 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02084/8.904, allocations: 6.761 MB / 2.757 GB, free: 85.22 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005205/8.909, allocations: 347.8 kB / 2.757 GB, free: 85.18 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/8.909, allocations: 73.55 kB / 2.757 GB, free: 85.18 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 (125): * Single equations (assignments): 123 * 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 36} Notification: Performance of prepare postOptimizeDAE: time 0.001885/8.911, allocations: 0.6205 MB / 2.758 GB, free: 84.98 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006801/8.912, allocations: 234.2 kB / 2.758 GB, free: 84.86 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/8.922, allocations: 2.507 MB / 2.76 GB, free: 84.69 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.031e-05/8.922, allocations: 16.84 kB / 2.76 GB, free: 84.69 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/8.922, allocations: 0 / 2.76 GB, free: 84.69 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008298/8.93, allocations: 2.346 MB / 2.763 GB, free: 84.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/8.946, allocations: 4.863 MB / 2.767 GB, free: 83.73 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/8.946, allocations: 3.75 kB / 2.767 GB, free: 83.73 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002321/8.949, allocations: 259.6 kB / 2.768 GB, free: 83.73 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0053/8.954, allocations: 0.8102 MB / 2.768 GB, free: 83.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002154/8.954, allocations: 36.62 kB / 2.768 GB, free: 83.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/8.958, allocations: 1.498 MB / 2.77 GB, free: 83.12 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/8.958, allocations: 0 / 2.77 GB, free: 83.12 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0138/8.972, allocations: 3.558 MB / 2.773 GB, free: 82.13 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001831/8.974, allocations: 0.5145 MB / 2.774 GB, free: 81.76 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006886/8.975, allocations: 25.94 kB / 2.774 GB, free: 81.74 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003863/8.978, allocations: 310.3 kB / 2.774 GB, free: 81.69 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/8.979, allocations: 73.23 kB / 2.774 GB, free: 81.68 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/8.979, allocations: 48.42 kB / 2.774 GB, free: 81.67 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003177/8.982, allocations: 1.4 MB / 2.776 GB, free: 81.12 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.51e-07/8.982, allocations: 0 / 2.776 GB, free: 81.12 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006471/8.989, allocations: 1.277 MB / 2.777 GB, free: 80.92 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 (86): * Single equations (assignments): 78 * 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 37} Notification: Performance of Backend phase and start with SimCode phase: time 0.002405/8.991, allocations: 1.113 MB / 2.778 GB, free: 80.49 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01421/9.005, allocations: 3.808 MB / 2.782 GB, free: 79.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/9.005, allocations: 4.188 kB / 2.782 GB, free: 79.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.004036/9.009, allocations: 0.9972 MB / 2.783 GB, free: 78.81 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009755/9.019, allocations: 1.12 MB / 2.784 GB, free: 78.57 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01976/9.039, allocations: 5.757 MB / 2.789 GB, free: 75.62 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/9.041, allocations: 1.623 MB / 2.791 GB, free: 74.82 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003963/9.045, allocations: 485 kB / 2.791 GB, free: 74.73 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008616/9.045, allocations: 174.5 kB / 2.792 GB, free: 74.71 MB / 0.9636 GB Notification: Performance of SimCode: time 1.272e-06/9.045, allocations: 0 / 2.792 GB, free: 74.71 MB / 0.9636 GB Notification: Performance of Templates: time 0.1428/9.188, allocations: 61.43 MB / 2.852 GB, free: 34.11 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Plants.Validation.LakeWaterHeatExchanger_T_Cooling.pipe 2>&1)