Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.218/2.218, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001405/0.001405, allocations: 169.9 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009396/0.0009396, allocations: 99.72 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004901, allocations: 12.28 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT): time 0.9809/1.193, allocations: 234.4 MB / 1.128 GB, free: 35.49 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.4327/1.625, allocations: 189.8 MB / 1.314 GB, free: 5.363 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01293/1.638, allocations: 274.2 kB / 1.314 GB, free: 5.094 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.016/1.654, allocations: 2.581 MB / 1.317 GB, free: 2.496 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1/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.1/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.1/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.1/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.03714/1.692, allocations: 7.706 MB / 1.324 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.02166/1.713, allocations: 4.567 MB / 1.329 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.1129/1.826, allocations: 47.62 MB / 1.375 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01697/1.843, allocations: 6.058 MB / 1.381 GB, free: 428 kB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01973/1.863, allocations: 5.973 MB / 1.387 GB, free: 10.41 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01279/1.876, allocations: 4.791 MB / 1.391 GB, free: 5.602 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.002777/1.879, allocations: 272 kB / 1.392 GB, free: 5.336 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/1.893, allocations: 3.06 MB / 1.395 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.004167/1.898, allocations: 1.466 MB / 1.396 GB, free: 0.7969 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.788/2.686, allocations: 1.673 MB / 1.398 GB, free: 48.73 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02236/2.708, allocations: 11.2 MB / 1.409 GB, free: 48.44 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/2.708, allocations: 0.6875 kB / 1.409 GB, free: 48.44 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.416e-06/2.708, allocations: 0 / 1.409 GB, free: 48.44 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0004551/2.709, allocations: 0 / 1.409 GB, free: 48.44 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.02948/2.738, allocations: 7.47 MB / 1.416 GB, free: 44.98 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/2.738, allocations: 8.656 kB / 1.416 GB, free: 44.98 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0193/2.758, allocations: 2.213 MB / 1.418 GB, free: 44.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/2.783, allocations: 7.073 MB / 1.425 GB, free: 43.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004218/2.788, allocations: 0.7645 MB / 1.426 GB, free: 43.45 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00242/2.79, allocations: 0.4896 MB / 1.426 GB, free: 43.44 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02489/2.815, allocations: 6.063 MB / 1.432 GB, free: 42.61 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/2.815, allocations: 10.47 kB / 1.432 GB, free: 42.61 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001718/2.817, allocations: 206.4 kB / 1.432 GB, free: 42.61 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/2.817, allocations: 122.3 kB / 1.433 GB, free: 42.61 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02686/2.844, allocations: 5.752 MB / 1.438 GB, free: 42.49 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.06608/2.91, allocations: 27.79 MB / 1.465 GB, free: 30.33 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02899/2.939, allocations: 4.838 MB / 1.47 GB, free: 30.13 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00896/2.948, allocations: 1.97 MB / 1.472 GB, free: 30.07 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02487/2.973, allocations: 9.123 MB / 1.481 GB, free: 26.08 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01033/2.984, allocations: 2.297 MB / 1.483 GB, free: 25.9 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004708/2.988, allocations: 375.1 kB / 1.483 GB, free: 25.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=287): time 1.895e-05/2.989, allocations: 1.312 kB / 1.483 GB, free: 25.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=287): time 0.06237/3.051, allocations: 8.983 MB / 1.492 GB, free: 24 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/3.051, allocations: 320.1 kB / 1.493 GB, free: 23.65 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01721/3.068, allocations: 5.797 MB / 1.498 GB, free: 22.32 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.001233/3.07, allocations: 96.3 kB / 1.498 GB, free: 22.29 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005055/3.075, allocations: 3.186 MB / 1.501 GB, free: 21.11 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.001786/3.077, allocations: 0.9631 MB / 1.502 GB, free: 20.4 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005427/3.077, allocations: 69.47 kB / 1.502 GB, free: 20.4 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002823/3.077, allocations: 448.6 kB / 1.503 GB, free: 20.05 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00869/3.086, allocations: 1.774 MB / 1.505 GB, free: 19.74 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/3.097, allocations: 3.126 MB / 1.508 GB, free: 17.87 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009812/3.106, allocations: 2.052 MB / 1.51 GB, free: 17.56 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-05/3.107, allocations: 12.78 kB / 1.51 GB, free: 17.56 MB / 0.9011 GB Notification: Performance of matching and sorting (n=455) (initialization): time 0.02762/3.134, allocations: 5.683 MB / 1.515 GB, free: 16.35 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006491/3.135, allocations: 0.9981 MB / 1.516 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.434e-05/3.135, allocations: 28.5 kB / 1.516 GB, free: 15.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005748/3.141, allocations: 0.9458 MB / 1.517 GB, free: 14.84 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007445/3.148, allocations: 0.8852 MB / 1.518 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/3.155, allocations: 2.78 MB / 1.521 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01143/3.167, allocations: 0.5769 MB / 1.521 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001269/3.168, allocations: 195.8 kB / 1.521 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/3.168, allocations: 3.688 kB / 1.521 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02367/3.192, allocations: 5.075 MB / 1.526 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.124e-05/3.192, allocations: 30.78 kB / 1.526 GB, free: 11.83 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005176/3.197, allocations: 0.9472 MB / 1.527 GB, free: 11.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007275/3.204, allocations: 0.8741 MB / 1.528 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/3.211, allocations: 2.781 MB / 1.531 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01074/3.222, allocations: 0.5636 MB / 1.532 GB, free: 9.457 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/3.223, allocations: 200.9 kB / 1.532 GB, free: 9.434 MB / 0.9011 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 ($whenCondition1,$PRE.subSta.loa.nextTimeEvent,$whenCondition3,$whenCondition2,subSta.loa.nextTimeEvent,$PRE.subSta.loa.nextTimeEventScaled,subSta.loa.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 11,1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.006059/3.229, allocations: 1.544 MB / 1.533 GB, free: 9.16 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00227/3.231, allocations: 0.6297 MB / 1.534 GB, free: 8.824 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03367/3.265, allocations: 6.511 MB / 1.54 GB, free: 5.582 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02774/3.293, allocations: 4.997 MB / 1.545 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.171e-05/3.293, allocations: 0 / 1.545 GB, free: 1.688 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00556/3.299, allocations: 1.319 MB / 1.546 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002738/3.301, allocations: 57.88 kB / 1.546 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01033/3.312, allocations: 0.5486 MB / 1.547 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008807/3.313, allocations: 199.7 kB / 1.547 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03384/3.347, allocations: 5.85 MB / 1.553 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03347/3.38, allocations: 7.333 MB / 1.56 GB, free: 6.148 MB / 0.9167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009006/3.389, allocations: 1.962 MB / 1.562 GB, free: 4.801 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01237/3.402, allocations: 3.906 MB / 1.566 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of Backend: time 1.272e-06/3.402, allocations: 2.438 kB / 1.566 GB, free: 2.184 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0454/3.447, allocations: 7.66 MB / 1.573 GB, free: 12.79 MB / 0.9323 GB Notification: Performance of SimCode: time 0.05277/3.5, allocations: 15.45 MB / 1.588 GB, free: 14.69 MB / 0.948 GB Notification: Performance of Templates: time 0.484/3.984, allocations: 151.8 MB / 1.737 GB, free: 8.082 MB / 1.089 GB make -j1 -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.makefile (rm -f Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe ; mkfifo Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe >> ../files/Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.sim & ./Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Experimental.DistrictHeatingCooling.SubStations.VaporCompression.Validation.HeatingCoolingHotwaterTimeSeries_dT.pipe 2>&1)