Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.272/1.272, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009337/0.0009337, allocations: 177.2 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205 MB / 0.5766 GB, free: 21 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.0008035/0.0008035, allocations: 85.23 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003195/0.0003195, allocations: 12.78 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2044, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl): time 0.8913/1.096, allocations: 471.5 MB / 1.357 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.7047/1.8, allocations: 74.45 MB / 1.43 GB, free: 27.84 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01966/1.82, allocations: 318.1 kB / 1.43 GB, free: 27.84 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.01631/1.836, allocations: 4.229 MB / 1.434 GB, free: 27.82 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.03652/1.873, allocations: 12.34 MB / 1.446 GB, free: 27.45 MB / 0.9167 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.02177/1.895, allocations: 8.372 MB / 1.455 GB, free: 27.2 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.05142/1.946, allocations: 44.49 MB / 1.498 GB, free: 27.12 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02241/1.969, allocations: 11.42 MB / 1.509 GB, free: 23.99 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02564/1.994, allocations: 10.88 MB / 1.52 GB, free: 22.51 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01995/2.014, allocations: 9.894 MB / 1.529 GB, free: 19.29 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.005035/2.019, allocations: 0.5263 MB / 1.53 GB, free: 19.29 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02421/2.044, allocations: 8.716 MB / 1.538 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.006561/2.05, allocations: 3.245 MB / 1.542 GB, free: 11.95 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01715/2.067, allocations: 6.887 MB / 1.548 GB, free: 6.836 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.04077/2.108, allocations: 24.21 MB / 1.572 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/2.108, allocations: 0 / 1.572 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.116e-06/2.108, allocations: 0 / 1.572 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0009675/2.109, allocations: 4 kB / 1.572 GB, free: 2.234 MB / 0.9323 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.03318/2.142, allocations: 12.86 MB / 1.585 GB, free: 6.387 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/2.143, allocations: 8.031 kB / 1.585 GB, free: 6.379 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02213/2.165, allocations: 3.588 MB / 1.588 GB, free: 2.863 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02866/2.193, allocations: 11.73 MB / 1.599 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001905/2.195, allocations: 0.9571 MB / 1.6 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003781/2.199, allocations: 0.9184 MB / 1.601 GB, free: 6.293 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03822/2.237, allocations: 12.14 MB / 1.613 GB, free: 9.863 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000708/2.238, allocations: 23.77 kB / 1.613 GB, free: 9.84 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004132/2.242, allocations: 369.6 kB / 1.614 GB, free: 9.484 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000395/2.243, allocations: 360.8 kB / 1.614 GB, free: 9.129 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02889/2.272, allocations: 11.36 MB / 1.625 GB, free: 13.75 MB / 0.9948 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.09222/2.364, allocations: 51.71 MB / 1.675 GB, free: 7.52 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0208/2.385, allocations: 9.839 MB / 1.685 GB, free: 13.48 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00964/2.394, allocations: 4.424 MB / 1.689 GB, free: 9.039 MB / 1.057 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.03644/2.431, allocations: 16.31 MB / 1.705 GB, free: 8.047 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01055/2.441, allocations: 4.469 MB / 1.71 GB, free: 3.496 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007971/2.449, allocations: 1.569 MB / 1.711 GB, free: 1.934 MB / 1.073 GB Notification: Performance of pre-optimization done (n=599): time 2.809e-05/2.449, allocations: 3.938 kB / 1.711 GB, free: 1.93 MB / 1.073 GB Notification: Performance of matching and sorting (n=603): time 0.06877/2.518, allocations: 23.47 MB / 1.734 GB, free: 10.11 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/2.518, allocations: 333.1 kB / 1.734 GB, free: 9.719 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02379/2.542, allocations: 9.929 MB / 1.744 GB, free: 15.84 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002299/2.545, allocations: 173.7 kB / 1.744 GB, free: 15.66 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.007118/2.552, allocations: 5.487 MB / 1.75 GB, free: 10.18 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.003491/2.555, allocations: 2.049 MB / 1.752 GB, free: 8.145 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/2.558, allocations: 0.6412 MB / 1.752 GB, free: 7.5 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/2.558, allocations: 305.1 kB / 1.753 GB, free: 7.199 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009393/2.567, allocations: 3.711 MB / 1.756 GB, free: 3.484 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01174/2.579, allocations: 5.871 MB / 1.762 GB, free: 12.81 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/2.6, allocations: 9.207 MB / 1.771 GB, free: 2.965 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.355e-05/2.6, allocations: 12 kB / 1.771 GB, free: 2.953 MB / 1.135 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.03118/2.631, allocations: 11.03 MB / 1.782 GB, free: 7.848 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001129/2.632, allocations: 1.413 MB / 1.783 GB, free: 5.832 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.599e-05/2.633, allocations: 48 kB / 1.783 GB, free: 5.785 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003127/2.636, allocations: 0.702 MB / 1.784 GB, free: 5.07 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008872/2.645, allocations: 1.826 MB / 1.786 GB, free: 3.242 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007165/2.652, allocations: 6.891 MB / 1.792 GB, free: 11.96 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0127/2.664, allocations: 1.165 MB / 1.794 GB, free: 10.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/2.666, allocations: 365 kB / 1.794 GB, free: 10.45 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/2.666, allocations: 4 kB / 1.794 GB, free: 10.44 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02451/2.691, allocations: 9.668 MB / 1.803 GB, free: 0.7148 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/2.691, allocations: 52.09 kB / 1.803 GB, free: 0.6641 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/2.694, allocations: 0.6228 MB / 1.804 GB, free: 32 kB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.8412/3.535, allocations: 1.756 MB / 1.806 GB, free: 0.5595 GB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007555/3.542, allocations: 8.389 MB / 1.814 GB, free: 0.5534 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/3.555, allocations: 1.108 MB / 1.815 GB, free: 0.5534 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002314/3.557, allocations: 353.7 kB / 1.815 GB, free: 0.5534 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,triAndRes.firstTrigger,$PRE.triAndRes.firstTrigger,triAndRes.sampleTrigger,$whenCondition7,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.sampleTrigger,$whenCondition5,triAndRes.uniDel1.sampleTrigger,$whenCondition6,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,weaData.conTim.canRepeatWeatherFile,weaData.conTimMin.canRepeatWeatherFile,triAndRes.uniDel1.y,$PRE.triAndRes.uniDel1.y,triAndRes.sam.y,triAndRes.incY.y,or1.y,or1.u1,weaData.conTim.tNext,$PRE.weaData.conTim.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTimMin.tNext,chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y,wseCon.stateGraphRoot.activeSteps,wseCon.T2.t_start,$PRE.wseCon.T2.t_start,wseCon.T2.fire,wseCon.T2.enableFire,wseCon.T2.condition,wseCon.on.oldActive,$PRE.wseCon.on.oldActive,wseCon.on.newActive,$PRE.wseCon.on.newActive,wseCon.on.localActive,$PRE.wseCon.on.localActive,wseCon.on.active,wseCon.T1.t_start,$PRE.wseCon.T1.t_start,wseCon.T1.fire,wseCon.T1.enableFire,wseCon.T1.condition,wseCon.off.active,wseCon.off.oldActive,$PRE.wseCon.off.oldActive,wseCon.off.newActive,$PRE.wseCon.off.newActive,wseCon.off.localActive,$PRE.wseCon.off.localActive,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,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 (906): * Single equations (assignments): 891 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,9), (1,2), (2,9), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01001/3.567, allocations: 3.338 MB / 1.819 GB, free: 0.5531 GB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004118/3.571, allocations: 1.044 MB / 1.82 GB, free: 0.5531 GB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02605/3.598, allocations: 9.896 MB / 1.829 GB, free: 0.5526 GB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0169/3.614, allocations: 7.748 MB / 1.837 GB, free: 0.5502 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/3.614, allocations: 0 / 1.837 GB, free: 0.5502 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006321/3.621, allocations: 2.046 MB / 1.839 GB, free: 0.5495 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002924/3.624, allocations: 135.6 kB / 1.839 GB, free: 0.5495 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009461/3.633, allocations: 0.9688 MB / 1.84 GB, free: 0.5494 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009572/3.634, allocations: 432.6 kB / 1.84 GB, free: 0.5493 GB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02414/3.658, allocations: 9.44 MB / 1.85 GB, free: 0.5464 GB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02886/3.687, allocations: 13.86 MB / 1.863 GB, free: 0.5417 GB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007378/3.695, allocations: 3.967 MB / 1.867 GB, free: 0.5403 GB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01408/3.709, allocations: 6.744 MB / 1.874 GB, free: 0.5378 GB / 1.167 GB Notification: Performance of Backend: time 8.11e-07/3.709, allocations: 0 / 1.874 GB, free: 0.5378 GB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.03864/3.747, allocations: 14.31 MB / 1.887 GB, free: 0.5259 GB / 1.167 GB Notification: Performance of SimCode: time 0.06078/3.808, allocations: 31.07 MB / 1.918 GB, free: 0.4959 GB / 1.167 GB Notification: Performance of Templates: time 0.3302/4.138, allocations: 253.4 MB / 2.165 GB, free: 255.3 MB / 1.167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl.pipe 2>&1)