Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.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.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") translateModel(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.277/1.277, 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.0009846/0.0009845, allocations: 177.3 kB / 326.5 MB, free: 2.688 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.536/1.536, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0007509/0.0007509, allocations: 82.36 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.000316, allocations: 9.656 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.201, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl): time 0.8855/1.087, allocations: 471.8 MB / 1.358 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.6867/1.773, allocations: 74.52 MB / 1.43 GB, free: 27.91 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01816/1.792, allocations: 328.3 kB / 1.431 GB, free: 27.91 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0152/1.807, allocations: 4.244 MB / 1.435 GB, free: 27.88 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.03988/1.847, allocations: 12.36 MB / 1.447 GB, free: 27.5 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.02363/1.87, allocations: 8.436 MB / 1.455 GB, free: 27.25 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0589/1.929, allocations: 44.61 MB / 1.499 GB, free: 27.17 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01918/1.948, allocations: 11.48 MB / 1.51 GB, free: 23.97 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02501/1.973, allocations: 10.91 MB / 1.52 GB, free: 22.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02091/1.994, allocations: 9.902 MB / 1.53 GB, free: 19.24 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.005272/2, allocations: 0.5261 MB / 1.531 GB, free: 19.24 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02334/2.023, allocations: 8.72 MB / 1.539 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.006384/2.03, allocations: 3.256 MB / 1.542 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.01742/2.047, allocations: 6.9 MB / 1.549 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.04047/2.087, allocations: 24.32 MB / 1.573 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/2.088, allocations: 0 / 1.573 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.695e-06/2.088, allocations: 0 / 1.573 GB, free: 1.789 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0008445/2.088, allocations: 0 / 1.573 GB, free: 1.789 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: 2252 * Number of variables: 2252 Notification: Performance of Generate backend data structure: time 0.0316/2.12, allocations: 12.87 MB / 1.585 GB, free: 5.938 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/2.12, allocations: 8.031 kB / 1.585 GB, free: 5.93 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02152/2.142, allocations: 3.608 MB / 1.589 GB, free: 2.398 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02604/2.168, allocations: 11.82 MB / 1.6 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001631/2.169, allocations: 0.9618 MB / 1.601 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003024/2.172, allocations: 0.9189 MB / 1.602 GB, free: 5.449 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03202/2.204, allocations: 12.16 MB / 1.614 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002483/2.205, allocations: 19.78 kB / 1.614 GB, free: 8.969 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002989/2.208, allocations: 379.7 kB / 1.615 GB, free: 8.605 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003277/2.208, allocations: 364.8 kB / 1.615 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02798/2.236, allocations: 11.37 MB / 1.626 GB, free: 12.86 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.09392/2.33, allocations: 52.01 MB / 1.677 GB, free: 6.336 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01896/2.349, allocations: 9.786 MB / 1.686 GB, free: 12.36 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009128/2.358, allocations: 4.426 MB / 1.691 GB, free: 7.918 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.03294/2.391, allocations: 16.21 MB / 1.707 GB, free: 7.023 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009888/2.401, allocations: 4.436 MB / 1.711 GB, free: 2.512 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007813/2.409, allocations: 1.532 MB / 1.712 GB, free: 0.9844 MB / 1.073 GB Notification: Performance of pre-optimization done (n=594): time 2.661e-05/2.409, allocations: 0 / 1.712 GB, free: 0.9844 MB / 1.073 GB Notification: Performance of matching and sorting (n=598): time 0.06036/2.469, allocations: 21.76 MB / 1.734 GB, free: 10.88 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/2.469, allocations: 274.2 kB / 1.734 GB, free: 10.56 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01606/2.486, allocations: 10 MB / 1.744 GB, free: 0.6133 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.001653/2.487, allocations: 169.7 kB / 1.744 GB, free: 452 kB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.005369/2.493, allocations: 5.52 MB / 1.749 GB, free: 10.93 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.002955/2.496, allocations: 2.041 MB / 1.751 GB, free: 8.902 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001181/2.497, allocations: 0.6454 MB / 1.752 GB, free: 8.254 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.599e-05/2.497, allocations: 309 kB / 1.752 GB, free: 7.949 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008059/2.505, allocations: 3.704 MB / 1.756 GB, free: 4.242 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0102/2.515, allocations: 5.845 MB / 1.761 GB, free: 13.61 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01834/2.534, allocations: 9.16 MB / 1.77 GB, free: 3.812 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.25e-05/2.534, allocations: 12 kB / 1.77 GB, free: 3.801 MB / 1.135 GB Notification: Performance of matching and sorting (n=945) (initialization): time 0.02546/2.559, allocations: 11.01 MB / 1.781 GB, free: 8.715 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008868/2.56, allocations: 1.403 MB / 1.783 GB, free: 6.719 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.958e-05/2.56, allocations: 43.94 kB / 1.783 GB, free: 6.676 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002921/2.563, allocations: 0.7026 MB / 1.783 GB, free: 5.961 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008493/2.571, allocations: 1.833 MB / 1.785 GB, free: 4.125 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/2.578, allocations: 6.883 MB / 1.792 GB, free: 12.85 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01269/2.59, allocations: 1.159 MB / 1.793 GB, free: 11.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/2.592, allocations: 359.8 kB / 1.793 GB, free: 11.34 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/2.592, allocations: 4 kB / 1.793 GB, free: 11.34 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01935/2.612, allocations: 9.673 MB / 1.803 GB, free: 1.609 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-05/2.612, allocations: 44 kB / 1.803 GB, free: 1.566 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002358/2.614, allocations: 0.6308 MB / 1.803 GB, free: 0.9219 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.8285/3.443, allocations: 1.772 MB / 1.805 GB, free: 0.5586 GB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007719/3.45, allocations: 8.371 MB / 1.813 GB, free: 0.5525 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01316/3.463, allocations: 1.107 MB / 1.814 GB, free: 0.5525 GB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001961/3.465, allocations: 351.7 kB / 1.815 GB, free: 0.5525 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,weaData.conTim.canRepeatWeatherFile,weaData.conTimMin.canRepeatWeatherFile,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,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 (902): * Single equations (assignments): 887 * 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.009915/3.475, allocations: 3.335 MB / 1.818 GB, free: 0.5523 GB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003999/3.479, allocations: 1.051 MB / 1.819 GB, free: 0.5523 GB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0286/3.508, allocations: 9.855 MB / 1.829 GB, free: 0.5518 GB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02063/3.529, allocations: 7.684 MB / 1.836 GB, free: 0.5494 GB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.281e-05/3.529, allocations: 0 / 1.836 GB, free: 0.5494 GB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007809/3.537, allocations: 2.045 MB / 1.838 GB, free: 0.5488 GB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003869/3.541, allocations: 133.2 kB / 1.838 GB, free: 0.5487 GB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01061/3.551, allocations: 0.9563 MB / 1.839 GB, free: 0.5486 GB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001618/3.553, allocations: 426.6 kB / 1.84 GB, free: 0.5485 GB / 1.167 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02521/3.578, allocations: 9.311 MB / 1.849 GB, free: 0.5457 GB / 1.167 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02921/3.607, allocations: 13.74 MB / 1.862 GB, free: 0.5411 GB / 1.167 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00804/3.615, allocations: 3.934 MB / 1.866 GB, free: 0.5397 GB / 1.167 GB Notification: Performance of sorting global known variables: time 0.01516/3.631, allocations: 6.797 MB / 1.873 GB, free: 0.5375 GB / 1.167 GB Notification: Performance of Backend: time 1.502e-06/3.631, allocations: 0 / 1.873 GB, free: 0.5375 GB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.04205/3.673, allocations: 14.28 MB / 1.886 GB, free: 0.5269 GB / 1.167 GB Notification: Performance of SimCode: time 0.06039/3.733, allocations: 31.23 MB / 1.917 GB, free: 0.4968 GB / 1.167 GB Notification: Performance of Templates: time 0.3247/4.058, allocations: 253.2 MB / 2.164 GB, free: 256.4 MB / 1.167 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.sim & ./Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.ChillerPlant.DataCenterContinuousTimeControl.pipe 2>&1)