Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.122/2.122, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.002975/0.002975, allocations: 182.7 kB / 326.3 MB, free: 2.855 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.483/2.483, allocations: 205.4 MB / 0.5772 GB, free: 20.83 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.0009378/0.0009378, allocations: 83.75 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005901/0.0005903, allocations: 12.03 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1944, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 1.224/1.419, allocations: 436.6 MB / 1.326 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.149/1.568, allocations: 69.44 MB / 1.394 GB, free: 9.637 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0155/1.583, allocations: 309.9 kB / 1.394 GB, free: 9.332 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01754/1.601, allocations: 3.486 MB / 1.397 GB, free: 5.824 MB / 0.9167 GB [/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.7973/2.398, allocations: 10.26 MB / 1.407 GB, free: 40.33 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.0273/2.425, allocations: 6.573 MB / 1.414 GB, free: 40.22 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.06365/2.489, allocations: 38.28 MB / 1.451 GB, free: 40.15 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02952/2.519, allocations: 11.16 MB / 1.462 GB, free: 38.75 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03168/2.55, allocations: 10.4 MB / 1.472 GB, free: 38.72 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02391/2.574, allocations: 9.384 MB / 1.481 GB, free: 38.7 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.005536/2.58, allocations: 0.5298 MB / 1.482 GB, free: 38.69 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02681/2.607, allocations: 5.408 MB / 1.487 GB, free: 38.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.008714/2.616, allocations: 3.16 MB / 1.49 GB, free: 37.87 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.009205/2.625, allocations: 2.867 MB / 1.493 GB, free: 37.39 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.03385/2.659, allocations: 19.08 MB / 1.512 GB, free: 28.64 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/2.659, allocations: 0 / 1.512 GB, free: 28.64 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.364e-06/2.659, allocations: 0 / 1.512 GB, free: 28.64 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0007995/2.66, allocations: 0 / 1.512 GB, free: 28.64 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.0467/2.706, allocations: 13.02 MB / 1.524 GB, free: 20.61 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/2.706, allocations: 8.031 kB / 1.524 GB, free: 20.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03361/2.74, allocations: 3.602 MB / 1.528 GB, free: 17.07 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03575/2.776, allocations: 11.42 MB / 1.539 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002786/2.779, allocations: 0.9615 MB / 1.54 GB, free: 8.691 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004049/2.783, allocations: 0.9348 MB / 1.541 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04456/2.827, allocations: 12.11 MB / 1.553 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005486/2.828, allocations: 28.02 kB / 1.553 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003342/2.831, allocations: 369.5 kB / 1.553 GB, free: 15.39 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006315/2.832, allocations: 368.1 kB / 1.554 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04703/2.879, allocations: 11.3 MB / 1.565 GB, free: 7.195 MB / 0.9323 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.1331/3.012, allocations: 52.46 MB / 1.616 GB, free: 11.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03505/3.047, allocations: 9.744 MB / 1.625 GB, free: 4.535 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01648/3.064, allocations: 4.429 MB / 1.63 GB, free: 1.586 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 evalFunc (simulation): time 0.056/3.12, allocations: 16.16 MB / 1.645 GB, free: 5.387 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01686/3.137, allocations: 4.409 MB / 1.65 GB, free: 2.188 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01307/3.15, allocations: 1.545 MB / 1.651 GB, free: 0.7656 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=594): time 3.09e-05/3.15, allocations: 0 / 1.651 GB, free: 0.7656 MB / 0.9948 GB Notification: Performance of matching and sorting (n=643): time 0.1174/3.267, allocations: 24.99 MB / 1.676 GB, free: 14.38 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002013/3.268, allocations: 274.6 kB / 1.676 GB, free: 14.06 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02919/3.297, allocations: 9.916 MB / 1.686 GB, free: 6.926 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002912/3.3, allocations: 180.5 kB / 1.686 GB, free: 6.852 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.008731/3.309, allocations: 5.526 MB / 1.691 GB, free: 4.023 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004383/3.313, allocations: 2.195 MB / 1.693 GB, free: 2.145 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009384/3.314, allocations: 153.3 kB / 1.693 GB, free: 2.113 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0006926/3.315, allocations: 0.6036 MB / 1.694 GB, free: 1.625 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01606/3.331, allocations: 3.879 MB / 1.698 GB, free: 15.03 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01894/3.35, allocations: 6.036 MB / 1.704 GB, free: 9.707 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01785/3.368, allocations: 4.639 MB / 1.708 GB, free: 6.758 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.029e-05/3.368, allocations: 12 kB / 1.708 GB, free: 6.746 MB / 1.042 GB Notification: Performance of matching and sorting (n=990) (initialization): time 0.05197/3.42, allocations: 12.8 MB / 1.721 GB, free: 13.51 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001286/3.421, allocations: 1.4 MB / 1.722 GB, free: 11.65 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.483e-05/3.421, allocations: 40 kB / 1.722 GB, free: 11.61 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02884/3.45, allocations: 4.861 MB / 1.727 GB, free: 7.219 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/3.463, allocations: 1.443 MB / 1.728 GB, free: 5.773 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03761/3.5, allocations: 13.97 MB / 1.742 GB, free: 7.453 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02094/3.521, allocations: 1.205 MB / 1.743 GB, free: 6.254 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002373/3.524, allocations: 367.8 kB / 1.743 GB, free: 5.895 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/3.524, allocations: 6.641 kB / 1.743 GB, free: 5.891 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04648/3.57, allocations: 11.57 MB / 1.755 GB, free: 10.28 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/3.571, allocations: 44 kB / 1.755 GB, free: 10.23 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.028/3.599, allocations: 4.801 MB / 1.76 GB, free: 5.422 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/3.611, allocations: 1.396 MB / 1.761 GB, free: 4.023 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04072/3.651, allocations: 16.07 MB / 1.777 GB, free: 3.395 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01986/3.671, allocations: 1.16 MB / 1.778 GB, free: 2.234 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/3.674, allocations: 363.6 kB / 1.778 GB, free: 1.883 MB / 1.104 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 (775): * Single equations (assignments): 761 * 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 {19 153,4 16,1 2,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.01211/3.686, allocations: 3.386 MB / 1.781 GB, free: 14.48 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00394/3.69, allocations: 1.071 MB / 1.782 GB, free: 13.4 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04381/3.734, allocations: 10.47 MB / 1.793 GB, free: 2.867 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03357/3.767, allocations: 8.237 MB / 1.801 GB, free: 10.53 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.693e-05/3.767, allocations: 4 kB / 1.801 GB, free: 10.52 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009612/3.777, allocations: 2.248 MB / 1.803 GB, free: 8.242 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004047/3.781, allocations: 156 kB / 1.803 GB, free: 8.09 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01788/3.799, allocations: 0.9635 MB / 1.804 GB, free: 7.129 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002075/3.801, allocations: 456.9 kB / 1.804 GB, free: 6.68 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 1.253/5.054, allocations: 10.16 MB / 1.814 GB, free: 0.5183 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05614/5.11, allocations: 14.68 MB / 1.829 GB, free: 0.5178 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01845/5.129, allocations: 4.325 MB / 1.833 GB, free: 0.5177 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.02662/5.156, allocations: 6.709 MB / 1.839 GB, free: 0.5159 GB / 1.136 GB Notification: Performance of Backend: time 1.463e-06/5.156, allocations: 0 / 1.839 GB, free: 0.5159 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.08195/5.238, allocations: 15.58 MB / 1.855 GB, free: 0.5112 GB / 1.136 GB Notification: Performance of SimCode: time 0.08732/5.325, allocations: 31.03 MB / 1.885 GB, free: 0.4967 GB / 1.136 GB Notification: Performance of Templates: time 0.6802/6.005, allocations: 267.7 MB / 2.146 GB, free: 248 MB / 1.136 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)