Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.001297/0.001297, 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.001474/0.001474, allocations: 192.8 kB / 16.25 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 62.5 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3294, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004829/0.3343, allocations: 2.966 MB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002699/0.337, allocations: 1.473 MB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004355/0.3375, allocations: 15.94 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005097/0.338, allocations: 87.47 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005617/0.3387, allocations: 115.4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.3398, allocations: 381.9 kB / 1.073 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007634/0.3406, allocations: 0.5343 MB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004007/0.341, allocations: 201.1 kB / 1.073 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003629/0.3414, allocations: 211 kB / 1.074 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.3417, allocations: 199 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-05/0.3418, allocations: 44 kB / 1.074 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002108/0.342, allocations: 87.97 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3422, allocations: 115.5 kB / 1.074 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.3424, allocations: 206.8 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007053/0.3431, allocations: 0.5765 MB / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3431, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.366e-06/0.3431, allocations: 0 / 1.075 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.3432, allocations: 11.94 kB / 1.075 GB, free: 3.578 MB / 0.8262 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.001398/0.3446, allocations: 0.792 MB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3446, allocations: 12.02 kB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.3447, allocations: 52.38 kB / 1.076 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006425/0.3454, allocations: 430.4 kB / 1.076 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.3454, allocations: 24.94 kB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.3455, allocations: 27.94 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000584/0.3461, allocations: 327.9 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3461, allocations: 4 kB / 1.076 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.3461, allocations: 8 kB / 1.076 GB, free: 1.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.3462, allocations: 8 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005067/0.3467, allocations: 214.1 kB / 1.077 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.3481, allocations: 1.108 MB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00062/0.3487, allocations: 234.9 kB / 1.078 GB, free: 180 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.349, allocations: 112.8 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.156e-05/0.349, allocations: 7.984 kB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000552/0.3496, allocations: 151.3 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 2.294e-06/0.3496, allocations: 7.875 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0009055/0.3505, allocations: 355.7 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.3506, allocations: 106.8 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.3511, allocations: 449.9 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/0.3512, allocations: 33.7 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3514, allocations: 232.5 kB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.881e-05/0.3515, allocations: 67 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.3516, allocations: 57.61 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0003125/0.3519, allocations: 358.8 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3522, allocations: 79.95 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.3524, allocations: 160.4 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.353, allocations: 223.3 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.353, allocations: 4 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006539/0.3537, allocations: 300.8 kB / 1.08 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/0.3537, allocations: 4 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3537, allocations: 0 / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.3538, allocations: 4 kB / 1.08 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.354, allocations: 56.06 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.3541, allocations: 7.984 kB / 1.081 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002459/0.3543, allocations: 31.69 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.732e-05/0.3544, allocations: 11.98 kB / 1.081 GB, free: 13.29 MB / 0.8419 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.0002762/0.3546, allocations: 177.7 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.3547, allocations: 43.47 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.3549, allocations: 47.84 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3549, allocations: 0 / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.3549, allocations: 4 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.968e-06/0.3549, allocations: 3.984 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005546/0.3555, allocations: 413.2 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.3555, allocations: 3.938 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.3557, allocations: 31.92 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.3557, allocations: 7.938 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.3558, allocations: 7.984 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3558, allocations: 0 / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3558, allocations: 4 kB / 1.081 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3568, allocations: 421.7 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002423/0.3571, allocations: 140.5 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.3571, allocations: 4 kB / 1.082 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.3573, allocations: 15.98 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.3574, allocations: 23.91 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.245e-05/0.3575, allocations: 12.06 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004712/0.3579, allocations: 319.1 kB / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8.32e-07/0.358, allocations: 0 / 1.082 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004287/0.3584, allocations: 75.84 kB / 1.082 GB, free: 11.47 MB / 0.8419 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.001192/0.3596, allocations: 431.7 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008045/0.3604, allocations: 238.1 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3604, allocations: 0 / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.3607, allocations: 115.8 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006277/0.3614, allocations: 120.3 kB / 1.083 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3631, allocations: 0.8227 MB / 1.084 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.3636, allocations: 0.8071 MB / 1.085 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000238/0.3639, allocations: 51.25 kB / 1.085 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001071/0.364, allocations: 39.42 kB / 1.085 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.364, allocations: 0 / 1.085 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of Templates: time 0.01051/0.3745, allocations: 4.679 MB / 1.089 GB, free: 4.375 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)