Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.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.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") translateModel(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.689/1.689, allocations: 287.4 MB / 303.2 MB, free: 8.211 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.001037/0.001037, allocations: 182.4 kB / 371.8 MB, free: 10.83 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.665/1.665, allocations: 205.4 MB / 0.6304 GB, free: 10.57 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.0012/0.0012, allocations: 94.28 kB / 0.7438 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004074/0.0004076, allocations: 15.38 kB / 0.8667 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2068, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase): time 4.87/5.076, allocations: 1.802 GB / 2.782 GB, free: 11.76 MB / 1.354 GB Notification: Performance of NFInst.instExpressions: time 2.107/7.183, allocations: 0.5252 GB / 3.307 GB, free: 11.84 MB / 1.495 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1322/7.315, allocations: 2.03 MB / 3.309 GB, free: 10.97 MB / 1.495 GB Notification: Performance of NFTyping.typeComponents: time 0.1052/7.421, allocations: 18.98 MB / 3.327 GB, free: 12 MB / 1.51 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.2642/7.685, allocations: 57.71 MB / 3.384 GB, free: 12.02 MB / 1.557 GB Notification: Performance of NFTyping.typeClassSections: time 0.1404/7.825, allocations: 31.17 MB / 3.414 GB, free: 0.9023 MB / 1.573 GB Notification: Performance of NFFlatten.flatten: time 3.286/11.11, allocations: 376.6 MB / 3.782 GB, free: 32.09 MB / 1.682 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1387/11.25, allocations: 45.72 MB / 3.826 GB, free: 6.891 MB / 1.682 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1378/11.39, allocations: 46.75 MB / 3.872 GB, free: 13.18 MB / 1.714 GB Notification: Performance of NFSimplifyModel.simplify: time 0.08171/11.47, allocations: 36.59 MB / 3.908 GB, free: 5.055 MB / 1.729 GB Notification: Performance of NFPackage.collectConstants: time 0.02511/11.49, allocations: 1.994 MB / 3.91 GB, free: 3.062 MB / 1.729 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08437/11.58, allocations: 15.61 MB / 3.925 GB, free: 7.25 MB / 1.745 GB Notification: Performance of NFScalarize.scalarize: time 0.03527/11.61, allocations: 10.88 MB / 3.936 GB, free: 15.14 MB / 1.761 GB Notification: Performance of NFVerifyModel.verify: time 0.0395/11.65, allocations: 12.44 MB / 3.948 GB, free: 7.98 MB / 1.761 GB Notification: Performance of NFConvertDAE.convert: time 0.1273/11.78, allocations: 81.15 MB / 4.027 GB, free: 5.844 MB / 1.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/11.78, allocations: 1.094 kB / 4.027 GB, free: 5.844 MB / 1.823 GB Notification: Performance of FrontEnd: time 2.093e-06/11.78, allocations: 4 kB / 4.027 GB, free: 5.84 MB / 1.823 GB Notification: Performance of Transformations before backend: time 0.003724/11.79, allocations: 0 / 4.027 GB, free: 5.84 MB / 1.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8753 * Number of variables: 8753 Notification: Performance of Generate backend data structure: time 0.1813/11.97, allocations: 52.41 MB / 4.078 GB, free: 6.398 MB / 1.87 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/11.97, allocations: 12.03 kB / 4.078 GB, free: 6.387 MB / 1.87 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08511/12.05, allocations: 16.76 MB / 4.095 GB, free: 5.645 MB / 1.886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.137/12.19, allocations: 54.74 MB / 4.148 GB, free: 3.562 MB / 1.917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01684/12.21, allocations: 5.826 MB / 4.154 GB, free: 14.91 MB / 1.932 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01358/12.22, allocations: 3.542 MB / 4.157 GB, free: 12.5 MB / 1.932 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1641/12.38, allocations: 44.65 MB / 4.201 GB, free: 12.59 MB / 1.964 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00222/12.39, allocations: 83.19 kB / 4.201 GB, free: 12.51 MB / 1.964 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0148/12.4, allocations: 1.425 MB / 4.202 GB, free: 12.17 MB / 1.964 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001387/12.4, allocations: 0.8662 MB / 4.203 GB, free: 11.31 MB / 1.964 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.188/12.59, allocations: 39.62 MB / 4.242 GB, free: 0.543 MB / 1.979 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 1.492/14.08, allocations: 209.8 MB / 4.447 GB, free: 1.052 GB / 1.995 GB Notification: Performance of preOpt comSubExp (simulation): time 0.139/14.22, allocations: 42.63 MB / 4.488 GB, free: 1.034 GB / 1.995 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03912/14.26, allocations: 14.21 MB / 4.502 GB, free: 1.028 GB / 1.995 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1544/14.41, allocations: 65.31 MB / 4.566 GB, free: 0.9709 GB / 1.995 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05163/14.47, allocations: 15.94 MB / 4.582 GB, free: 0.9626 GB / 1.995 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02913/14.5, allocations: 2.817 MB / 4.584 GB, free: 0.9615 GB / 1.995 GB Notification: Performance of pre-optimization done (n=1811): time 0.0001422/14.5, allocations: 1.969 kB / 4.584 GB, free: 0.9615 GB / 1.995 GB Notification: Performance of matching and sorting (n=1811): time 0.2573/14.75, allocations: 64.92 MB / 4.648 GB, free: 0.9203 GB / 1.995 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005863/14.75, allocations: 1.187 MB / 4.649 GB, free: 0.919 GB / 1.995 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1249/14.88, allocations: 43.11 MB / 4.691 GB, free: 0.8773 GB / 1.995 GB Notification: Performance of collectPreVariables (initialization): time 0.006926/14.89, allocations: 0.4975 MB / 4.691 GB, free: 0.8769 GB / 1.995 GB Notification: Performance of collectInitialEqns (initialization): time 0.03391/14.92, allocations: 26.83 MB / 4.718 GB, free: 0.8508 GB / 1.995 GB Notification: Performance of collectInitialBindings (initialization): time 0.01139/14.93, allocations: 6.142 MB / 4.724 GB, free: 0.8448 GB / 1.995 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006384/14.94, allocations: 475.9 kB / 4.724 GB, free: 0.8444 GB / 1.995 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/14.94, allocations: 301.1 kB / 4.724 GB, free: 0.8441 GB / 1.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03843/14.98, allocations: 12.86 MB / 4.737 GB, free: 0.8315 GB / 1.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04619/15.02, allocations: 22.98 MB / 4.759 GB, free: 0.8049 GB / 1.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07666/15.1, allocations: 33.45 MB / 4.792 GB, free: 0.769 GB / 1.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002414/15.1, allocations: 64 kB / 4.792 GB, free: 0.769 GB / 1.995 GB Notification: Performance of matching and sorting (n=3045) (initialization): time 0.1427/15.24, allocations: 44.1 MB / 4.835 GB, free: 0.7258 GB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.004146/15.25, allocations: 7.15 MB / 4.842 GB, free: 0.7156 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004794/15.25, allocations: 228 kB / 4.842 GB, free: 0.7154 GB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02363/15.27, allocations: 7.598 MB / 4.85 GB, free: 0.708 GB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02876/15.3, allocations: 6.256 MB / 4.856 GB, free: 0.7019 GB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03016/15.33, allocations: 22.28 MB / 4.878 GB, free: 0.6796 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0514/15.38, allocations: 4.186 MB / 4.882 GB, free: 0.6755 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008287/15.39, allocations: 1.304 MB / 4.883 GB, free: 0.6742 GB / 1.995 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/15.39, allocations: 0 / 4.883 GB, free: 0.6742 GB / 1.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.128/15.52, allocations: 39.73 MB / 4.922 GB, free: 0.6353 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007318/15.52, allocations: 232 kB / 4.922 GB, free: 0.6351 GB / 1.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02343/15.54, allocations: 7.589 MB / 4.929 GB, free: 0.6277 GB / 1.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02722/15.57, allocations: 6.201 MB / 4.935 GB, free: 0.6216 GB / 1.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02963/15.6, allocations: 22.3 MB / 4.957 GB, free: 0.5993 GB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05054/15.65, allocations: 4.185 MB / 4.961 GB, free: 0.5952 GB / 1.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007623/15.66, allocations: 1.273 MB / 4.963 GB, free: 0.594 GB / 1.995 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1046 * Number of states: 0 () * Number of discrete variables: 53 ($whenCondition8,$PRE.ret2.loa.nextTimeEvent,$whenCondition7,$PRE.apa2.loa.nextTimeEvent,$whenCondition6,$PRE.larOff4.loa.nextTimeEvent,$whenCondition5,$PRE.larOff3.loa.nextTimeEvent,$whenCondition4,$PRE.apa1.loa.nextTimeEvent,$whenCondition3,$PRE.larOff2.loa.nextTimeEvent,$whenCondition2,$PRE.ret1.loa.nextTimeEvent,$whenCondition1,$PRE.larOff1.loa.nextTimeEvent,$whenCondition10,$whenCondition9,larOff1.loa.nextTimeEvent,$PRE.larOff1.loa.nextTimeEventScaled,larOff1.loa.nextTimeEventScaled,ret1.loa.nextTimeEvent,$PRE.ret1.loa.nextTimeEventScaled,ret1.loa.nextTimeEventScaled,larOff2.loa.nextTimeEvent,$PRE.larOff2.loa.nextTimeEventScaled,larOff2.loa.nextTimeEventScaled,apa1.loa.nextTimeEvent,$PRE.apa1.loa.nextTimeEventScaled,apa1.loa.nextTimeEventScaled,larOff3.loa.nextTimeEvent,$PRE.larOff3.loa.nextTimeEventScaled,larOff3.loa.nextTimeEventScaled,larOff4.loa.nextTimeEvent,$PRE.larOff4.loa.nextTimeEventScaled,larOff4.loa.nextTimeEventScaled,apa2.loa.nextTimeEvent,$PRE.apa2.loa.nextTimeEventScaled,apa2.loa.nextTimeEventScaled,ret2.loa.nextTimeEvent,$PRE.ret2.loa.nextTimeEventScaled,ret2.loa.nextTimeEventScaled,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,ETheCoo.local_reset,ETheHotWat.local_reset,ETheHea.local_reset,EEleCoo.local_reset,EEleHea.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2757): * Single equations (assignments): 2709 * Array equations: 24 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 24 {1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.03805/15.69, allocations: 10.31 MB / 4.973 GB, free: 0.5839 GB / 1.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0181/15.71, allocations: 4.612 MB / 4.977 GB, free: 0.5793 GB / 1.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1602/15.87, allocations: 52.49 MB / 5.028 GB, free: 0.5284 GB / 1.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.111/15.98, allocations: 33.33 MB / 5.061 GB, free: 0.4958 GB / 1.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002529/15.98, allocations: 4 kB / 5.061 GB, free: 0.4958 GB / 1.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03569/16.02, allocations: 8.888 MB / 5.07 GB, free: 498.7 MB / 1.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02126/16.04, allocations: 344 kB / 5.07 GB, free: 498.3 MB / 1.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04819/16.09, allocations: 3.93 MB / 5.074 GB, free: 494.4 MB / 1.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005303/16.1, allocations: 1.169 MB / 5.075 GB, free: 493.2 MB / 1.995 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1384/16.23, allocations: 42 MB / 5.116 GB, free: 451.5 MB / 1.995 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1505/16.38, allocations: 50.98 MB / 5.166 GB, free: 400.3 MB / 1.995 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.03725/16.42, allocations: 13.86 MB / 5.179 GB, free: 386.5 MB / 1.995 GB Notification: Performance of sorting global known variables: time 0.07799/16.5, allocations: 29.24 MB / 5.208 GB, free: 357.5 MB / 1.995 GB Notification: Performance of Backend: time 7.21e-07/16.5, allocations: 0 / 5.208 GB, free: 357.5 MB / 1.995 GB Notification: Performance of simCode: created initialization part: time 0.1684/16.67, allocations: 49.04 MB / 5.256 GB, free: 310 MB / 1.995 GB Notification: Performance of SimCode: time 0.3148/16.98, allocations: 112.7 MB / 5.366 GB, free: 197.6 MB / 1.995 GB Notification: Performance of Templates: time 2.558/19.54, allocations: 1.002 GB / 6.368 GB, free: 450.6 MB / 1.995 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.sim & ./Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.DistrictHeatingCooling.Examples.HeatingCoolingHotWater3ClustersBaseCase.pipe 2>&1)