Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.00126, allocations: 195.6 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.54/1.54, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.557/1.557, allocations: 251.6 MB / 0.5089 GB, free: 3.293 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 0.6218 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.6563, allocations: 104.7 MB / 0.724 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004377/0.6607, allocations: 3.016 MB / 0.7269 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002287/0.663, allocations: 1.419 MB / 0.7283 GB, free: 8.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002631/0.6633, allocations: 11.94 kB / 0.7283 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004403/0.6638, allocations: 91.47 kB / 0.7284 GB, free: 8.719 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003547/0.6642, allocations: 107.4 kB / 0.7285 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.665, allocations: 373.1 kB / 0.7289 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005513/0.6656, allocations: 0.5344 MB / 0.7294 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003097/0.6659, allocations: 211.2 kB / 0.7296 GB, free: 7.512 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.6662, allocations: 211 kB / 0.7298 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.6664, allocations: 195 kB / 0.73 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.684e-05/0.6665, allocations: 44 kB / 0.73 GB, free: 7.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.6666, allocations: 91.97 kB / 0.7301 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.6667, allocations: 111.5 kB / 0.7302 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.6669, allocations: 214.8 kB / 0.7304 GB, free: 6.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005471/0.6675, allocations: 0.5995 MB / 0.731 GB, free: 6.059 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6675, allocations: 0 / 0.731 GB, free: 6.059 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6675, allocations: 0 / 0.731 GB, free: 6.059 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.6675, allocations: 0 / 0.731 GB, free: 6.059 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001073/0.6686, allocations: 0.8036 MB / 0.7318 GB, free: 5.199 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.6686, allocations: 15.97 kB / 0.7318 GB, free: 5.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.259e-05/0.6687, allocations: 56.28 kB / 0.7319 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005209/0.6692, allocations: 430.4 kB / 0.7323 GB, free: 4.668 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.6693, allocations: 24.94 kB / 0.7323 GB, free: 4.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.6693, allocations: 31.94 kB / 0.7323 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.6699, allocations: 327.9 kB / 0.7326 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6699, allocations: 0 / 0.7326 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.6699, allocations: 12 kB / 0.7327 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.6699, allocations: 4 kB / 0.7327 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004468/0.6704, allocations: 210.1 kB / 0.7329 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.6717, allocations: 1.112 MB / 0.7339 GB, free: 2.871 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/0.6723, allocations: 238.9 kB / 0.7342 GB, free: 2.629 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.6726, allocations: 112.8 kB / 0.7343 GB, free: 2.516 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.6726, allocations: 4 kB / 0.7343 GB, free: 2.512 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004458/0.6731, allocations: 156.1 kB / 0.7344 GB, free: 2.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.853e-06/0.6731, allocations: 4 kB / 0.7344 GB, free: 2.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.0008395/0.674, allocations: 350.4 kB / 0.7348 GB, free: 1.996 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.674, allocations: 106.8 kB / 0.7349 GB, free: 1.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004805/0.6745, allocations: 465.9 kB / 0.7353 GB, free: 1.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.6745, allocations: 29.7 kB / 0.7353 GB, free: 1.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000172/0.6747, allocations: 252.3 kB / 0.7356 GB, free: 1.117 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.6748, allocations: 67.02 kB / 0.7357 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.6749, allocations: 57.69 kB / 0.7357 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6751, allocations: 358.7 kB / 0.736 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.6753, allocations: 83.95 kB / 0.7361 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.6755, allocations: 169.2 kB / 0.7363 GB, free: 364 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004107/0.676, allocations: 216.2 kB / 0.7365 GB, free: 132 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.676, allocations: 0 / 0.7365 GB, free: 132 kB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005653/0.6765, allocations: 312.7 kB / 0.7368 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6766, allocations: 4 kB / 0.7368 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6766, allocations: 4.156 kB / 0.7368 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.6766, allocations: 4 kB / 0.7368 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.6768, allocations: 51.91 kB / 0.7369 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6768, allocations: 4 kB / 0.7369 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/0.677, allocations: 27.73 kB / 0.7369 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.6771, allocations: 8 kB / 0.7369 GB, free: 15.71 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition1,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,cooTowSpeCon.fmcMod.y,cooTowSpeCon.pmcMod.y,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001827/0.6772, allocations: 181.7 kB / 0.7371 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.6773, allocations: 47.41 kB / 0.7371 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.139e-05/0.6774, allocations: 51.91 kB / 0.7372 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6774, allocations: 4 kB / 0.7372 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6774, allocations: 0 / 0.7372 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.6774, allocations: 0 / 0.7372 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.6778, allocations: 425.2 kB / 0.7376 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6779, allocations: 3.938 kB / 0.7376 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.6781, allocations: 31.98 kB / 0.7376 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6781, allocations: 0 / 0.7376 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/0.6781, allocations: 7.984 kB / 0.7376 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.6781, allocations: 4 kB / 0.7376 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.6781, allocations: 4 kB / 0.7376 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008089/0.6789, allocations: 422.9 kB / 0.738 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.6791, allocations: 144.4 kB / 0.7382 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.6791, allocations: 8 kB / 0.7382 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.6793, allocations: 16.05 kB / 0.7382 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.185e-05/0.6794, allocations: 23.97 kB / 0.7382 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.6794, allocations: 7.938 kB / 0.7382 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00034/0.6798, allocations: 327.1 kB / 0.7385 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6798, allocations: 0 / 0.7385 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003229/0.6801, allocations: 79.84 kB / 0.7386 GB, free: 13.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009156/0.681, allocations: 426.6 kB / 0.739 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005712/0.6816, allocations: 242.5 kB / 0.7392 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6816, allocations: 0 / 0.7392 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002285/0.6818, allocations: 111.9 kB / 0.7393 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005766/0.6824, allocations: 132.5 kB / 0.7395 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.6837, allocations: 0.8294 MB / 0.7403 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.6841, allocations: 0.8187 MB / 0.7411 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001917/0.6843, allocations: 47.27 kB / 0.7411 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.103e-05/0.6844, allocations: 43.42 kB / 0.7412 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of SimCode: time 5.51e-07/0.6844, allocations: 0 / 0.7412 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of Templates: time 0.009762/0.6942, allocations: 4.888 MB / 0.7459 GB, free: 6.555 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)