Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.762/1.762, allocations: 288.4 MB / 304.3 MB, free: 8.078 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.0009657/0.0009657, allocations: 176.4 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.498/1.498, allocations: 205.4 MB / 0.6316 GB, free: 9.816 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.0007026/0.0007028, allocations: 98.16 kB / 0.745 GB, free: 5.723 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 11.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.185, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 0.8208/1.006, allocations: 435.9 MB / 1.406 GB, free: 6.297 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5908/1.597, allocations: 69.24 MB / 1.474 GB, free: 50.43 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.014/1.611, allocations: 305.2 kB / 1.474 GB, free: 50.43 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01354/1.624, allocations: 3.647 MB / 1.478 GB, free: 50.34 MB / 0.948 GB [/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.03476/1.659, allocations: 11.09 MB / 1.489 GB, free: 49.8 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Chillers/BaseClasses/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.Chillers.BaseClasses.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.02252/1.682, allocations: 6.843 MB / 1.495 GB, free: 49.53 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.04983/1.731, allocations: 37.86 MB / 1.532 GB, free: 48.89 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0193/1.751, allocations: 11.42 MB / 1.544 GB, free: 45.15 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02579/1.777, allocations: 10.67 MB / 1.554 GB, free: 42.76 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02022/1.797, allocations: 9.309 MB / 1.563 GB, free: 39.23 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.004953/1.802, allocations: 0.5255 MB / 1.564 GB, free: 39.23 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02383/1.826, allocations: 8.42 MB / 1.572 GB, free: 34.72 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.006293/1.832, allocations: 3.126 MB / 1.575 GB, free: 32.38 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01511/1.847, allocations: 6.585 MB / 1.581 GB, free: 27.57 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02489/1.872, allocations: 19.37 MB / 1.6 GB, free: 11.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.872, allocations: 4 kB / 1.6 GB, free: 11.09 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.613e-06/1.872, allocations: 3.938 kB / 1.6 GB, free: 11.09 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0006444/1.873, allocations: 0 / 1.6 GB, free: 11.09 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2233 * Number of variables: 2233 Notification: Performance of Generate backend data structure: time 0.02695/1.9, allocations: 12.84 MB / 1.613 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.9, allocations: 8.031 kB / 1.613 GB, free: 15.31 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0201/1.92, allocations: 3.607 MB / 1.616 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02232/1.942, allocations: 11.71 MB / 1.628 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001423/1.944, allocations: 0.957 MB / 1.629 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002071/1.946, allocations: 0.9241 MB / 1.63 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02339/1.969, allocations: 12.05 MB / 1.641 GB, free: 9.832 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/1.969, allocations: 19.78 kB / 1.641 GB, free: 9.812 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00115/1.971, allocations: 373.3 kB / 1.642 GB, free: 9.727 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003059/1.971, allocations: 366.6 kB / 1.642 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02578/1.997, allocations: 11.26 MB / 1.653 GB, free: 1.551 MB / 0.9792 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.08148/2.078, allocations: 52.15 MB / 1.704 GB, free: 6.184 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01859/2.097, allocations: 9.695 MB / 1.713 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009075/2.106, allocations: 4.447 MB / 1.718 GB, free: 10.57 MB / 1.042 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.03/2.136, allocations: 16.35 MB / 1.734 GB, free: 9.547 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008262/2.144, allocations: 4.458 MB / 1.738 GB, free: 5.008 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007141/2.151, allocations: 1.564 MB / 1.74 GB, free: 3.453 MB / 1.057 GB Notification: Performance of pre-optimization done (n=598): time 1.588e-05/2.152, allocations: 2.625 kB / 1.74 GB, free: 3.453 MB / 1.057 GB Notification: Performance of matching and sorting (n=647): time 0.06564/2.217, allocations: 26.94 MB / 1.766 GB, free: 8.422 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001552/2.217, allocations: 330.1 kB / 1.766 GB, free: 8.035 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/2.233, allocations: 9.799 MB / 1.776 GB, free: 14.3 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001594/2.235, allocations: 189.2 kB / 1.776 GB, free: 14.11 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.005314/2.24, allocations: 5.488 MB / 1.781 GB, free: 8.617 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.002988/2.243, allocations: 2.196 MB / 1.783 GB, free: 6.441 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005207/2.244, allocations: 152 kB / 1.784 GB, free: 6.293 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0004162/2.244, allocations: 0.6049 MB / 1.784 GB, free: 5.684 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00834/2.252, allocations: 3.892 MB / 1.788 GB, free: 1.789 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01078/2.263, allocations: 6.069 MB / 1.794 GB, free: 10.92 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0203/2.283, allocations: 9.673 MB / 1.803 GB, free: 0.6133 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.876e-05/2.284, allocations: 12 kB / 1.803 GB, free: 0.6016 MB / 1.12 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.03097/2.315, allocations: 12.84 MB / 1.816 GB, free: 3.703 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009054/2.316, allocations: 1.416 MB / 1.817 GB, free: 1.688 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-05/2.316, allocations: 44 kB / 1.817 GB, free: 1.645 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01583/2.331, allocations: 4.882 MB / 1.822 GB, free: 12.75 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/2.338, allocations: 1.431 MB / 1.824 GB, free: 11.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/2.359, allocations: 13.95 MB / 1.837 GB, free: 13.03 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01309/2.372, allocations: 1.225 MB / 1.838 GB, free: 11.81 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/2.374, allocations: 371.8 kB / 1.839 GB, free: 11.45 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/2.374, allocations: 4 kB / 1.839 GB, free: 11.44 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.765/3.139, allocations: 11.58 MB / 1.85 GB, free: 0.508 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000163/3.139, allocations: 42.34 kB / 1.85 GB, free: 0.508 GB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/3.156, allocations: 4.837 MB / 1.855 GB, free: 0.5079 GB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006772/3.163, allocations: 1.393 MB / 1.856 GB, free: 0.5079 GB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02327/3.186, allocations: 16.05 MB / 1.872 GB, free: 0.5002 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01229/3.199, allocations: 1.15 MB / 1.873 GB, free: 0.5001 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0018/3.201, allocations: 364.8 kB / 1.873 GB, free: 0.5 GB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 194 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.condition,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.on.active,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.T2.condition,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,or1.u1,or1.y,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,weaData.conTimMin.canRepeatWeatherFile,weaData.conTim.canRepeatWeatherFile,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (778): * Single equations (assignments): 764 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {20 152,4 16,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.008663/3.209, allocations: 3.36 MB / 1.877 GB, free: 0.4985 GB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002977/3.212, allocations: 1.06 MB / 1.878 GB, free: 0.4985 GB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02477/3.237, allocations: 10.47 MB / 1.888 GB, free: 0.4948 GB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01871/3.256, allocations: 8.263 MB / 1.896 GB, free: 0.4918 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/3.256, allocations: 5 kB / 1.896 GB, free: 0.4918 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006114/3.262, allocations: 2.213 MB / 1.898 GB, free: 0.4911 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002728/3.265, allocations: 167.2 kB / 1.898 GB, free: 0.491 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00998/3.275, allocations: 0.9679 MB / 1.899 GB, free: 0.4909 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001225/3.276, allocations: 456.6 kB / 1.9 GB, free: 0.4909 GB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02368/3.3, allocations: 10.3 MB / 1.91 GB, free: 499.4 MB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02843/3.328, allocations: 14.8 MB / 1.924 GB, free: 494.2 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007558/3.336, allocations: 4.341 MB / 1.928 GB, free: 492.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01097/3.347, allocations: 6.631 MB / 1.935 GB, free: 488.9 MB / 1.167 GB Notification: Performance of Backend: time 5.91e-07/3.347, allocations: 3.5 kB / 1.935 GB, free: 488.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03784/3.385, allocations: 15.75 MB / 1.95 GB, free: 478.8 MB / 1.167 GB Notification: Performance of SimCode: time 0.05386/3.439, allocations: 30.73 MB / 1.98 GB, free: 448.1 MB / 1.167 GB Notification: Performance of Templates: time 0.3468/3.785, allocations: 270.9 MB / 2.245 GB, free: 178.2 MB / 1.167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1)