Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.596/1.596, allocations: 288.4 MB / 304.3 MB, free: 8.094 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.0009087/0.0009089, allocations: 176.5 kB / 372.9 MB, free: 10.18 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.38/1.38, allocations: 205.4 MB / 0.6316 GB, free: 9.941 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.0007973/0.0007972, allocations: 96.19 kB / 0.745 GB, free: 5.844 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 14.78 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 0.8168/1.008, allocations: 436.2 MB / 1.407 GB, free: 6.004 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.6242/1.633, allocations: 69.32 MB / 1.474 GB, free: 50.36 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01253/1.645, allocations: 310.2 kB / 1.475 GB, free: 50.36 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01255/1.658, allocations: 3.663 MB / 1.478 GB, free: 50.28 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.03461/1.692, allocations: 11.12 MB / 1.489 GB, free: 49.73 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.02269/1.715, allocations: 6.871 MB / 1.496 GB, free: 49.47 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.04821/1.763, allocations: 37.98 MB / 1.533 GB, free: 48.73 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02803/1.791, allocations: 11.5 MB / 1.544 GB, free: 44.98 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02679/1.818, allocations: 10.68 MB / 1.555 GB, free: 42.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01924/1.837, allocations: 9.328 MB / 1.564 GB, free: 38.93 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.005287/1.843, allocations: 0.5233 MB / 1.564 GB, free: 38.93 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02398/1.867, allocations: 8.414 MB / 1.572 GB, free: 34.25 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.006872/1.874, allocations: 3.132 MB / 1.576 GB, free: 31.9 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.01611/1.89, allocations: 6.601 MB / 1.582 GB, free: 27.08 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02612/1.916, allocations: 19.48 MB / 1.601 GB, free: 10.52 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.916, allocations: 4 kB / 1.601 GB, free: 10.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.447e-06/1.916, allocations: 0 / 1.601 GB, free: 10.52 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008028/1.917, allocations: 4.812 kB / 1.601 GB, free: 10.51 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.03102/1.948, allocations: 12.85 MB / 1.614 GB, free: 14.74 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/1.948, allocations: 13.02 kB / 1.614 GB, free: 14.73 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02114/1.969, allocations: 3.615 MB / 1.617 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0263/1.996, allocations: 11.8 MB / 1.629 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001812/1.997, allocations: 0.9679 MB / 1.63 GB, free: 2.406 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003183/2.001, allocations: 0.923 MB / 1.63 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03214/2.033, allocations: 12.08 MB / 1.642 GB, free: 9.164 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004575/2.033, allocations: 19.78 kB / 1.642 GB, free: 9.145 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/2.036, allocations: 366 kB / 1.643 GB, free: 9.062 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004721/2.036, allocations: 371 kB / 1.643 GB, free: 8.711 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02972/2.066, allocations: 11.28 MB / 1.654 GB, free: 0.8828 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.09217/2.158, allocations: 52.44 MB / 1.705 GB, free: 5.262 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02121/2.18, allocations: 9.659 MB / 1.715 GB, free: 13.94 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01004/2.19, allocations: 4.439 MB / 1.719 GB, free: 9.48 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.03553/2.225, allocations: 16.27 MB / 1.735 GB, free: 8.551 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009863/2.235, allocations: 4.413 MB / 1.739 GB, free: 4.059 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008277/2.243, allocations: 1.542 MB / 1.741 GB, free: 2.527 MB / 1.057 GB Notification: Performance of pre-optimization done (n=593): time 2.373e-05/2.244, allocations: 0 / 1.741 GB, free: 2.527 MB / 1.057 GB Notification: Performance of matching and sorting (n=642): time 0.07136/2.315, allocations: 25.09 MB / 1.765 GB, free: 9.402 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/2.315, allocations: 282.6 kB / 1.765 GB, free: 9.074 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0171/2.332, allocations: 9.878 MB / 1.775 GB, free: 15.25 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.00189/2.334, allocations: 185.6 kB / 1.775 GB, free: 15.06 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.006069/2.34, allocations: 5.502 MB / 1.781 GB, free: 9.559 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.003206/2.343, allocations: 2.194 MB / 1.783 GB, free: 7.383 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006278/2.344, allocations: 148 kB / 1.783 GB, free: 7.238 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0004937/2.345, allocations: 0.6048 MB / 1.783 GB, free: 6.629 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008409/2.353, allocations: 3.88 MB / 1.787 GB, free: 2.746 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01116/2.364, allocations: 6.044 MB / 1.793 GB, free: 11.91 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01892/2.383, allocations: 9.637 MB / 1.803 GB, free: 1.648 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.695e-05/2.383, allocations: 12 kB / 1.803 GB, free: 1.637 MB / 1.12 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.02804/2.411, allocations: 12.81 MB / 1.815 GB, free: 4.766 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009332/2.412, allocations: 1.408 MB / 1.816 GB, free: 2.766 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.257e-05/2.412, allocations: 42.73 kB / 1.817 GB, free: 2.727 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01434/2.427, allocations: 4.831 MB / 1.821 GB, free: 13.88 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006276/2.433, allocations: 1.443 MB / 1.823 GB, free: 12.44 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0195/2.452, allocations: 13.96 MB / 1.836 GB, free: 14.14 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/2.465, allocations: 1.199 MB / 1.837 GB, free: 12.94 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001506/2.466, allocations: 371.4 kB / 1.838 GB, free: 12.58 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/2.466, allocations: 7.062 kB / 1.838 GB, free: 12.57 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02318/2.489, allocations: 11.58 MB / 1.849 GB, free: 0.9375 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-05/2.49, allocations: 43.98 kB / 1.849 GB, free: 0.8945 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8269/3.316, allocations: 4.757 MB / 1.854 GB, free: 0.5112 GB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006884/3.323, allocations: 1.405 MB / 1.855 GB, free: 0.5112 GB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02423/3.348, allocations: 16.04 MB / 1.871 GB, free: 0.5035 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/3.36, allocations: 1.146 MB / 1.872 GB, free: 0.5034 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/3.362, allocations: 368.7 kB / 1.872 GB, free: 0.5034 GB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 192 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,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,weaData.conTimMin.canRepeatWeatherFile,weaData.conTim.canRepeatWeatherFile,triAndRes.conPID.I.trigger_internal,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 (774): * Single equations (assignments): 760 * 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.007563/3.37, allocations: 3.358 MB / 1.876 GB, free: 0.5018 GB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002609/3.372, allocations: 1.062 MB / 1.877 GB, free: 0.5018 GB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02794/3.4, allocations: 10.47 MB / 1.887 GB, free: 0.4981 GB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01896/3.419, allocations: 8.238 MB / 1.895 GB, free: 0.4951 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.026e-05/3.419, allocations: 3.312 kB / 1.895 GB, free: 0.4951 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006285/3.426, allocations: 2.216 MB / 1.897 GB, free: 0.4944 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002984/3.429, allocations: 165.9 kB / 1.897 GB, free: 0.4943 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01004/3.439, allocations: 0.9441 MB / 1.898 GB, free: 0.4942 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001381/3.44, allocations: 451.6 kB / 1.899 GB, free: 0.4941 GB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02705/3.467, allocations: 10.17 MB / 1.909 GB, free: 0.491 GB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02914/3.496, allocations: 14.68 MB / 1.923 GB, free: 497.6 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007464/3.504, allocations: 4.325 MB / 1.927 GB, free: 496 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01148/3.515, allocations: 6.676 MB / 1.934 GB, free: 492.5 MB / 1.167 GB Notification: Performance of Backend: time 1.193e-06/3.515, allocations: 0 / 1.934 GB, free: 492.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04296/3.558, allocations: 15.73 MB / 1.949 GB, free: 480.5 MB / 1.167 GB Notification: Performance of SimCode: time 0.05435/3.613, allocations: 30.85 MB / 1.979 GB, free: 449.7 MB / 1.167 GB Notification: Performance of Templates: time 0.3475/3.96, allocations: 270.8 MB / 2.244 GB, free: 180 MB / 1.167 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)