Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.639/1.639, allocations: 287.5 MB / 302.6 MB, free: 8.234 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.001022/0.001022, allocations: 177 kB / 371.2 MB, free: 10.84 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.529/1.529, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000766/0.000766, allocations: 97.25 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 10.38 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1955, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002861/0.1984, allocations: 2.478 MB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2005, allocations: 1.338 MB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002534/0.2008, allocations: 15.94 kB / 0.9824 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.2012, allocations: 75.53 kB / 0.9825 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.2014, allocations: 107.3 kB / 0.9826 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000664/0.2021, allocations: 297.3 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.2025, allocations: 471.3 kB / 0.9833 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.2028, allocations: 197.3 kB / 0.9835 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.203, allocations: 151.2 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.2031, allocations: 151.1 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.74e-05/0.2032, allocations: 8 kB / 0.9838 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.2033, allocations: 55.91 kB / 0.9839 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.671e-05/0.2034, allocations: 63.69 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.183e-05/0.2035, allocations: 93.45 kB / 0.984 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.2038, allocations: 454.8 kB / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.2038, allocations: 0 / 0.9845 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2038, allocations: 8 kB / 0.9845 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2038, allocations: 0 / 0.9845 GB, free: 22.25 MB / 0.6198 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.0009307/0.2048, allocations: 0.7144 MB / 0.9852 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.2048, allocations: 12.03 kB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.2049, allocations: 52.28 kB / 0.9852 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.2054, allocations: 434.5 kB / 0.9856 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.2054, allocations: 24.94 kB / 0.9857 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.2055, allocations: 27.94 kB / 0.9857 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004944/0.206, allocations: 335.9 kB / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.206, allocations: 0 / 0.986 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.206, allocations: 8 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.2061, allocations: 8 kB / 0.986 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004279/0.2065, allocations: 222.1 kB / 0.9862 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.2076, allocations: 1.104 MB / 0.9873 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.2082, allocations: 244.4 kB / 0.9875 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.2084, allocations: 116.8 kB / 0.9877 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.2084, allocations: 11.98 kB / 0.9877 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003232/0.2088, allocations: 155.2 kB / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.613e-06/0.2088, allocations: 0 / 0.9878 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0006994/0.2095, allocations: 365.4 kB / 0.9882 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.2095, allocations: 102.8 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.2099, allocations: 453.8 kB / 0.9887 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.2099, allocations: 37.69 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.21, allocations: 228.5 kB / 0.9889 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.2101, allocations: 67.02 kB / 0.989 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.116e-05/0.2101, allocations: 4 kB / 0.989 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.181e-05/0.2102, allocations: 354.8 kB / 0.9894 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/0.2104, allocations: 83.95 kB / 0.9894 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.2106, allocations: 172.1 kB / 0.9896 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003709/0.211, allocations: 229.1 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.211, allocations: 8 kB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004714/0.2114, allocations: 300.7 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2115, allocations: 8 kB / 0.9901 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2115, allocations: 4.156 kB / 0.9901 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.2115, allocations: 4 kB / 0.9901 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.2117, allocations: 55.91 kB / 0.9902 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.2117, allocations: 3.984 kB / 0.9902 GB, free: 16.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.2119, allocations: 35.69 kB / 0.9902 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.2119, allocations: 11.98 kB / 0.9902 GB, free: 16.02 MB / 0.6198 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 ($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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000138/0.2121, allocations: 181.8 kB / 0.9904 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.2121, allocations: 43.47 kB / 0.9904 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.556e-05/0.2122, allocations: 47.78 kB / 0.9905 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.2122, allocations: 4 kB / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2122, allocations: 0 / 0.9905 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.2122, allocations: 8.016 kB / 0.9905 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002757/0.2125, allocations: 413.2 kB / 0.9909 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2125, allocations: 3.938 kB / 0.9909 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.2127, allocations: 43.92 kB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2127, allocations: 4 kB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2128, allocations: 3.984 kB / 0.9909 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2128, allocations: 4 kB / 0.991 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2128, allocations: 0 / 0.991 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/0.2135, allocations: 436.3 kB / 0.9914 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.2136, allocations: 144.5 kB / 0.9915 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.806e-05/0.2136, allocations: 8 kB / 0.9915 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.2138, allocations: 15.92 kB / 0.9915 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.437e-05/0.2139, allocations: 19.97 kB / 0.9915 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.2139, allocations: 15.98 kB / 0.9916 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002465/0.2141, allocations: 311.2 kB / 0.9919 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2141, allocations: 0 / 0.9919 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002904/0.2144, allocations: 79.83 kB / 0.9919 GB, free: 14.18 MB / 0.6198 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 (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.0008107/0.2153, allocations: 426.5 kB / 0.9923 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005022/0.2158, allocations: 231.6 kB / 0.9926 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2158, allocations: 0 / 0.9926 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002237/0.216, allocations: 115.9 kB / 0.9927 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.2166, allocations: 108.4 kB / 0.9928 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.2176, allocations: 0.7935 MB / 0.9936 GB, free: 12.65 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.2179, allocations: 0.8151 MB / 0.9943 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001961/0.2181, allocations: 51.25 kB / 0.9944 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.106e-05/0.2181, allocations: 31.44 kB / 0.9944 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2182, allocations: 0 / 0.9944 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.008116/0.2263, allocations: 4.358 MB / 0.9987 GB, free: 7.449 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)