Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.655/1.655, allocations: 287.4 MB / 303.2 MB, free: 8.273 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.00105/0.00105, allocations: 178.4 kB / 371.8 MB, free: 10.82 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.437/1.437, allocations: 205.4 MB / 0.6305 GB, free: 10.56 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.0007826/0.0007826, allocations: 89.11 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 9.734 kB / 0.8667 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 0.8924/1.089, allocations: 435.9 MB / 1.405 GB, free: 7.555 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.7214/1.811, allocations: 69.26 MB / 1.473 GB, free: 49.96 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01838/1.829, allocations: 306.4 kB / 1.473 GB, free: 49.96 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01383/1.843, allocations: 3.473 MB / 1.476 GB, free: 49.87 MB / 0.948 GB [/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.04144/1.885, allocations: 10.18 MB / 1.486 GB, free: 49.41 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.02384/1.909, allocations: 6.591 MB / 1.493 GB, free: 49.2 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.05455/1.963, allocations: 37.86 MB / 1.53 GB, free: 49.1 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02384/1.987, allocations: 11.39 MB / 1.541 GB, free: 45.35 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/2.014, allocations: 10.38 MB / 1.551 GB, free: 43.17 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01961/2.034, allocations: 9.305 MB / 1.56 GB, free: 39.64 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.0051/2.039, allocations: 0.5278 MB / 1.56 GB, free: 39.64 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02328/2.062, allocations: 5.409 MB / 1.566 GB, free: 38.04 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.007142/2.07, allocations: 3.123 MB / 1.569 GB, free: 35.69 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.008607/2.078, allocations: 2.849 MB / 1.572 GB, free: 33.9 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02681/2.105, allocations: 18.91 MB / 1.59 GB, free: 17.87 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/2.105, allocations: 0 / 1.59 GB, free: 17.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.514e-06/2.105, allocations: 0 / 1.59 GB, free: 17.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008744/2.106, allocations: 0 / 1.59 GB, free: 17.87 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.03299/2.139, allocations: 12.83 MB / 1.603 GB, free: 6.102 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/2.139, allocations: 8.031 kB / 1.603 GB, free: 6.094 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02052/2.16, allocations: 3.603 MB / 1.606 GB, free: 2.57 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02761/2.187, allocations: 11.71 MB / 1.618 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001929/2.189, allocations: 0.9682 MB / 1.618 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003818/2.193, allocations: 0.9182 MB / 1.619 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03465/2.228, allocations: 12.05 MB / 1.631 GB, free: 0.6289 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003822/2.228, allocations: 19.59 kB / 1.631 GB, free: 0.6133 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002904/2.231, allocations: 367.8 kB / 1.631 GB, free: 0.5273 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003813/2.232, allocations: 371.3 kB / 1.632 GB, free: 180 kB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03198/2.264, allocations: 11.26 MB / 1.643 GB, free: 8.355 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.08982/2.353, allocations: 52.15 MB / 1.694 GB, free: 12.96 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/2.373, allocations: 9.693 MB / 1.703 GB, free: 5.852 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01036/2.383, allocations: 4.444 MB / 1.708 GB, free: 2.891 MB / 1.026 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.03656/2.42, allocations: 16.36 MB / 1.724 GB, free: 2.238 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009228/2.429, allocations: 4.456 MB / 1.728 GB, free: 13.7 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008749/2.438, allocations: 1.569 MB / 1.729 GB, free: 12.14 MB / 1.057 GB Notification: Performance of pre-optimization done (n=598): time 4.117e-05/2.438, allocations: 0 / 1.729 GB, free: 12.14 MB / 1.057 GB Notification: Performance of matching and sorting (n=647): time 0.0869/2.525, allocations: 26.92 MB / 1.756 GB, free: 1.129 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002091/2.525, allocations: 341.6 kB / 1.756 GB, free: 0.7344 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02169/2.547, allocations: 9.796 MB / 1.766 GB, free: 7 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002057/2.549, allocations: 181.7 kB / 1.766 GB, free: 6.816 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.007211/2.556, allocations: 5.491 MB / 1.771 GB, free: 1.324 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003818/2.56, allocations: 2.194 MB / 1.773 GB, free: 15.16 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009458/2.561, allocations: 158.5 kB / 1.773 GB, free: 15 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0006765/2.562, allocations: 0.5971 MB / 1.774 GB, free: 14.4 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009602/2.572, allocations: 3.903 MB / 1.778 GB, free: 10.5 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01121/2.583, allocations: 6.075 MB / 1.784 GB, free: 3.625 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0207/2.603, allocations: 9.667 MB / 1.793 GB, free: 9.324 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.809e-05/2.604, allocations: 16 kB / 1.793 GB, free: 9.309 MB / 1.12 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.03874/2.642, allocations: 12.83 MB / 1.806 GB, free: 12.41 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001167/2.644, allocations: 1.422 MB / 1.807 GB, free: 10.39 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001084/2.644, allocations: 40 kB / 1.807 GB, free: 10.36 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01649/2.66, allocations: 4.874 MB / 1.812 GB, free: 5.469 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007031/2.667, allocations: 1.443 MB / 1.813 GB, free: 4.023 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02308/2.69, allocations: 13.95 MB / 1.827 GB, free: 5.727 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01421/2.705, allocations: 1.208 MB / 1.828 GB, free: 4.516 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/2.707, allocations: 367.8 kB / 1.829 GB, free: 4.156 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/2.707, allocations: 4 kB / 1.829 GB, free: 4.152 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0317/2.739, allocations: 11.59 MB / 1.84 GB, free: 8.516 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/2.739, allocations: 44 kB / 1.84 GB, free: 8.473 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01527/2.754, allocations: 4.844 MB / 1.845 GB, free: 3.621 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006801/2.761, allocations: 1.381 MB / 1.846 GB, free: 2.238 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.9288/3.69, allocations: 16.05 MB / 1.862 GB, free: 0.5055 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0137/3.704, allocations: 1.145 MB / 1.863 GB, free: 0.5053 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/3.706, allocations: 364.7 kB / 1.863 GB, free: 0.5053 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.009204/3.715, allocations: 3.356 MB / 1.866 GB, free: 0.5037 GB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003143/3.718, allocations: 1.063 MB / 1.867 GB, free: 0.5037 GB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02776/3.746, allocations: 10.48 MB / 1.878 GB, free: 0.5001 GB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01888/3.765, allocations: 8.274 MB / 1.886 GB, free: 0.4971 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-05/3.765, allocations: 0 / 1.886 GB, free: 0.4971 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008793/3.774, allocations: 2.211 MB / 1.888 GB, free: 0.4964 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00457/3.778, allocations: 162 kB / 1.888 GB, free: 0.4963 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01225/3.79, allocations: 0.9702 MB / 1.889 GB, free: 0.4962 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001897/3.792, allocations: 459 kB / 1.889 GB, free: 0.4961 GB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02924/3.822, allocations: 10.29 MB / 1.899 GB, free: 0.4929 GB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03051/3.852, allocations: 14.81 MB / 1.914 GB, free: 499.5 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008391/3.861, allocations: 4.348 MB / 1.918 GB, free: 498 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01244/3.873, allocations: 6.628 MB / 1.925 GB, free: 495.7 MB / 1.167 GB Notification: Performance of Backend: time 1.152e-06/3.873, allocations: 0 / 1.925 GB, free: 495.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04139/3.915, allocations: 15.64 MB / 1.94 GB, free: 488.4 MB / 1.167 GB Notification: Performance of SimCode: time 0.05557/3.97, allocations: 30.73 MB / 1.97 GB, free: 457.8 MB / 1.167 GB Notification: Performance of Templates: time 0.3412/4.311, allocations: 268.4 MB / 2.232 GB, free: 190.3 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1)