Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") translateModel(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.311/1.311, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001071/0.001071, allocations: 179.8 kB / 326.5 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.607/1.607, allocations: 205 MB / 0.5767 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007477/0.0007477, allocations: 89.11 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002967/0.0002969, allocations: 8.75 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1841, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall): time 2.339/2.523, allocations: 0.9723 GB / 1.869 GB, free: 25.91 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.1929/2.716, allocations: 168.3 MB / 2.033 GB, free: 0.6992 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.03791/2.754, allocations: 0.8208 MB / 2.034 GB, free: 0.6992 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.03431/2.788, allocations: 9.414 MB / 2.043 GB, free: 11.82 MB / 1.057 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Experimental/DistrictHeatingCooling/SubStations/VaporCompression/BaseClasses/getPeakLoad.mo:2:1-88:16:writable] Warning: Pure function ‘Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.BaseClasses.getPeakLoad‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.09196/2.88, allocations: 29.21 MB / 2.072 GB, free: 9.816 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.04287/2.923, allocations: 17.72 MB / 2.089 GB, free: 10.25 MB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 1.235/4.158, allocations: 130.4 MB / 2.217 GB, free: 13.19 MB / 1.214 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04216/4.201, allocations: 18.19 MB / 2.234 GB, free: 11.18 MB / 1.229 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04604/4.247, allocations: 19.6 MB / 2.253 GB, free: 8.457 MB / 1.245 GB Notification: Performance of NFSimplifyModel.simplify: time 1.347/5.594, allocations: 15.57 MB / 2.269 GB, free: 80.76 MB / 1.245 GB Notification: Performance of NFPackage.collectConstants: time 0.007234/5.601, allocations: 0.7839 MB / 2.269 GB, free: 80.76 MB / 1.245 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03404/5.635, allocations: 12 MB / 2.281 GB, free: 80.76 MB / 1.245 GB Notification: Performance of NFScalarize.scalarize: time 0.00976/5.645, allocations: 4.476 MB / 2.285 GB, free: 80.76 MB / 1.245 GB Notification: Performance of NFVerifyModel.verify: time 0.02547/5.671, allocations: 11.2 MB / 2.296 GB, free: 80.76 MB / 1.245 GB Notification: Performance of NFConvertDAE.convert: time 0.0594/5.73, allocations: 39.73 MB / 2.335 GB, free: 77.05 MB / 1.245 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/5.73, allocations: 3.562 kB / 2.335 GB, free: 77.05 MB / 1.245 GB Notification: Performance of FrontEnd: time 1.633e-06/5.73, allocations: 0 / 2.335 GB, free: 77.05 MB / 1.245 GB Notification: Performance of Transformations before backend: time 0.001208/5.731, allocations: 0 / 2.335 GB, free: 77.05 MB / 1.245 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3494 * Number of variables: 3494 Notification: Performance of Generate backend data structure: time 0.05188/5.783, allocations: 20.64 MB / 2.355 GB, free: 67.75 MB / 1.245 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/5.783, allocations: 10.28 kB / 2.355 GB, free: 67.75 MB / 1.245 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03296/5.816, allocations: 6.705 MB / 2.362 GB, free: 66.32 MB / 1.245 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04435/5.861, allocations: 20.76 MB / 2.382 GB, free: 63.07 MB / 1.245 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00421/5.865, allocations: 1.858 MB / 2.384 GB, free: 62.97 MB / 1.245 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004465/5.869, allocations: 1.408 MB / 2.385 GB, free: 62.96 MB / 1.245 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0387/5.908, allocations: 18.05 MB / 2.403 GB, free: 60.88 MB / 1.245 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/5.908, allocations: 27.84 kB / 2.403 GB, free: 60.88 MB / 1.245 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/5.91, allocations: 0.5692 MB / 2.404 GB, free: 60.88 MB / 1.245 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002815/5.91, allocations: 0.5057 MB / 2.404 GB, free: 60.85 MB / 1.245 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03867/5.949, allocations: 16.72 MB / 2.42 GB, free: 59.38 MB / 1.245 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.1301/6.079, allocations: 88.85 MB / 2.507 GB, free: 3.238 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03252/6.112, allocations: 13.3 MB / 2.52 GB, free: 0.5938 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01445/6.126, allocations: 6.245 MB / 2.526 GB, free: 13.43 MB / 1.261 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.04834/6.175, allocations: 25.19 MB / 2.551 GB, free: 10.88 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01636/6.191, allocations: 6.629 MB / 2.557 GB, free: 6.098 MB / 1.276 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01029/6.201, allocations: 1.362 MB / 2.559 GB, free: 4.914 MB / 1.276 GB Notification: Performance of pre-optimization done (n=794): time 3.545e-05/6.201, allocations: 3.938 kB / 2.559 GB, free: 4.91 MB / 1.276 GB Notification: Performance of matching and sorting (n=804): time 0.3208/6.522, allocations: 86.16 MB / 2.643 GB, free: 14.88 MB / 1.37 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002702/6.523, allocations: 0.5965 MB / 2.643 GB, free: 14.16 MB / 1.37 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03735/6.56, allocations: 15.73 MB / 2.659 GB, free: 14.57 MB / 1.386 GB Notification: Performance of collectPreVariables (initialization): time 0.002373/6.562, allocations: 221.7 kB / 2.659 GB, free: 14.34 MB / 1.386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0122/6.575, allocations: 9.699 MB / 2.668 GB, free: 4.68 MB / 1.386 GB Notification: Performance of collectInitialBindings (initialization): time 0.00435/6.579, allocations: 2.739 MB / 2.671 GB, free: 1.965 MB / 1.386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002771/6.582, allocations: 0.7954 MB / 2.672 GB, free: 1.164 MB / 1.386 GB Notification: Performance of setup shared object (initialization): time 9.673e-05/6.582, allocations: 305.1 kB / 2.672 GB, free: 0.8633 MB / 1.386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01468/6.597, allocations: 5.494 MB / 2.678 GB, free: 11.36 MB / 1.401 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01827/6.615, allocations: 9.229 MB / 2.687 GB, free: 0.6289 MB / 1.401 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.135/6.75, allocations: 42.47 MB / 2.728 GB, free: 5.336 MB / 1.448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.043e-05/6.75, allocations: 24 kB / 2.728 GB, free: 5.312 MB / 1.448 GB Notification: Performance of matching and sorting (n=1282) (initialization): time 0.05225/6.802, allocations: 17.81 MB / 2.745 GB, free: 3.93 MB / 1.464 GB Notification: Performance of prepare postOptimizeDAE: time 0.00177/6.804, allocations: 2.579 MB / 2.748 GB, free: 260 kB / 1.464 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001287/6.804, allocations: 80 kB / 2.748 GB, free: 180 kB / 1.464 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/6.821, allocations: 5.257 MB / 2.753 GB, free: 10.91 MB / 1.479 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0104/6.831, allocations: 2.322 MB / 2.755 GB, free: 8.719 MB / 1.479 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03541/6.866, allocations: 15.35 MB / 2.77 GB, free: 9.043 MB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01998/6.886, allocations: 1.85 MB / 2.772 GB, free: 7.195 MB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002435/6.889, allocations: 0.5165 MB / 2.773 GB, free: 6.68 MB / 1.495 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/6.889, allocations: 4 kB / 2.773 GB, free: 6.676 MB / 1.495 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7378/7.627, allocations: 15.45 MB / 2.788 GB, free: 0.8074 GB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002288/7.627, allocations: 80.81 kB / 2.788 GB, free: 0.8074 GB / 1.495 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/7.639, allocations: 3.923 MB / 2.792 GB, free: 0.8074 GB / 1.495 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01078/7.649, allocations: 2.408 MB / 2.794 GB, free: 0.8074 GB / 1.495 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03082/7.68, allocations: 14.2 MB / 2.808 GB, free: 0.8031 GB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0193/7.7, allocations: 1.825 MB / 2.81 GB, free: 0.8031 GB / 1.495 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002697/7.702, allocations: 0.5007 MB / 2.81 GB, free: 0.8031 GB / 1.495 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 ($PRE.watTem.nextTimeEvent,$whenCondition5,$PRE.ret.loa.nextTimeEvent,$whenCondition4,$PRE.larOff.loa.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,watTem.nextTimeEventScaled,$PRE.watTem.nextTimeEventScaled,watTem.nextTimeEvent,ret.loa.nextTimeEventScaled,$PRE.ret.loa.nextTimeEventScaled,ret.loa.nextTimeEvent,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,larOff.loa.nextTimeEventScaled,$PRE.larOff.loa.nextTimeEventScaled,larOff.loa.nextTimeEvent,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1112): * Single equations (assignments): 1100 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (2,22), (8,124)} Notification: Performance of prepare postOptimizeDAE: time 0.01164/7.714, allocations: 4.19 MB / 2.814 GB, free: 0.8029 GB / 1.495 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005216/7.719, allocations: 1.717 MB / 2.816 GB, free: 0.8029 GB / 1.495 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04376/7.763, allocations: 17.02 MB / 2.833 GB, free: 0.7991 GB / 1.495 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03137/7.794, allocations: 12.37 MB / 2.845 GB, free: 0.7953 GB / 1.495 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-05/7.794, allocations: 7.156 kB / 2.845 GB, free: 0.7953 GB / 1.495 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01017/7.805, allocations: 3.266 MB / 2.848 GB, free: 0.7941 GB / 1.495 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005509/7.81, allocations: 166.3 kB / 2.848 GB, free: 0.794 GB / 1.495 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01734/7.827, allocations: 1.738 MB / 2.85 GB, free: 0.7939 GB / 1.495 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001651/7.829, allocations: 0.4992 MB / 2.85 GB, free: 0.7938 GB / 1.495 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04716/7.876, allocations: 17 MB / 2.867 GB, free: 0.7893 GB / 1.495 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04316/7.919, allocations: 20.57 MB / 2.887 GB, free: 0.7824 GB / 1.495 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01248/7.932, allocations: 5.717 MB / 2.893 GB, free: 0.7804 GB / 1.495 GB Notification: Performance of sorting global known variables: time 0.02718/7.959, allocations: 10.62 MB / 2.903 GB, free: 0.7767 GB / 1.495 GB Notification: Performance of Backend: time 1.102e-06/7.959, allocations: 1.422 kB / 2.903 GB, free: 0.7767 GB / 1.495 GB Notification: Performance of simCode: created initialization part: time 0.06249/8.022, allocations: 21.66 MB / 2.924 GB, free: 0.7604 GB / 1.495 GB Notification: Performance of SimCode: time 0.08428/8.106, allocations: 46.05 MB / 2.969 GB, free: 0.719 GB / 1.495 GB Notification: Performance of Templates: time 0.5114/8.617, allocations: 417 MB / 3.376 GB, free: 325.2 MB / 1.495 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.Validation.HeatingCoolingHotWaterSmall.pipe 2>&1)