Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.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.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.539/1.539, allocations: 288.4 MB / 304.3 MB, free: 8.027 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.0009224/0.0009225, allocations: 172.5 kB / 372.9 MB, free: 10.16 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.306/1.306, allocations: 205.4 MB / 0.6316 GB, free: 9.938 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.000756/0.000756, allocations: 92.31 kB / 0.745 GB, free: 5.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004474/0.0004474, allocations: 11.41 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2024, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 2.669/2.871, allocations: 0.9021 GB / 1.883 GB, free: 32.5 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.2074/3.079, allocations: 157.9 MB / 2.037 GB, free: 29.63 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03664/3.116, allocations: 0.789 MB / 2.038 GB, free: 29.63 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.03189/3.147, allocations: 7.619 MB / 2.045 GB, free: 29.51 MB / 1.089 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.08024/3.228, allocations: 25.6 MB / 2.07 GB, free: 20.18 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.03952/3.267, allocations: 12.57 MB / 2.082 GB, free: 16.68 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.8426/4.11, allocations: 139.9 MB / 2.219 GB, free: 4.227 MB / 1.182 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05/4.16, allocations: 18.26 MB / 2.237 GB, free: 2.164 MB / 1.198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05306/4.213, allocations: 19.04 MB / 2.255 GB, free: 16 kB / 1.214 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03253/4.246, allocations: 14.63 MB / 2.27 GB, free: 2.527 MB / 1.229 GB Notification: Performance of NFPackage.collectConstants: time 0.009558/4.255, allocations: 0.7852 MB / 2.271 GB, free: 1.742 MB / 1.229 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0414/4.297, allocations: 11.82 MB / 2.282 GB, free: 6.93 MB / 1.245 GB Notification: Performance of NFScalarize.scalarize: time 0.01217/4.309, allocations: 4.292 MB / 2.286 GB, free: 2.734 MB / 1.245 GB Notification: Performance of NFVerifyModel.verify: time 0.03044/4.339, allocations: 10.72 MB / 2.297 GB, free: 8.074 MB / 1.26 GB Notification: Performance of NFConvertDAE.convert: time 0.05349/4.393, allocations: 32.79 MB / 2.329 GB, free: 8.512 MB / 1.292 GB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/4.393, allocations: 3.938 kB / 2.329 GB, free: 8.508 MB / 1.292 GB Notification: Performance of FrontEnd: time 2.855e-06/4.393, allocations: 1.75 kB / 2.329 GB, free: 8.508 MB / 1.292 GB Notification: Performance of Transformations before backend: time 0.001454/4.394, allocations: 0 / 2.329 GB, free: 8.508 MB / 1.292 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.8223/5.217, allocations: 20.7 MB / 2.349 GB, free: 0.6316 GB / 1.292 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/5.217, allocations: 8.344 kB / 2.349 GB, free: 0.6316 GB / 1.292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03567/5.252, allocations: 6.696 MB / 2.356 GB, free: 0.6303 GB / 1.292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04927/5.302, allocations: 20.79 MB / 2.376 GB, free: 0.6188 GB / 1.292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.005289/5.307, allocations: 1.85 MB / 2.378 GB, free: 0.6181 GB / 1.292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004732/5.312, allocations: 1.405 MB / 2.379 GB, free: 0.6177 GB / 1.292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04968/5.362, allocations: 17.96 MB / 2.397 GB, free: 0.607 GB / 1.292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005798/5.362, allocations: 35.44 kB / 2.397 GB, free: 0.607 GB / 1.292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003438/5.366, allocations: 0.5689 MB / 2.397 GB, free: 0.6066 GB / 1.292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003826/5.366, allocations: 0.5082 MB / 2.398 GB, free: 0.6065 GB / 1.292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04221/5.408, allocations: 16.61 MB / 2.414 GB, free: 0.5986 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.127/5.535, allocations: 88.4 MB / 2.5 GB, free: 0.5166 GB / 1.292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03202/5.567, allocations: 13.46 MB / 2.513 GB, free: 0.5037 GB / 1.292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01421/5.582, allocations: 6.22 MB / 2.519 GB, free: 0.4976 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.04741/5.629, allocations: 25.35 MB / 2.544 GB, free: 482.7 MB / 1.292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01616/5.645, allocations: 6.617 MB / 2.551 GB, free: 476 MB / 1.292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01129/5.657, allocations: 1.359 MB / 2.552 GB, free: 474.7 MB / 1.292 GB Notification: Performance of pre-optimization done (n=792): time 2.802e-05/5.657, allocations: 0 / 2.552 GB, free: 474.7 MB / 1.292 GB Notification: Performance of matching and sorting (n=802): time 0.3031/5.96, allocations: 86.07 MB / 2.636 GB, free: 388.1 MB / 1.292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/5.96, allocations: 0.5964 MB / 2.637 GB, free: 387.4 MB / 1.292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02709/5.987, allocations: 15.56 MB / 2.652 GB, free: 372 MB / 1.292 GB Notification: Performance of collectPreVariables (initialization): time 0.002197/5.989, allocations: 225.7 kB / 2.652 GB, free: 371.8 MB / 1.292 GB Notification: Performance of collectInitialEqns (initialization): time 0.008096/5.997, allocations: 9.686 MB / 2.661 GB, free: 362 MB / 1.292 GB Notification: Performance of collectInitialBindings (initialization): time 0.003318/6.001, allocations: 2.73 MB / 2.664 GB, free: 359.3 MB / 1.292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001499/6.002, allocations: 203.8 kB / 2.664 GB, free: 359.1 MB / 1.292 GB Notification: Performance of setup shared object (initialization): time 0.0004552/6.003, allocations: 0.6842 MB / 2.665 GB, free: 358.4 MB / 1.292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01284/6.016, allocations: 5.313 MB / 2.67 GB, free: 353.1 MB / 1.292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01503/6.031, allocations: 9.049 MB / 2.679 GB, free: 342.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.1239/6.155, allocations: 41.39 MB / 2.719 GB, free: 300 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.543e-05/6.155, allocations: 24 kB / 2.719 GB, free: 300 MB / 1.292 GB Notification: Performance of matching and sorting (n=1280) (initialization): time 0.04835/6.203, allocations: 17.43 MB / 2.736 GB, free: 282.5 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001221/6.204, allocations: 2.589 MB / 2.739 GB, free: 278.7 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/6.204, allocations: 84 kB / 2.739 GB, free: 278.7 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.015/6.219, allocations: 5.073 MB / 2.744 GB, free: 273.6 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/6.23, allocations: 2.317 MB / 2.746 GB, free: 271.3 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0339/6.264, allocations: 15.36 MB / 2.761 GB, free: 255.5 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02018/6.284, allocations: 1.855 MB / 2.763 GB, free: 253.7 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002628/6.287, allocations: 0.5154 MB / 2.764 GB, free: 253.2 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/6.287, allocations: 8 kB / 2.764 GB, free: 253.2 MB / 1.292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04274/6.329, allocations: 15.81 MB / 2.779 GB, free: 237.3 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/6.33, allocations: 90.11 kB / 2.779 GB, free: 237.2 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009789/6.339, allocations: 3.871 MB / 2.783 GB, free: 233.3 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/6.349, allocations: 2.403 MB / 2.785 GB, free: 230.9 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0281/6.378, allocations: 14.18 MB / 2.799 GB, free: 216.3 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01917/6.397, allocations: 1.818 MB / 2.801 GB, free: 214.5 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002122/6.399, allocations: 0.4959 MB / 2.801 GB, free: 214 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.0103/6.409, allocations: 4.19 MB / 2.805 GB, free: 209.8 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004117/6.413, allocations: 1.721 MB / 2.807 GB, free: 208.1 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03866/6.452, allocations: 17.1 MB / 2.824 GB, free: 191 MB / 1.292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03081/6.483, allocations: 12.45 MB / 2.836 GB, free: 178.5 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.481e-05/6.483, allocations: 0 / 2.836 GB, free: 178.5 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01072/6.494, allocations: 3.465 MB / 2.839 GB, free: 175 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005849/6.5, allocations: 152 kB / 2.84 GB, free: 174.9 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01796/6.518, allocations: 1.731 MB / 2.841 GB, free: 173.2 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001699/6.519, allocations: 0.5018 MB / 2.842 GB, free: 172.7 MB / 1.292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0473/6.567, allocations: 16.94 MB / 2.858 GB, free: 155.8 MB / 1.292 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04192/6.609, allocations: 20.47 MB / 2.878 GB, free: 135.3 MB / 1.292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01237/6.621, allocations: 5.647 MB / 2.884 GB, free: 129.6 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.01889/6.64, allocations: 10.45 MB / 2.894 GB, free: 119.3 MB / 1.292 GB Notification: Performance of Backend: time 1.092e-06/6.64, allocations: 2.625 kB / 2.894 GB, free: 119.3 MB / 1.292 GB Notification: Performance of simCode: created initialization part: time 0.05921/6.699, allocations: 21.56 MB / 2.915 GB, free: 98.8 MB / 1.292 GB Notification: Performance of SimCode: time 0.08384/6.783, allocations: 44.4 MB / 2.958 GB, free: 54.38 MB / 1.292 GB Notification: Performance of Templates: time 1.254/8.038, allocations: 412.7 MB / 3.361 GB, free: 318.9 MB / 1.292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe 2>&1)