Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.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.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.341/2.341, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.00126/0.00126, allocations: 181.8 kB / 326.3 MB, free: 2.824 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.244/2.244, allocations: 205.4 MB / 0.5772 GB, free: 20.78 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.0009207/0.0009206, allocations: 96.36 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004769, allocations: 9.656 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1915, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 1.224/1.415, allocations: 436.3 MB / 1.326 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1465/1.562, allocations: 69.37 MB / 1.393 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01458/1.576, allocations: 305.9 kB / 1.394 GB, free: 9.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01681/1.593, allocations: 3.464 MB / 1.397 GB, free: 6.195 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.7983/2.392, allocations: 10.25 MB / 1.407 GB, free: 40.3 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.02739/2.419, allocations: 6.525 MB / 1.413 GB, free: 40.2 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.064/2.483, allocations: 38.17 MB / 1.451 GB, free: 40.12 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03066/2.514, allocations: 11.09 MB / 1.461 GB, free: 38.74 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03/2.544, allocations: 10.39 MB / 1.472 GB, free: 38.71 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02289/2.567, allocations: 9.37 MB / 1.481 GB, free: 38.68 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.005092/2.572, allocations: 0.5302 MB / 1.481 GB, free: 38.68 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02588/2.598, allocations: 5.415 MB / 1.487 GB, free: 38.55 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.00817/2.606, allocations: 3.149 MB / 1.49 GB, free: 38.02 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.00872/2.615, allocations: 2.86 MB / 1.492 GB, free: 37.53 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.03285/2.648, allocations: 18.98 MB / 1.511 GB, free: 28.99 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/2.648, allocations: 0 / 1.511 GB, free: 28.99 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.926e-06/2.648, allocations: 0 / 1.511 GB, free: 28.99 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0007337/2.649, allocations: 0 / 1.511 GB, free: 28.99 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: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.04564/2.694, allocations: 13 MB / 1.524 GB, free: 21.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/2.694, allocations: 8.031 kB / 1.524 GB, free: 21.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03396/2.728, allocations: 3.592 MB / 1.527 GB, free: 17.69 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03607/2.764, allocations: 11.33 MB / 1.538 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002714/2.767, allocations: 0.9634 MB / 1.539 GB, free: 9.359 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003954/2.771, allocations: 0.9247 MB / 1.54 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04406/2.815, allocations: 12.07 MB / 1.552 GB, free: 124 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004606/2.816, allocations: 29.2 kB / 1.552 GB, free: 100 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003187/2.819, allocations: 372.7 kB / 1.552 GB, free: 12 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006106/2.82, allocations: 364.5 kB / 1.553 GB, free: 15.66 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04688/2.866, allocations: 11.3 MB / 1.564 GB, free: 7.812 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.1342/3.001, allocations: 52.16 MB / 1.615 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03537/3.036, allocations: 9.801 MB / 1.624 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01657/3.053, allocations: 4.439 MB / 1.628 GB, free: 2.344 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.05492/3.108, allocations: 16.24 MB / 1.644 GB, free: 6.07 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01759/3.125, allocations: 4.457 MB / 1.649 GB, free: 2.824 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01899/3.144, allocations: 1.559 MB / 1.65 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=599): time 3.376e-05/3.145, allocations: 0 / 1.65 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of matching and sorting (n=648): time 0.1237/3.268, allocations: 26.77 MB / 1.676 GB, free: 13.23 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002464/3.269, allocations: 338.8 kB / 1.677 GB, free: 12.85 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0276/3.296, allocations: 9.847 MB / 1.686 GB, free: 5.75 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002085/3.298, allocations: 178.9 kB / 1.686 GB, free: 5.676 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.008596/3.307, allocations: 5.497 MB / 1.692 GB, free: 2.879 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004434/3.311, allocations: 2.201 MB / 1.694 GB, free: 1 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/3.313, allocations: 152.5 kB / 1.694 GB, free: 0.9688 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0006955/3.313, allocations: 0.5977 MB / 1.695 GB, free: 500 kB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01603/3.329, allocations: 3.887 MB / 1.698 GB, free: 13.88 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01927/3.349, allocations: 6.071 MB / 1.704 GB, free: 8.516 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01833/3.367, allocations: 4.645 MB / 1.709 GB, free: 5.559 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.631e-05/3.367, allocations: 12 kB / 1.709 GB, free: 5.547 MB / 1.042 GB Notification: Performance of matching and sorting (n=994) (initialization): time 0.05487/3.422, allocations: 12.83 MB / 1.721 GB, free: 12.27 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.001332/3.423, allocations: 1.414 MB / 1.723 GB, free: 10.41 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/3.424, allocations: 45.8 kB / 1.723 GB, free: 10.36 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02947/3.453, allocations: 4.867 MB / 1.728 GB, free: 6.285 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/3.466, allocations: 1.441 MB / 1.729 GB, free: 4.891 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03771/3.503, allocations: 13.95 MB / 1.743 GB, free: 6.691 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/3.525, allocations: 1.22 MB / 1.744 GB, free: 5.477 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00252/3.527, allocations: 375.2 kB / 1.744 GB, free: 5.113 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/3.527, allocations: 4 kB / 1.744 GB, free: 5.109 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04939/3.577, allocations: 11.57 MB / 1.756 GB, free: 9.488 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001452/3.577, allocations: 43.94 kB / 1.756 GB, free: 9.445 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02867/3.606, allocations: 4.823 MB / 1.76 GB, free: 4.605 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01207/3.618, allocations: 1.392 MB / 1.762 GB, free: 3.211 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0431/3.661, allocations: 16.05 MB / 1.777 GB, free: 2.605 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02012/3.681, allocations: 1.155 MB / 1.778 GB, free: 1.449 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002399/3.683, allocations: 361.7 kB / 1.779 GB, free: 1.098 MB / 1.104 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 (779): * Single equations (assignments): 765 * 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.013/3.696, allocations: 3.389 MB / 1.782 GB, free: 13.7 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004976/3.701, allocations: 1.057 MB / 1.783 GB, free: 12.62 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0486/3.75, allocations: 10.49 MB / 1.793 GB, free: 2.07 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03479/3.785, allocations: 8.254 MB / 1.801 GB, free: 9.715 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.314e-05/3.785, allocations: 4 kB / 1.801 GB, free: 9.711 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009846/3.795, allocations: 2.24 MB / 1.804 GB, free: 7.438 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004809/3.8, allocations: 164 kB / 1.804 GB, free: 7.277 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0184/3.818, allocations: 0.9772 MB / 1.805 GB, free: 6.305 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002103/3.82, allocations: 460.9 kB / 1.805 GB, free: 5.852 MB / 1.135 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 1.243/5.064, allocations: 10.29 MB / 1.815 GB, free: 0.5181 GB / 1.136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.06082/5.124, allocations: 14.79 MB / 1.83 GB, free: 0.5175 GB / 1.136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01527/5.14, allocations: 4.347 MB / 1.834 GB, free: 0.5174 GB / 1.136 GB Notification: Performance of sorting global known variables: time 0.01938/5.159, allocations: 6.655 MB / 1.84 GB, free: 0.5155 GB / 1.136 GB Notification: Performance of Backend: time 8.72e-07/5.159, allocations: 0 / 1.84 GB, free: 0.5155 GB / 1.136 GB Notification: Performance of simCode: created initialization part: time 0.06766/5.227, allocations: 15.63 MB / 1.856 GB, free: 0.5108 GB / 1.136 GB Notification: Performance of SimCode: time 0.0882/5.315, allocations: 30.89 MB / 1.886 GB, free: 0.4964 GB / 1.136 GB Notification: Performance of Templates: time 0.6124/5.928, allocations: 267.8 MB / 2.147 GB, free: 247 MB / 1.136 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile (rm -f Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1)