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.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001464/0.001464, allocations: 191.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 222 MB, free: 4.766 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.547/1.547, allocations: 251.6 MB / 0.5088 GB, free: 3.23 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.001583/0.001583, allocations: 59.92 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.616/0.6176, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004612/0.6223, allocations: 3.016 MB / 0.7268 GB, free: 10.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002701/0.625, allocations: 1.419 MB / 0.7281 GB, free: 8.676 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003182/0.6253, allocations: 11.94 kB / 0.7282 GB, free: 8.664 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.6258, allocations: 91.47 kB / 0.7282 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.6261, allocations: 123.3 kB / 0.7284 GB, free: 8.453 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009019/0.6271, allocations: 348 kB / 0.7287 GB, free: 8.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005667/0.6276, allocations: 0.4991 MB / 0.7292 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.628, allocations: 203.1 kB / 0.7294 GB, free: 7.422 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003056/0.6283, allocations: 179.1 kB / 0.7295 GB, free: 7.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.6286, allocations: 186.9 kB / 0.7297 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.895e-05/0.6286, allocations: 20 kB / 0.7297 GB, free: 7.043 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.6288, allocations: 67.91 kB / 0.7298 GB, free: 6.977 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.6289, allocations: 79.67 kB / 0.7299 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002043/0.6292, allocations: 198.6 kB / 0.7301 GB, free: 6.703 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006187/0.6298, allocations: 0.5645 MB / 0.7306 GB, free: 6.137 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6298, allocations: 0 / 0.7306 GB, free: 6.137 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.92e-07/0.6298, allocations: 0 / 0.7306 GB, free: 6.137 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.6298, allocations: 0 / 0.7306 GB, free: 6.137 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.001402/0.6312, allocations: 0.8115 MB / 0.7314 GB, free: 5.27 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.6313, allocations: 8.031 kB / 0.7314 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.6314, allocations: 52.28 kB / 0.7315 GB, free: 5.211 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/0.6321, allocations: 438.4 kB / 0.7319 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.6321, allocations: 24.94 kB / 0.7319 GB, free: 4.715 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.6322, allocations: 27.94 kB / 0.7319 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005817/0.6328, allocations: 331.9 kB / 0.7323 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.6328, allocations: 0 / 0.7323 GB, free: 4.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.201e-05/0.6328, allocations: 16 kB / 0.7323 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.6329, allocations: 4 kB / 0.7323 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004803/0.6333, allocations: 210.1 kB / 0.7325 GB, free: 4.117 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.6348, allocations: 1.116 MB / 0.7336 GB, free: 2.938 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006435/0.6355, allocations: 230.9 kB / 0.7338 GB, free: 2.703 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.6357, allocations: 118.5 kB / 0.7339 GB, free: 2.586 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.6358, allocations: 7.984 kB / 0.7339 GB, free: 2.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004332/0.6362, allocations: 151.3 kB / 0.7341 GB, free: 2.418 MB / 0.545 GB Notification: Performance of pre-optimization done (n=23): time 1.674e-06/0.6362, allocations: 0 / 0.7341 GB, free: 2.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=23): time 0.000798/0.637, allocations: 361 kB / 0.7344 GB, free: 2.062 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.6371, allocations: 106.8 kB / 0.7345 GB, free: 1.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004952/0.6376, allocations: 469.8 kB / 0.7349 GB, free: 1.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.6377, allocations: 29.7 kB / 0.735 GB, free: 1.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001739/0.6379, allocations: 244.3 kB / 0.7352 GB, free: 1.188 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.6379, allocations: 67.02 kB / 0.7353 GB, free: 1.121 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.638, allocations: 57.69 kB / 0.7353 GB, free: 1.059 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.6382, allocations: 350.8 kB / 0.7357 GB, free: 0.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.6384, allocations: 91.95 kB / 0.7357 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002607/0.6387, allocations: 153.2 kB / 0.7359 GB, free: 452 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.6391, allocations: 224.8 kB / 0.7361 GB, free: 208 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6391, allocations: 0 / 0.7361 GB, free: 208 kB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006072/0.6397, allocations: 312 kB / 0.7364 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6397, allocations: 4 kB / 0.7364 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6398, allocations: 0 / 0.7364 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6398, allocations: 4 kB / 0.7364 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002376/0.64, allocations: 55.91 kB / 0.7365 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.64, allocations: 0 / 0.7365 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.6402, allocations: 39.83 kB / 0.7365 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.6403, allocations: 8 kB / 0.7365 GB, free: 15.79 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 ($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.0001951/0.6405, allocations: 177.8 kB / 0.7367 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.633e-05/0.6405, allocations: 47.47 kB / 0.7367 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.208e-05/0.6406, allocations: 47.91 kB / 0.7368 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6406, allocations: 4 kB / 0.7368 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6406, allocations: 4 kB / 0.7368 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.6407, allocations: 0 / 0.7368 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004111/0.6411, allocations: 429.2 kB / 0.7372 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.6411, allocations: 3.938 kB / 0.7372 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002093/0.6413, allocations: 31.92 kB / 0.7372 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6413, allocations: 4 kB / 0.7372 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.6414, allocations: 7.984 kB / 0.7372 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.6414, allocations: 3.984 kB / 0.7372 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6414, allocations: 7.938 kB / 0.7372 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008245/0.6422, allocations: 416.3 kB / 0.7376 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.6424, allocations: 144.5 kB / 0.7378 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.6424, allocations: 8 kB / 0.7378 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.6426, allocations: 11.98 kB / 0.7378 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.6427, allocations: 19.97 kB / 0.7378 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.526e-05/0.6427, allocations: 8 kB / 0.7378 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003342/0.643, allocations: 327.2 kB / 0.7381 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.643, allocations: 0 / 0.7381 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003237/0.6434, allocations: 75.83 kB / 0.7382 GB, free: 13.95 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 (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.0009156/0.6443, allocations: 425.2 kB / 0.7386 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005173/0.6448, allocations: 235.3 kB / 0.7388 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.6448, allocations: 0 / 0.7388 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.6451, allocations: 115.9 kB / 0.739 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005468/0.6456, allocations: 105.8 kB / 0.7391 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.6469, allocations: 0.8323 MB / 0.7399 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.6472, allocations: 0.819 MB / 0.7407 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000201/0.6474, allocations: 51.25 kB / 0.7407 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.962e-05/0.6475, allocations: 35.42 kB / 0.7407 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of SimCode: time 2.5e-07/0.6475, allocations: 0 / 0.7407 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.00887/0.6564, allocations: 4.727 MB / 0.7454 GB, free: 6.812 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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)