Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.64/1.64, allocations: 287.4 MB / 303.2 MB, free: 8.297 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.0009699/0.0009699, allocations: 190 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.364/1.364, allocations: 205.4 MB / 0.6304 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.0007078/0.0007078, allocations: 103.2 kB / 0.7438 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 15.08 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2075, allocations: 115.3 MB / 0.9793 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 0.8556/1.063, allocations: 436.2 MB / 1.405 GB, free: 7.238 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.697/1.76, allocations: 69.34 MB / 1.473 GB, free: 49.9 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01717/1.777, allocations: 309.2 kB / 1.473 GB, free: 49.9 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.01594/1.793, allocations: 3.491 MB / 1.477 GB, free: 49.81 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.04678/1.84, allocations: 10.19 MB / 1.487 GB, free: 49.36 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.02274/1.863, allocations: 6.636 MB / 1.493 GB, free: 49.14 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.05232/1.915, allocations: 37.98 MB / 1.53 GB, free: 48.99 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02003/1.935, allocations: 11.45 MB / 1.541 GB, free: 45.23 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02732/1.963, allocations: 10.4 MB / 1.552 GB, free: 42.97 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02276/1.986, allocations: 9.318 MB / 1.561 GB, free: 39.43 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.006385/1.992, allocations: 0.5255 MB / 1.561 GB, free: 39.43 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02587/2.018, allocations: 5.41 MB / 1.566 GB, free: 37.65 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.008146/2.026, allocations: 3.13 MB / 1.569 GB, free: 35.3 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.009166/2.035, allocations: 2.865 MB / 1.572 GB, free: 33.5 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.02813/2.063, allocations: 18.99 MB / 1.591 GB, free: 17.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/2.063, allocations: 3.125 kB / 1.591 GB, free: 17.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.444e-06/2.063, allocations: 4 kB / 1.591 GB, free: 17.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0008762/2.064, allocations: 0 / 1.591 GB, free: 17.4 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.03084/2.095, allocations: 12.85 MB / 1.603 GB, free: 5.621 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/2.095, allocations: 8.031 kB / 1.603 GB, free: 5.613 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0209/2.116, allocations: 3.612 MB / 1.607 GB, free: 2.078 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02981/2.146, allocations: 11.79 MB / 1.618 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0021/2.148, allocations: 0.9694 MB / 1.619 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004368/2.153, allocations: 0.9297 MB / 1.62 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0362/2.189, allocations: 12.07 MB / 1.632 GB, free: 56 kB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005645/2.189, allocations: 22.78 kB / 1.632 GB, free: 36 kB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003937/2.193, allocations: 372.8 kB / 1.632 GB, free: 15.95 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005457/2.194, allocations: 375.7 kB / 1.633 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03279/2.227, allocations: 11.27 MB / 1.644 GB, free: 7.773 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.1017/2.328, allocations: 52.44 MB / 1.695 GB, free: 12.15 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02168/2.35, allocations: 9.638 MB / 1.704 GB, free: 5.105 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01042/2.361, allocations: 4.443 MB / 1.709 GB, free: 2.156 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.03988/2.401, allocations: 16.27 MB / 1.725 GB, free: 1.238 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01154/2.412, allocations: 4.41 MB / 1.729 GB, free: 12.75 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008519/2.421, allocations: 1.546 MB / 1.73 GB, free: 11.21 MB / 1.057 GB Notification: Performance of pre-optimization done (n=593): time 2.622e-05/2.421, allocations: 0 / 1.73 GB, free: 11.21 MB / 1.057 GB Notification: Performance of matching and sorting (n=642): time 0.07628/2.497, allocations: 25.09 MB / 1.755 GB, free: 2.086 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/2.497, allocations: 282.6 kB / 1.755 GB, free: 1.758 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0218/2.519, allocations: 9.874 MB / 1.765 GB, free: 7.938 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.002102/2.521, allocations: 188.2 kB / 1.765 GB, free: 7.75 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.006982/2.528, allocations: 5.508 MB / 1.77 GB, free: 2.242 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003922/2.532, allocations: 2.186 MB / 1.773 GB, free: 76 kB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001592/2.534, allocations: 152.3 kB / 1.773 GB, free: 15.92 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0006711/2.535, allocations: 0.6048 MB / 1.773 GB, free: 15.32 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009717/2.544, allocations: 3.884 MB / 1.777 GB, free: 11.43 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/2.557, allocations: 6.045 MB / 1.783 GB, free: 4.598 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02111/2.578, allocations: 9.636 MB / 1.792 GB, free: 10.34 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.77e-05/2.578, allocations: 12 kB / 1.792 GB, free: 10.32 MB / 1.12 GB Notification: Performance of matching and sorting (n=989) (initialization): time 0.03681/2.615, allocations: 12.81 MB / 1.805 GB, free: 13.46 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/2.616, allocations: 1.404 MB / 1.806 GB, free: 11.46 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/2.616, allocations: 44 kB / 1.806 GB, free: 11.42 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01586/2.632, allocations: 4.838 MB / 1.811 GB, free: 6.566 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006986/2.639, allocations: 1.435 MB / 1.812 GB, free: 5.129 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/2.662, allocations: 13.95 MB / 1.826 GB, free: 6.836 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0143/2.676, allocations: 1.204 MB / 1.827 GB, free: 5.629 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002182/2.678, allocations: 367.8 kB / 1.828 GB, free: 5.27 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/2.678, allocations: 9.234 kB / 1.828 GB, free: 5.262 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03081/2.709, allocations: 11.59 MB / 1.839 GB, free: 9.625 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/2.71, allocations: 40 kB / 1.839 GB, free: 9.586 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01502/2.725, allocations: 4.772 MB / 1.844 GB, free: 4.805 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00648/2.731, allocations: 1.4 MB / 1.845 GB, free: 3.402 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8753/3.606, allocations: 16.04 MB / 1.861 GB, free: 0.5056 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01338/3.62, allocations: 1.141 MB / 1.862 GB, free: 0.5055 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001733/3.622, allocations: 365.3 kB / 1.862 GB, free: 0.5054 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.008903/3.631, allocations: 3.363 MB / 1.865 GB, free: 0.5039 GB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003077/3.634, allocations: 1.064 MB / 1.866 GB, free: 0.5039 GB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02772/3.661, allocations: 10.45 MB / 1.877 GB, free: 0.5002 GB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01827/3.68, allocations: 8.243 MB / 1.885 GB, free: 0.4972 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.41e-05/3.68, allocations: 1.125 kB / 1.885 GB, free: 0.4972 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007931/3.688, allocations: 2.218 MB / 1.887 GB, free: 0.4965 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003589/3.691, allocations: 157.7 kB / 1.887 GB, free: 0.4964 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01066/3.702, allocations: 0.9558 MB / 1.888 GB, free: 0.4963 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/3.703, allocations: 452.2 kB / 1.888 GB, free: 0.4963 GB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02853/3.732, allocations: 10.17 MB / 1.898 GB, free: 0.4931 GB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03421/3.766, allocations: 14.68 MB / 1.913 GB, free: 499.8 MB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.008743/3.775, allocations: 4.327 MB / 1.917 GB, free: 498.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01557/3.79, allocations: 6.676 MB / 1.923 GB, free: 496 MB / 1.167 GB Notification: Performance of Backend: time 1.493e-06/3.791, allocations: 3.688 kB / 1.923 GB, free: 496 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04788/3.838, allocations: 15.62 MB / 1.939 GB, free: 489.4 MB / 1.167 GB Notification: Performance of SimCode: time 0.06171/3.9, allocations: 30.86 MB / 1.969 GB, free: 458.7 MB / 1.167 GB Notification: Performance of Templates: time 0.3621/4.262, allocations: 268.3 MB / 2.231 GB, free: 191.3 MB / 1.167 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)