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.001142/0.001142, allocations: 91.06 kB / 15.06 MB, free: 1.094 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.001838/0.001838, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.501/1.501, allocations: 252 MB / 0.5102 GB, free: 4.723 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.0005473/0.0005475, allocations: 16 kB / 0.6243 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5707, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003725/0.5745, allocations: 2.515 MB / 0.7306 GB, free: 8.855 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002531/0.5771, allocations: 1.361 MB / 0.7319 GB, free: 7.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002456/0.5773, allocations: 11.94 kB / 0.7319 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.5777, allocations: 71.53 kB / 0.732 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003199/0.578, allocations: 119.3 kB / 0.7321 GB, free: 7.289 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007715/0.5788, allocations: 305.5 kB / 0.7324 GB, free: 6.996 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000496/0.5793, allocations: 475.2 kB / 0.7329 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002704/0.5796, allocations: 140.4 kB / 0.733 GB, free: 6.391 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.5798, allocations: 151.2 kB / 0.7331 GB, free: 6.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.58, allocations: 147.1 kB / 0.7333 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.17e-05/0.5801, allocations: 12 kB / 0.7333 GB, free: 6.086 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.5802, allocations: 55.97 kB / 0.7333 GB, free: 6.031 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001249/0.5804, allocations: 71.61 kB / 0.7334 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.5805, allocations: 97.45 kB / 0.7335 GB, free: 5.859 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004292/0.581, allocations: 464.7 kB / 0.7339 GB, free: 5.406 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.581, allocations: 0 / 0.7339 GB, free: 5.406 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.581, allocations: 0 / 0.7339 GB, free: 5.406 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.581, allocations: 0 / 0.7339 GB, free: 5.406 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.001119/0.5821, allocations: 0.7336 MB / 0.7347 GB, free: 4.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5822, allocations: 8.031 kB / 0.7347 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.5823, allocations: 59.3 kB / 0.7347 GB, free: 4.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.5829, allocations: 425.4 kB / 0.7351 GB, free: 4.094 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.5829, allocations: 20.56 kB / 0.7351 GB, free: 4.074 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.583, allocations: 24 kB / 0.7352 GB, free: 4.051 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.5836, allocations: 331.9 kB / 0.7355 GB, free: 3.703 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.5836, allocations: 0 / 0.7355 GB, free: 3.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.5837, allocations: 16 kB / 0.7355 GB, free: 3.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.5837, allocations: 7.953 kB / 0.7355 GB, free: 3.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004866/0.5842, allocations: 222.1 kB / 0.7357 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.5857, allocations: 1.101 MB / 0.7368 GB, free: 2.293 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007794/0.5865, allocations: 247.5 kB / 0.737 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.5868, allocations: 117.2 kB / 0.7371 GB, free: 1.926 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.874e-05/0.5868, allocations: 4.188 kB / 0.7371 GB, free: 1.922 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003753/0.5872, allocations: 159.4 kB / 0.7373 GB, free: 1.754 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 3.917e-06/0.5872, allocations: 0 / 0.7373 GB, free: 1.754 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.000816/0.5881, allocations: 363.9 kB / 0.7376 GB, free: 1.395 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.5881, allocations: 106.8 kB / 0.7377 GB, free: 1.266 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005436/0.5887, allocations: 465.8 kB / 0.7382 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.5887, allocations: 29.7 kB / 0.7382 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002109/0.5889, allocations: 236.5 kB / 0.7384 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.589, allocations: 75 kB / 0.7385 GB, free: 468 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.589, allocations: 4 kB / 0.7385 GB, free: 464 kB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.5892, allocations: 350.8 kB / 0.7389 GB, free: 104 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.5894, allocations: 91.95 kB / 0.7389 GB, free: 12 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.5897, allocations: 169.1 kB / 0.7391 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.59, allocations: 95.84 kB / 0.7392 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.59, allocations: 0 / 0.7392 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006703/0.5907, allocations: 308.9 kB / 0.7395 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.5907, allocations: 5.719 kB / 0.7395 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.5907, allocations: 4 kB / 0.7395 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5907, allocations: 0 / 0.7395 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.591, allocations: 60 kB / 0.7396 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.591, allocations: 7.953 kB / 0.7396 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.5912, allocations: 31.73 kB / 0.7396 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.5912, allocations: 12 kB / 0.7396 GB, free: 15.3 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 ($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.000234/0.5914, allocations: 185.7 kB / 0.7398 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.138e-05/0.5915, allocations: 47.38 kB / 0.7398 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.545e-05/0.5916, allocations: 47.91 kB / 0.7399 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.5916, allocations: 4 kB / 0.7399 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5916, allocations: 0 / 0.7399 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.5916, allocations: 3.953 kB / 0.7399 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004058/0.5921, allocations: 417.2 kB / 0.7403 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5921, allocations: 0 / 0.7403 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.5923, allocations: 43.91 kB / 0.7403 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.5923, allocations: 0 / 0.7403 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5923, allocations: 11.98 kB / 0.7403 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5923, allocations: 3.984 kB / 0.7403 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5923, allocations: 4 kB / 0.7403 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.5932, allocations: 439 kB / 0.7408 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.5934, allocations: 148.5 kB / 0.7409 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.458e-05/0.5935, allocations: 8 kB / 0.7409 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.5936, allocations: 15.98 kB / 0.7409 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.5937, allocations: 15.97 kB / 0.7409 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.5937, allocations: 15.98 kB / 0.741 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003404/0.5941, allocations: 319.1 kB / 0.7413 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5941, allocations: 4.062 kB / 0.7413 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003292/0.5944, allocations: 71.84 kB / 0.7413 GB, free: 13.44 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 (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.00104/0.5955, allocations: 432.2 kB / 0.7417 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005621/0.596, allocations: 234.3 kB / 0.742 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5961, allocations: 0 / 0.742 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.5963, allocations: 115.9 kB / 0.7421 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.5969, allocations: 108.2 kB / 0.7422 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.5983, allocations: 0.8003 MB / 0.743 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.5988, allocations: 0.8151 MB / 0.7438 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000208/0.599, allocations: 51.27 kB / 0.7438 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.827e-05/0.5991, allocations: 39.42 kB / 0.7438 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.5991, allocations: 4 kB / 0.7438 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Templates: time 0.01076/0.6099, allocations: 4.546 MB / 0.7483 GB, free: 6.508 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: