Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.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.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT") translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.329/1.329, 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.0011/0.0011, allocations: 177.1 kB / 326.5 MB, free: 2.711 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.544/1.544, allocations: 205 MB / 0.5766 GB, free: 20.95 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.0007182/0.0007182, allocations: 79.98 kB / 0.6804 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003097, allocations: 9.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1932, allocations: 105.4 MB / 0.8968 GB, free: 68.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT): time 0.643/0.8362, allocations: 251.8 MB / 1.143 GB, free: 31.25 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.2338/1.07, allocations: 205 MB / 1.343 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01578/1.086, allocations: 286.2 kB / 1.343 GB, free: 8.293 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.01239/1.098, allocations: 3.256 MB / 1.346 GB, free: 5.02 MB / 0.8542 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.02966/1.128, allocations: 9.357 MB / 1.355 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01662/1.145, allocations: 6.359 MB / 1.362 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 1.146/2.291, allocations: 52.15 MB / 1.413 GB, free: 30.36 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01267/2.304, allocations: 6.477 MB / 1.419 GB, free: 29.37 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0168/2.32, allocations: 6.407 MB / 1.425 GB, free: 29.34 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/2.332, allocations: 5.097 MB / 1.43 GB, free: 29.32 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.003211/2.335, allocations: 274.9 kB / 1.43 GB, free: 29.32 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/2.35, allocations: 4.051 MB / 1.434 GB, free: 29.32 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004399/2.354, allocations: 1.544 MB / 1.436 GB, free: 29.21 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.00992/2.364, allocations: 3.814 MB / 1.44 GB, free: 28 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02388/2.388, allocations: 13.89 MB / 1.453 GB, free: 26.64 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/2.388, allocations: 0 / 1.453 GB, free: 26.64 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.306e-06/2.388, allocations: 0 / 1.453 GB, free: 26.64 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005875/2.389, allocations: 0 / 1.453 GB, free: 26.64 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1205 * Number of variables: 1205 Notification: Performance of Generate backend data structure: time 0.01873/2.408, allocations: 7.388 MB / 1.46 GB, free: 23.08 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/2.408, allocations: 12.91 kB / 1.46 GB, free: 23.08 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/2.419, allocations: 2.207 MB / 1.463 GB, free: 22.57 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/2.435, allocations: 7.328 MB / 1.47 GB, free: 21.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001922/2.437, allocations: 0.7651 MB / 1.47 GB, free: 21.25 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/2.438, allocations: 492.6 kB / 1.471 GB, free: 21.25 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/2.452, allocations: 6.102 MB / 1.477 GB, free: 20.42 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/2.452, allocations: 11.62 kB / 1.477 GB, free: 20.42 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005758/2.453, allocations: 207.2 kB / 1.477 GB, free: 20.41 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.979e-05/2.453, allocations: 116.5 kB / 1.477 GB, free: 20.41 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01374/2.466, allocations: 5.793 MB / 1.483 GB, free: 20.29 MB / 0.9011 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.04187/2.508, allocations: 27.79 MB / 1.51 GB, free: 5.77 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01475/2.523, allocations: 4.862 MB / 1.515 GB, free: 4.801 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004665/2.528, allocations: 1.978 MB / 1.517 GB, free: 4.477 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01662/2.545, allocations: 9.143 MB / 1.526 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005971/2.551, allocations: 2.311 MB / 1.528 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003628/2.554, allocations: 379.4 kB / 1.528 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=287): time 2.241e-05/2.554, allocations: 3.984 kB / 1.528 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of matching and sorting (n=287): time 0.0317/2.586, allocations: 9.016 MB / 1.537 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002204/2.586, allocations: 319.6 kB / 1.537 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01525/2.602, allocations: 5.845 MB / 1.543 GB, free: 7.398 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001269/2.603, allocations: 99.45 kB / 1.543 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003418/2.606, allocations: 3.179 MB / 1.546 GB, free: 5.766 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001409/2.608, allocations: 0.9718 MB / 1.547 GB, free: 4.934 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/2.608, allocations: 295.4 kB / 1.547 GB, free: 4.754 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/2.608, allocations: 305.1 kB / 1.548 GB, free: 4.453 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004391/2.613, allocations: 1.851 MB / 1.55 GB, free: 3.176 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005685/2.618, allocations: 3.189 MB / 1.553 GB, free: 144 kB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/2.629, allocations: 4.72 MB / 1.557 GB, free: 12.42 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.333e-05/2.629, allocations: 8 kB / 1.557 GB, free: 12.41 MB / 0.9323 GB Notification: Performance of matching and sorting (n=455) (initialization): time 0.01725/2.646, allocations: 6.192 MB / 1.563 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006884/2.647, allocations: 0.9968 MB / 1.564 GB, free: 6.496 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/2.647, allocations: 32 kB / 1.564 GB, free: 6.465 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/2.65, allocations: 0.9501 MB / 1.565 GB, free: 5.672 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/2.654, allocations: 0.8825 MB / 1.566 GB, free: 4.867 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004008/2.658, allocations: 2.779 MB / 1.569 GB, free: 2.387 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006875/2.664, allocations: 0.5784 MB / 1.569 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009923/2.665, allocations: 197.6 kB / 1.57 GB, free: 1.707 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/2.666, allocations: 7.984 kB / 1.57 GB, free: 1.699 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01652/2.682, allocations: 5.475 MB / 1.575 GB, free: 12.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001085/2.682, allocations: 32 kB / 1.575 GB, free: 12.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/2.685, allocations: 0.9479 MB / 1.576 GB, free: 11.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003952/2.689, allocations: 0.8746 MB / 1.577 GB, free: 10.77 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004311/2.694, allocations: 2.783 MB / 1.579 GB, free: 7.926 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006796/2.7, allocations: 0.5739 MB / 1.58 GB, free: 7.355 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009597/2.701, allocations: 191.9 kB / 1.58 GB, free: 7.168 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.subSta.loa.nextTimeEvent,$whenCondition1,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,subSta.loa.nextTimeEventScaled,$PRE.subSta.loa.nextTimeEventScaled,subSta.loa.nextTimeEvent,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (419): * Single equations (assignments): 413 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,11), (1,11), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.004987/2.706, allocations: 1.541 MB / 1.582 GB, free: 5.668 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002498/2.709, allocations: 0.6367 MB / 1.582 GB, free: 5.023 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02028/2.729, allocations: 6.51 MB / 1.589 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01545/2.745, allocations: 5.008 MB / 1.594 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-05/2.745, allocations: 4 kB / 1.594 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00425/2.749, allocations: 1.246 MB / 1.595 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002233/2.751, allocations: 60 kB / 1.595 GB, free: 8.133 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005821/2.757, allocations: 0.5421 MB / 1.595 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006005/2.758, allocations: 201.1 kB / 1.596 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01789/2.776, allocations: 5.886 MB / 1.601 GB, free: 1.523 MB / 0.9636 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01806/2.794, allocations: 7.368 MB / 1.609 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00519/2.799, allocations: 1.986 MB / 1.61 GB, free: 8.09 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.01337/2.812, allocations: 3.965 MB / 1.614 GB, free: 4.152 MB / 0.9792 GB Notification: Performance of Backend: time 1.142e-06/2.812, allocations: 0 / 1.614 GB, free: 4.152 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0273/2.84, allocations: 7.776 MB / 1.622 GB, free: 12.77 MB / 0.9948 GB Notification: Performance of SimCode: time 0.03689/2.877, allocations: 15.95 MB / 1.638 GB, free: 12.82 MB / 1.01 GB Notification: Performance of Templates: time 0.2547/3.131, allocations: 155.4 MB / 1.789 GB, free: 2.129 MB / 1.151 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.makefile (rm -f Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.sim & ./Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe 2>&1)