Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.9/1.9, allocations: 288.4 MB / 303.4 MB, free: 8.07 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.001143/0.001143, allocations: 181.5 kB / 372 MB, free: 10.29 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.624/1.624, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0006841/0.0006842, allocations: 90.3 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003786, allocations: 10.91 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1957, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002564/0.1983, allocations: 2.473 MB / 0.982 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.2001, allocations: 1.338 MB / 0.9833 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.2004, allocations: 15.88 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.2008, allocations: 83.47 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.2011, allocations: 107.4 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.2018, allocations: 293.9 kB / 0.9838 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000373/0.2022, allocations: 459.4 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002297/0.2024, allocations: 156.3 kB / 0.9844 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2026, allocations: 147.2 kB / 0.9845 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.2028, allocations: 147.1 kB / 0.9847 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.2028, allocations: 8 kB / 0.9847 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.2029, allocations: 47.97 kB / 0.9847 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.203, allocations: 67.62 kB / 0.9848 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.2031, allocations: 101.5 kB / 0.9849 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003041/0.2034, allocations: 451.1 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2034, allocations: 4 kB / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2034, allocations: 0 / 0.9853 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.2034, allocations: 0 / 0.9853 GB, free: 21.8 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.0009141/0.2044, allocations: 0.7259 MB / 0.986 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.2044, allocations: 20 kB / 0.986 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.2045, allocations: 55.3 kB / 0.9861 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000465/0.205, allocations: 409.6 kB / 0.9865 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.205, allocations: 20.56 kB / 0.9865 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.17e-05/0.205, allocations: 31.98 kB / 0.9865 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.2055, allocations: 323.9 kB / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2056, allocations: 0 / 0.9868 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.2056, allocations: 12 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.2056, allocations: 8 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.206, allocations: 226 kB / 0.9871 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.2071, allocations: 1.104 MB / 0.9882 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.2076, allocations: 239.5 kB / 0.9884 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000209/0.2079, allocations: 121.1 kB / 0.9885 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.2079, allocations: 4.188 kB / 0.9885 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.2082, allocations: 155.5 kB / 0.9887 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 2.014e-06/0.2082, allocations: 7.984 kB / 0.9887 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007222/0.209, allocations: 359.4 kB / 0.989 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/0.209, allocations: 114.7 kB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003614/0.2094, allocations: 449.9 kB / 0.9895 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.2094, allocations: 29.7 kB / 0.9896 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2095, allocations: 228.5 kB / 0.9898 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.2096, allocations: 78.92 kB / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.177e-05/0.2096, allocations: 4 kB / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.423e-05/0.2097, allocations: 354.8 kB / 0.9902 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001949/0.2099, allocations: 87.95 kB / 0.9903 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/0.2101, allocations: 160.2 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.2103, allocations: 103.9 kB / 0.9905 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2103, allocations: 0 / 0.9905 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000501/0.2108, allocations: 311.8 kB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2108, allocations: 4 kB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.2108, allocations: 0 / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.2109, allocations: 4 kB / 0.9908 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.2111, allocations: 55.91 kB / 0.9909 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2111, allocations: 8.156 kB / 0.9909 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.2113, allocations: 39.62 kB / 0.9909 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.2113, allocations: 8 kB / 0.991 GB, free: 15.71 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.0001483/0.2115, allocations: 173.8 kB / 0.9911 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.189e-05/0.2115, allocations: 39.53 kB / 0.9912 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.577e-05/0.2116, allocations: 51.83 kB / 0.9912 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2116, allocations: 3.938 kB / 0.9912 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2116, allocations: 8 kB / 0.9912 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.2116, allocations: 4 kB / 0.9912 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000271/0.2119, allocations: 413.2 kB / 0.9916 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2119, allocations: 0 / 0.9916 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.2121, allocations: 39.97 kB / 0.9917 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2121, allocations: 0 / 0.9917 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.2121, allocations: 8 kB / 0.9917 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2122, allocations: 3.938 kB / 0.9917 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2122, allocations: 0 / 0.9917 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.2129, allocations: 432.2 kB / 0.9921 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.213, allocations: 148.6 kB / 0.9922 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.213, allocations: 4 kB / 0.9922 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.2132, allocations: 19.98 kB / 0.9922 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.2133, allocations: 15.97 kB / 0.9923 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.2133, allocations: 8 kB / 0.9923 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002615/0.2136, allocations: 319.1 kB / 0.9926 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2136, allocations: 0 / 0.9926 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003219/0.2139, allocations: 71.84 kB / 0.9926 GB, free: 13.89 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.0009374/0.2148, allocations: 437 kB / 0.9931 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004829/0.2153, allocations: 223.2 kB / 0.9933 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2153, allocations: 4.062 kB / 0.9933 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000216/0.2156, allocations: 123.8 kB / 0.9934 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.2161, allocations: 103.6 kB / 0.9935 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009926/0.2171, allocations: 0.7841 MB / 0.9943 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/0.2173, allocations: 0.8151 MB / 0.995 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001955/0.2175, allocations: 51.25 kB / 0.9951 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.861e-05/0.2176, allocations: 31.42 kB / 0.9951 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2176, allocations: 0 / 0.9951 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.007168/0.2248, allocations: 4.356 MB / 0.9994 GB, free: 7.145 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)