Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.098/2.098, allocations: 391.2 MB / 407 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 200.5 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 0.7948 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 121.6 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 51.05 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2208, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00348/0.2244, allocations: 2.962 MB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001717/0.2261, allocations: 1.488 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.2263, allocations: 11.94 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.2266, allocations: 79.53 kB / 1.223 GB, free: 112.7 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.2269, allocations: 123.3 kB / 1.223 GB, free: 112.6 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006521/0.2276, allocations: 368.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.2279, allocations: 0.4915 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.2281, allocations: 201.1 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.2283, allocations: 175 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.2284, allocations: 187 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.721e-05/0.2285, allocations: 16 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.2286, allocations: 71.91 kB / 1.224 GB, free: 111.1 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.2287, allocations: 87.61 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2288, allocations: 190.7 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.2292, allocations: 0.5549 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2292, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2292, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2292, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 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.0009409/0.2302, allocations: 0.7921 MB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.2302, allocations: 15.98 kB / 1.226 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.2303, allocations: 56.28 kB / 1.226 GB, free: 109.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.2307, allocations: 434.4 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.2307, allocations: 20.94 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.2308, allocations: 39.88 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004283/0.2312, allocations: 323.9 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.2312, allocations: 0 / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.2313, allocations: 15.98 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2313, allocations: 8 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003942/0.2317, allocations: 210.1 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009555/0.2326, allocations: 1.1 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.2331, allocations: 242.9 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.2333, allocations: 120.7 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.2334, allocations: 4 kB / 1.228 GB, free: 106.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.2337, allocations: 156.1 kB / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=23): time 1.573e-06/0.2337, allocations: 0 / 1.228 GB, free: 106.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=23): time 0.0006505/0.2344, allocations: 355.2 kB / 1.229 GB, free: 106.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2344, allocations: 110.8 kB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003253/0.2347, allocations: 449.9 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.2348, allocations: 33.7 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.963e-05/0.2349, allocations: 224.5 kB / 1.229 GB, free: 105.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.2349, allocations: 78.89 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/0.235, allocations: 53.7 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.783e-05/0.235, allocations: 354.8 kB / 1.23 GB, free: 104.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.2352, allocations: 87.95 kB / 1.23 GB, free: 104.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.2354, allocations: 153.2 kB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003487/0.2358, allocations: 222 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2358, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004582/0.2363, allocations: 304.5 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.2363, allocations: 4 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2363, allocations: 4 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2363, allocations: 3.938 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.2365, allocations: 55.89 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2365, allocations: 4 kB / 1.231 GB, free: 104 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.2367, allocations: 27.89 kB / 1.231 GB, free: 103.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.2367, allocations: 16 kB / 1.231 GB, free: 103.9 MB / 0.823 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.0001266/0.2369, allocations: 186.2 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.2369, allocations: 47.38 kB / 1.231 GB, free: 103.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.44e-05/0.237, allocations: 39.84 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.237, allocations: 4 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.237, allocations: 48 / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.237, allocations: 7.969 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.2373, allocations: 405.4 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.2373, allocations: 7.938 kB / 1.231 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2375, allocations: 39.91 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2375, allocations: 0 / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.2375, allocations: 8 kB / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2375, allocations: 0 / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2375, allocations: 0 / 1.231 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.2405, allocations: 2.616 MB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-05/0.2406, allocations: 140.5 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.2406, allocations: 8 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2408, allocations: 16.05 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.978e-05/0.2409, allocations: 27.91 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2409, allocations: 7.984 kB / 1.234 GB, free: 100.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002319/0.2411, allocations: 315.1 kB / 1.235 GB, free: 99.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2411, allocations: 0 / 1.235 GB, free: 99.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003824/0.2415, allocations: 99.84 kB / 1.235 GB, free: 99.71 MB / 0.823 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.0008297/0.2424, allocations: 430.6 kB / 1.235 GB, free: 99.44 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004499/0.2428, allocations: 217.7 kB / 1.235 GB, free: 99.23 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2428, allocations: 0 / 1.235 GB, free: 99.23 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.243, allocations: 115.8 kB / 1.235 GB, free: 99.11 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.2435, allocations: 103.7 kB / 1.235 GB, free: 99.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.2445, allocations: 1.018 MB / 1.236 GB, free: 97.96 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.2447, allocations: 0.8151 MB / 1.237 GB, free: 97.12 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001751/0.2449, allocations: 55.25 kB / 1.237 GB, free: 97.06 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.016e-05/0.245, allocations: 39.36 kB / 1.237 GB, free: 97.02 MB / 0.823 GB Notification: Performance of SimCode: time 2.01e-07/0.245, allocations: 0 / 1.237 GB, free: 97.02 MB / 0.823 GB Notification: Performance of Templates: time 0.00709/0.2521, allocations: 4.911 MB / 1.242 GB, free: 92.21 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)