Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001046/0.001046, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007712/0.007712, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.359/1.359, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.907/2.907, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003378, allocations: 8.75 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.329, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003839/0.3328, allocations: 2.6 MB / 1.077 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003064/0.3359, allocations: 1.454 MB / 1.078 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005065/0.3365, allocations: 15.94 kB / 1.078 GB, free: 3.449 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005077/0.337, allocations: 83.47 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005442/0.3376, allocations: 111.4 kB / 1.078 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3387, allocations: 370.7 kB / 1.079 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000533/0.3392, allocations: 0.4914 MB / 1.079 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003257/0.3395, allocations: 193.1 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002356/0.3398, allocations: 159 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.34, allocations: 155 kB / 1.08 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.34, allocations: 8 kB / 1.08 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.3402, allocations: 59.97 kB / 1.08 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.3403, allocations: 71.62 kB / 1.08 GB, free: 1.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.3405, allocations: 192.5 kB / 1.08 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.3411, allocations: 0.5489 MB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3411, allocations: 0 / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3411, allocations: 0 / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.3411, allocations: 4 kB / 1.08 GB, free: 1.02 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.00115/0.3422, allocations: 0.7183 MB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.3423, allocations: 8.031 kB / 1.081 GB, free: 244 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.183e-05/0.3424, allocations: 56.31 kB / 1.081 GB, free: 188 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.343, allocations: 422.5 kB / 1.082 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/0.3431, allocations: 28.92 kB / 1.082 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.3431, allocations: 31.94 kB / 1.082 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005799/0.3437, allocations: 327.9 kB / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3437, allocations: 0 / 1.082 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3438, allocations: 12 kB / 1.082 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.3438, allocations: 4 kB / 1.082 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.3443, allocations: 226.1 kB / 1.082 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001333/0.3456, allocations: 1.104 MB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.3462, allocations: 246.8 kB / 1.084 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002565/0.3465, allocations: 121.4 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.3465, allocations: 3.984 kB / 1.084 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003826/0.3469, allocations: 166.1 kB / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.347, allocations: 0 / 1.084 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=23): time 0.0008462/0.3478, allocations: 360.9 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.049e-05/0.3479, allocations: 106.8 kB / 1.084 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004876/0.3484, allocations: 449.9 kB / 1.085 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.3484, allocations: 37.7 kB / 1.085 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.3486, allocations: 232.4 kB / 1.085 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.3487, allocations: 67 kB / 1.085 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/0.3487, allocations: 33.7 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3489, allocations: 350.8 kB / 1.085 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.3491, allocations: 87.89 kB / 1.085 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.3494, allocations: 164.2 kB / 1.086 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004615/0.3498, allocations: 226.9 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3499, allocations: 4 kB / 1.086 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006017/0.3505, allocations: 315.1 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3505, allocations: 9.406 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3505, allocations: 0 / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3505, allocations: 8.156 kB / 1.086 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3508, allocations: 55.84 kB / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3508, allocations: 0 / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.351, allocations: 39.67 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.351, allocations: 12 kB / 1.086 GB, free: 10.76 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.0001856/0.3512, allocations: 181.8 kB / 1.086 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.675e-05/0.3513, allocations: 47.47 kB / 1.086 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.485e-05/0.3514, allocations: 43.83 kB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3514, allocations: 4 kB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3514, allocations: 48 / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.3514, allocations: 3.984 kB / 1.087 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.3518, allocations: 417.2 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3518, allocations: 3.938 kB / 1.087 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.352, allocations: 43.91 kB / 1.087 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.352, allocations: 0 / 1.087 GB, free: 9.969 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.3521, allocations: 8 kB / 1.087 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3521, allocations: 4 kB / 1.087 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3521, allocations: 0 / 1.087 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/0.3529, allocations: 432.2 kB / 1.087 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.3531, allocations: 152.5 kB / 1.088 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.3531, allocations: 4 kB / 1.088 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.3533, allocations: 19.92 kB / 1.088 GB, free: 9.324 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.3534, allocations: 19.97 kB / 1.088 GB, free: 9.305 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.3534, allocations: 4 kB / 1.088 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003311/0.3537, allocations: 327.2 kB / 1.088 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3538, allocations: 0 / 1.088 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003196/0.3541, allocations: 75.84 kB / 1.088 GB, free: 8.906 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.000988/0.3551, allocations: 413.4 kB / 1.088 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.3556, allocations: 238.8 kB / 1.089 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3556, allocations: 0 / 1.089 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.3559, allocations: 115.9 kB / 1.089 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.3565, allocations: 99.81 kB / 1.089 GB, free: 8.211 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.3577, allocations: 0.8389 MB / 1.09 GB, free: 7.344 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.358, allocations: 0.8112 MB / 1.09 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001876/0.3582, allocations: 59.23 kB / 1.09 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.173e-05/0.3583, allocations: 35.42 kB / 1.091 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.3583, allocations: 0 / 1.091 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of Templates: time 0.00904/0.3674, allocations: 4.488 MB / 1.095 GB, free: 2.012 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)