Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.635/1.635, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001145/0.001145, allocations: 176.8 kB / 366.7 MB, free: 1.637 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.67/1.67, allocations: 205.2 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009554/0.0009553, allocations: 90.22 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.056e-05/2.06e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6572, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.8529, allocations: 148.6 MB / 1.118 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.8533, allocations: 91.94 kB / 1.118 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02877/0.8821, allocations: 10.35 MB / 1.129 GB, free: 7.188 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8821, allocations: 4 kB / 1.129 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.656e-05/0.8822, allocations: 11.94 kB / 1.129 GB, free: 7.172 MB / 0.7292 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.001255/0.8834, allocations: 0.6918 MB / 1.129 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.8835, allocations: 8.031 kB / 1.129 GB, free: 6.418 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.8837, allocations: 55.64 kB / 1.129 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.8845, allocations: 423.7 kB / 1.13 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.8845, allocations: 12 kB / 1.13 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.319e-05/0.8846, allocations: 16 kB / 1.13 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000384/0.885, allocations: 177.1 kB / 1.13 GB, free: 5.711 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.8855, allocations: 291.7 kB / 1.13 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.8855, allocations: 4 kB / 1.13 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.8855, allocations: 3.984 kB / 1.13 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.166e-06/0.8855, allocations: 4 kB / 1.13 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.8871, allocations: 1.1 MB / 1.131 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004348/0.8876, allocations: 227.3 kB / 1.132 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.8877, allocations: 93.22 kB / 1.132 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.8878, allocations: 7.938 kB / 1.132 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.888, allocations: 139.5 kB / 1.132 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.265e-06/0.8881, allocations: 0 / 1.132 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0004666/0.8885, allocations: 238.2 kB / 1.132 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.8886, allocations: 162.2 kB / 1.132 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004278/0.8891, allocations: 365.2 kB / 1.132 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.8891, allocations: 29.7 kB / 1.132 GB, free: 2.918 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.8893, allocations: 220.2 kB / 1.133 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.8894, allocations: 71 kB / 1.133 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.8894, allocations: 0 / 1.133 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.8895, allocations: 354.8 kB / 1.133 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.8897, allocations: 71.98 kB / 1.133 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.8899, allocations: 160.4 kB / 1.133 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.89, allocations: 85.8 kB / 1.133 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8901, allocations: 0 / 1.133 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004052/0.8905, allocations: 249 kB / 1.134 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.8905, allocations: 4 kB / 1.134 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8905, allocations: 0 / 1.134 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.233e-05/0.8906, allocations: 4 kB / 1.134 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.8908, allocations: 63.89 kB / 1.134 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.8908, allocations: 5.938 kB / 1.134 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.8911, allocations: 31.83 kB / 1.134 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.8911, allocations: 4 kB / 1.134 GB, free: 1.574 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001209/0.8912, allocations: 128.7 kB / 1.134 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.8913, allocations: 39.53 kB / 1.134 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004548/0.8918, allocations: 261 kB / 1.134 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.8918, allocations: 0 / 1.134 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.8918, allocations: 0 / 1.134 GB, free: 1.145 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8918, allocations: 3.984 kB / 1.134 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.8922, allocations: 397.7 kB / 1.135 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.8922, allocations: 3.938 kB / 1.135 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.8925, allocations: 49.53 kB / 1.135 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.8925, allocations: 0 / 1.135 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.8925, allocations: 0 / 1.135 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.8925, allocations: 11.94 kB / 1.135 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8925, allocations: 3.984 kB / 1.135 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000603/0.8931, allocations: 385.9 kB / 1.135 GB, free: 260 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.8933, allocations: 156.4 kB / 1.135 GB, free: 84 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.634e-05/0.8934, allocations: 4 kB / 1.135 GB, free: 80 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.8936, allocations: 21.83 kB / 1.135 GB, free: 60 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.8937, allocations: 23.97 kB / 1.135 GB, free: 36 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.8937, allocations: 8 kB / 1.135 GB, free: 28 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003266/0.894, allocations: 279 kB / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/0.894, allocations: 0 / 1.135 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003905/0.8944, allocations: 91.77 kB / 1.136 GB, free: 15.66 MB / 0.7448 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.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * 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.0009024/0.8953, allocations: 376.3 kB / 1.136 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003822/0.8957, allocations: 202 kB / 1.136 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8958, allocations: 0 / 1.136 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.8959, allocations: 107.9 kB / 1.136 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.8964, allocations: 90.36 kB / 1.136 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.8975, allocations: 498.1 kB / 1.137 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.8979, allocations: 0.8265 MB / 1.138 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002075/0.8981, allocations: 54.61 kB / 1.138 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.814e-05/0.8982, allocations: 39.42 kB / 1.138 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.8982, allocations: 0 / 1.138 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.01065/0.9089, allocations: 4.451 MB / 1.142 GB, free: 9.234 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)