Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.876/4.876, allocations: 0.5623 GB / 0.5769 GB, free: 3.305 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00271/0.00271, allocations: 364.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.439/4.439, allocations: 410.7 MB / 1.112 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.003667/0.003667, allocations: 191 kB / 1.225 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004895, allocations: 12 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6399/0.6404, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00299/0.6434, allocations: 2.482 MB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002407/0.6459, allocations: 1.296 MB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.6462, allocations: 11.94 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.6466, allocations: 63.59 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.647, allocations: 130.1 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001/0.648, allocations: 306.3 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004996/0.6486, allocations: 472.4 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002628/0.6488, allocations: 144.7 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002238/0.6491, allocations: 147.1 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001853/0.6493, allocations: 150.4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.4e-05/0.6493, allocations: 8 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.6495, allocations: 55.91 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.735e-05/0.6496, allocations: 63.69 kB / 1.466 GB, free: 279 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.984e-05/0.6497, allocations: 97.44 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004447/0.6502, allocations: 452.9 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.767e-06/0.6502, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.498e-06/0.6502, allocations: 4.812 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.658e-06/0.6502, allocations: 0 / 1.466 GB, free: 278.5 MB / 0.8542 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.001137/0.6514, allocations: 0.7184 MB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.6514, allocations: 11.62 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.6515, allocations: 55.83 kB / 1.467 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006543/0.6522, allocations: 423 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.176e-05/0.6523, allocations: 20.56 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.6523, allocations: 24.75 kB / 1.468 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000664/0.653, allocations: 332.2 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.653, allocations: 0 / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.773e-05/0.6531, allocations: 15.98 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.161e-06/0.6531, allocations: 7.953 kB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006794/0.6538, allocations: 221 kB / 1.468 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.6553, allocations: 1.097 MB / 1.469 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007309/0.6561, allocations: 247.5 kB / 1.47 GB, free: 275.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.6564, allocations: 123.1 kB / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.718e-05/0.6565, allocations: 192 / 1.47 GB, free: 275.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000424/0.6569, allocations: 162.2 kB / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 2.948e-06/0.6569, allocations: 0 / 1.47 GB, free: 274.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.001032/0.658, allocations: 363.7 kB / 1.47 GB, free: 274.5 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.658, allocations: 107.2 kB / 1.47 GB, free: 274.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.6586, allocations: 450.9 kB / 1.471 GB, free: 274 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.6587, allocations: 33.7 kB / 1.471 GB, free: 273.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001691/0.6589, allocations: 237 kB / 1.471 GB, free: 273.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.86e-05/0.6589, allocations: 67.02 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.794e-05/0.659, allocations: 9.25 kB / 1.471 GB, free: 273.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.6591, allocations: 350.8 kB / 1.471 GB, free: 273.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.6594, allocations: 93.64 kB / 1.471 GB, free: 273.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.6597, allocations: 158.5 kB / 1.472 GB, free: 273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.66, allocations: 96.55 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6601, allocations: 4 kB / 1.472 GB, free: 272.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007931/0.6609, allocations: 306.2 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.6609, allocations: 8 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.289e-06/0.6609, allocations: 0.5 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.6609, allocations: 4.781 kB / 1.472 GB, free: 272.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/0.6613, allocations: 52.84 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6613, allocations: 7.891 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/0.6616, allocations: 34.61 kB / 1.472 GB, free: 272.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.6616, allocations: 8 kB / 1.472 GB, free: 272.5 MB / 0.8542 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 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.6619, allocations: 182 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.145e-05/0.662, allocations: 47.44 kB / 1.472 GB, free: 272.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.6621, allocations: 44.45 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.117e-06/0.6621, allocations: 7.938 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.209e-06/0.6621, allocations: 1.188 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.6621, allocations: 3.953 kB / 1.472 GB, free: 272.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.6626, allocations: 417.2 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-06/0.6626, allocations: 2.188 kB / 1.473 GB, free: 271.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.6629, allocations: 40.94 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.744e-06/0.6629, allocations: 0 / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.663, allocations: 4 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.663, allocations: 8.609 kB / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.663, allocations: 0 / 1.473 GB, free: 271.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.664, allocations: 428.3 kB / 1.473 GB, free: 271.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.6642, allocations: 149.1 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.6643, allocations: 8 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.6645, allocations: 18.52 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.371e-05/0.6646, allocations: 19.97 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.6647, allocations: 8 kB / 1.473 GB, free: 271.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004008/0.6651, allocations: 315.1 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.78e-07/0.6651, allocations: 0.75 kB / 1.474 GB, free: 270.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000459/0.6656, allocations: 75.84 kB / 1.474 GB, free: 270.7 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001444/0.667, allocations: 431 kB / 1.474 GB, free: 270.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007328/0.6678, allocations: 231 kB / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.829e-06/0.6678, allocations: 0 / 1.474 GB, free: 270.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003166/0.6682, allocations: 117.3 kB / 1.475 GB, free: 270.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.6689, allocations: 100 kB / 1.475 GB, free: 270 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.6703, allocations: 0.7899 MB / 1.475 GB, free: 269.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002719/0.6706, allocations: 0.8239 MB / 1.476 GB, free: 268.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002816/0.6709, allocations: 55.88 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.671, allocations: 31.42 kB / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.578e-06/0.671, allocations: 0 / 1.476 GB, free: 268.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.01156/0.6826, allocations: 4.351 MB / 1.481 GB, free: 264.3 MB / 0.8542 GB