Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.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.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.719/1.719, allocations: 287.4 MB / 303.2 MB, free: 8.266 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.001069/0.001069, allocations: 180.9 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 1.571/1.571, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0007553/0.0007554, allocations: 96.34 kB / 0.7438 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004064, allocations: 14.52 kB / 0.8667 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2445, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 3.088/3.332, allocations: 0.9021 GB / 1.881 GB, free: 32.56 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.2515/3.584, allocations: 157.9 MB / 2.036 GB, free: 29.87 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04934/3.633, allocations: 0.7839 MB / 2.036 GB, free: 29.87 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.03628/3.67, allocations: 7.44 MB / 2.044 GB, free: 29.76 MB / 1.089 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Experimental/DHC/Loads/BaseClasses/getPeakLoad.mo:2:1-99:16:writable] Warning: Pure function ‘Buildings.Experimental.DHC.Loads.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.09817/3.768, allocations: 23.63 MB / 2.067 GB, free: 21.32 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.0508/3.819, allocations: 12.49 MB / 2.079 GB, free: 17.98 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.173/3.992, allocations: 117.6 MB / 2.194 GB, free: 12.5 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05537/4.047, allocations: 18.2 MB / 2.211 GB, free: 10.48 MB / 1.182 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05597/4.103, allocations: 18.32 MB / 2.229 GB, free: 8.91 MB / 1.198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03549/4.139, allocations: 14.63 MB / 2.244 GB, free: 11.42 MB / 1.214 GB Notification: Performance of NFPackage.collectConstants: time 0.01074/4.149, allocations: 0.7852 MB / 2.244 GB, free: 10.63 MB / 1.214 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04198/4.191, allocations: 7.71 MB / 2.252 GB, free: 3.191 MB / 1.214 GB Notification: Performance of NFScalarize.scalarize: time 0.01346/4.205, allocations: 4.29 MB / 2.256 GB, free: 15 MB / 1.229 GB Notification: Performance of NFVerifyModel.verify: time 0.01802/4.223, allocations: 4.861 MB / 2.261 GB, free: 10.12 MB / 1.229 GB Notification: Performance of NFConvertDAE.convert: time 0.06467/4.288, allocations: 32.04 MB / 2.292 GB, free: 11.27 MB / 1.26 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/4.288, allocations: 4 kB / 2.292 GB, free: 11.27 MB / 1.26 GB Notification: Performance of FrontEnd: time 2.675e-06/4.288, allocations: 4 kB / 2.292 GB, free: 11.26 MB / 1.26 GB Notification: Performance of Transformations before backend: time 0.001747/4.29, allocations: 0 / 2.292 GB, free: 11.26 MB / 1.26 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3490 * Number of variables: 3490 Notification: Performance of Generate backend data structure: time 0.06979/4.359, allocations: 20.71 MB / 2.312 GB, free: 6.688 MB / 1.276 GB Notification: Performance of prepare preOptimizeDAE: time 6.02e-05/4.359, allocations: 12.03 kB / 2.312 GB, free: 6.676 MB / 1.276 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03773/4.397, allocations: 6.701 MB / 2.319 GB, free: 15.95 MB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.085/5.483, allocations: 20.77 MB / 2.339 GB, free: 0.6216 GB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005411/5.488, allocations: 1.848 MB / 2.341 GB, free: 0.6211 GB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006007/5.494, allocations: 1.409 MB / 2.342 GB, free: 0.6207 GB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06751/5.562, allocations: 17.96 MB / 2.36 GB, free: 0.6131 GB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001032/5.563, allocations: 31.92 kB / 2.36 GB, free: 0.613 GB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005296/5.568, allocations: 0.5673 MB / 2.361 GB, free: 0.6126 GB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008083/5.569, allocations: 0.5119 MB / 2.361 GB, free: 0.6126 GB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0554/5.624, allocations: 16.61 MB / 2.377 GB, free: 0.6071 GB / 1.292 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.141/5.765, allocations: 88.4 MB / 2.464 GB, free: 0.539 GB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0361/5.801, allocations: 13.44 MB / 2.477 GB, free: 0.5326 GB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01567/5.817, allocations: 6.232 MB / 2.483 GB, free: 0.5297 GB / 1.292 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 evalFunc (simulation): time 0.05521/5.872, allocations: 25.35 MB / 2.508 GB, free: 0.5052 GB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01796/5.89, allocations: 6.629 MB / 2.514 GB, free: 0.4987 GB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0136/5.904, allocations: 1.357 MB / 2.515 GB, free: 0.4975 GB / 1.292 GB Notification: Performance of pre-optimization done (n=792): time 4.022e-05/5.904, allocations: 0 / 2.515 GB, free: 0.4975 GB / 1.292 GB Notification: Performance of matching and sorting (n=802): time 0.3383/6.243, allocations: 86.06 MB / 2.599 GB, free: 423.1 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002138/6.243, allocations: 0.5899 MB / 2.6 GB, free: 422.4 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03804/6.281, allocations: 15.56 MB / 2.615 GB, free: 406.9 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002876/6.284, allocations: 229.5 kB / 2.615 GB, free: 406.7 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0113/6.295, allocations: 9.69 MB / 2.625 GB, free: 397 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.00454/6.3, allocations: 2.726 MB / 2.628 GB, free: 394.3 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/6.301, allocations: 203.8 kB / 2.628 GB, free: 394.1 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0005669/6.302, allocations: 0.692 MB / 2.628 GB, free: 393.4 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01391/6.316, allocations: 5.309 MB / 2.634 GB, free: 388.1 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/6.333, allocations: 9.049 MB / 2.642 GB, free: 377.5 MB / 1.292 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start (pla.sinCoo.p = pla.coo.con.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start (pla.sinHea.p = pla.hea.eva.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.132/6.465, allocations: 41.39 MB / 2.683 GB, free: 334.9 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.333e-05/6.466, allocations: 24 kB / 2.683 GB, free: 334.9 MB / 1.292 GB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.05142/6.517, allocations: 17.43 MB / 2.7 GB, free: 317.4 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001345/6.518, allocations: 2.586 MB / 2.702 GB, free: 313.7 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-05/6.519, allocations: 88 kB / 2.703 GB, free: 313.6 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01535/6.534, allocations: 5.066 MB / 2.707 GB, free: 308.5 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/6.544, allocations: 2.326 MB / 2.71 GB, free: 306.2 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03294/6.577, allocations: 15.33 MB / 2.725 GB, free: 290.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02173/6.599, allocations: 1.86 MB / 2.727 GB, free: 288.6 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003081/6.602, allocations: 0.5193 MB / 2.727 GB, free: 288.1 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/6.602, allocations: 4 kB / 2.727 GB, free: 288.1 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04497/6.647, allocations: 15.82 MB / 2.742 GB, free: 272.2 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002005/6.647, allocations: 80 kB / 2.743 GB, free: 272.2 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01102/6.658, allocations: 3.879 MB / 2.746 GB, free: 268.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01129/6.67, allocations: 2.395 MB / 2.749 GB, free: 265.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03018/6.7, allocations: 14.19 MB / 2.763 GB, free: 251.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02175/6.722, allocations: 1.823 MB / 2.764 GB, free: 249.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003044/6.725, allocations: 0.5037 MB / 2.765 GB, free: 249 MB / 1.292 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization sytem: pla.coo.con.vol.dynBal.medium.p = pla.coo.con.vol.dynBal.p_start pla.hea.eva.vol.dynBal.medium.p = pla.hea.eva.vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 368 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition5,$PRE.watTem.nextTimeEvent,$whenCondition4,$PRE.ret.loa.nextTimeEvent,$whenCondition1,$PRE.larOff.loa.nextTimeEvent,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,$whenCondition3,$whenCondition2,larOff.loa.nextTimeEvent,$PRE.larOff.loa.nextTimeEventScaled,larOff.loa.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,ret.loa.nextTimeEvent,$PRE.ret.loa.nextTimeEventScaled,ret.loa.nextTimeEventScaled,watTem.nextTimeEvent,$PRE.watTem.nextTimeEventScaled,watTem.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1110): * Single equations (assignments): 1098 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,2 22,8 124} Notification: Performance of prepare postOptimizeDAE: time 0.01245/6.737, allocations: 4.19 MB / 2.769 GB, free: 244.8 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005076/6.742, allocations: 1.713 MB / 2.771 GB, free: 243 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04367/6.786, allocations: 17.11 MB / 2.787 GB, free: 226 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0342/6.82, allocations: 12.44 MB / 2.799 GB, free: 213.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.19e-05/6.82, allocations: 0 / 2.799 GB, free: 213.5 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01426/6.835, allocations: 3.476 MB / 2.803 GB, free: 210 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008526/6.843, allocations: 156 kB / 2.803 GB, free: 209.8 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0199/6.863, allocations: 1.73 MB / 2.805 GB, free: 208.1 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002205/6.866, allocations: 0.4941 MB / 2.805 GB, free: 207.6 MB / 1.292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0578/6.923, allocations: 16.93 MB / 2.822 GB, free: 190.8 MB / 1.292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06299/6.986, allocations: 20.46 MB / 2.842 GB, free: 170.2 MB / 1.292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01477/7.001, allocations: 5.647 MB / 2.847 GB, free: 164.6 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.02663/7.028, allocations: 10.45 MB / 2.857 GB, free: 154.2 MB / 1.292 GB Notification: Performance of Backend: time 9.11e-07/7.028, allocations: 0 / 2.857 GB, free: 154.2 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.07714/7.105, allocations: 21.36 MB / 2.878 GB, free: 134 MB / 1.292 GB Notification: Performance of SimCode: time 0.1057/7.211, allocations: 44.4 MB / 2.922 GB, free: 89.58 MB / 1.292 GB Notification: Performance of Templates: time 1.584/8.794, allocations: 408.5 MB / 3.321 GB, free: 359.6 MB / 1.292 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe 2>&1)