Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_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.0008964/0.0008965, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009437/0.0009437, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.253/1.253, allocations: 205.4 MB / 222.1 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.565/1.565, allocations: 292.5 MB / 0.5497 GB, free: 14.62 MB / 462.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.0004972/0.0004973, allocations: 14.62 kB / 0.6735 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.185, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00291/0.188, allocations: 2.458 MB / 0.7895 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.1901, allocations: 1.315 MB / 0.7908 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000271/0.1904, allocations: 11.94 kB / 0.7908 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1907, allocations: 67.59 kB / 0.7909 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.1911, allocations: 143.5 kB / 0.791 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.1919, allocations: 309.3 kB / 0.7913 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004942/0.1924, allocations: 328 kB / 0.7916 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.1927, allocations: 140.1 kB / 0.7918 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.1929, allocations: 159.1 kB / 0.7919 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.1931, allocations: 139.2 kB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.539e-05/0.1932, allocations: 8 kB / 0.7921 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.1933, allocations: 51.95 kB / 0.7921 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.406e-05/0.1934, allocations: 63.69 kB / 0.7922 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/0.1935, allocations: 93.45 kB / 0.7923 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1939, allocations: 451.1 kB / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.1939, allocations: 0 / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.625e-06/0.194, allocations: 0 / 0.7927 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.194, allocations: 3.938 kB / 0.7927 GB, free: 6.254 MB / 0.6075 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.001063/0.195, allocations: 0.7298 MB / 0.7934 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.1951, allocations: 12.03 kB / 0.7934 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.39e-05/0.1952, allocations: 55.3 kB / 0.7935 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005976/0.1958, allocations: 417.6 kB / 0.7939 GB, free: 4.953 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.1958, allocations: 20.56 kB / 0.7939 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.1959, allocations: 28 kB / 0.7939 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005443/0.1964, allocations: 323.9 kB / 0.7942 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.1964, allocations: 0 / 0.7942 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.1965, allocations: 15.98 kB / 0.7942 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1965, allocations: 8 kB / 0.7942 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004925/0.197, allocations: 222 kB / 0.7944 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.1983, allocations: 1.101 MB / 0.7955 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005598/0.1989, allocations: 239.5 kB / 0.7958 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1989, allocations: 4.188 kB / 0.7958 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/0.1993, allocations: 163.4 kB / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 4.659e-06/0.1993, allocations: 0 / 0.7959 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007716/0.2001, allocations: 371.1 kB / 0.7963 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.979e-05/0.2001, allocations: 110.8 kB / 0.7964 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.2006, allocations: 449.8 kB / 0.7968 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.2006, allocations: 33.7 kB / 0.7968 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.2008, allocations: 232.5 kB / 0.7971 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.067e-05/0.2008, allocations: 67 kB / 0.7971 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.2009, allocations: 4 kB / 0.7971 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.201, allocations: 354.8 kB / 0.7975 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.2012, allocations: 87.95 kB / 0.7975 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/0.2015, allocations: 167.6 kB / 0.7977 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.2017, allocations: 95.97 kB / 0.7978 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2017, allocations: 0 / 0.7978 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005607/0.2023, allocations: 303.4 kB / 0.7981 GB, free: 428 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.2023, allocations: 8 kB / 0.7981 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2023, allocations: 3.984 kB / 0.7981 GB, free: 416 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.2023, allocations: 4.156 kB / 0.7981 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.2026, allocations: 59.91 kB / 0.7982 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.2026, allocations: 4 kB / 0.7982 GB, free: 348 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.2028, allocations: 39.62 kB / 0.7982 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.2028, allocations: 8 kB / 0.7982 GB, free: 300 kB / 0.6075 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.0001724/0.203, allocations: 178.4 kB / 0.7984 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.2031, allocations: 39.53 kB / 0.7984 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.2032, allocations: 51.84 kB / 0.7985 GB, free: 20 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.2032, allocations: 3.984 kB / 0.7985 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2032, allocations: 0 / 0.7985 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2032, allocations: 0 / 0.7985 GB, free: 16 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.2036, allocations: 417.2 kB / 0.7989 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2036, allocations: 0 / 0.7989 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.2038, allocations: 43.91 kB / 0.7989 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2038, allocations: 0 / 0.7989 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.2038, allocations: 11.94 kB / 0.7989 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.2038, allocations: 4 kB / 0.7989 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2038, allocations: 0 / 0.7989 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008443/0.2047, allocations: 439.2 kB / 0.7993 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.2049, allocations: 144.6 kB / 0.7995 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.2049, allocations: 4 kB / 0.7995 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.2051, allocations: 19.98 kB / 0.7995 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.85e-05/0.2052, allocations: 15.97 kB / 0.7995 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.2052, allocations: 8 kB / 0.7995 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003543/0.2056, allocations: 319.1 kB / 0.7998 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2056, allocations: 8.062 kB / 0.7998 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003492/0.206, allocations: 71.84 kB / 0.7999 GB, free: 14.46 MB / 0.6231 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.001033/0.207, allocations: 422 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.2076, allocations: 227.9 kB / 0.8005 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2076, allocations: 0 / 0.8005 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/0.2079, allocations: 119.9 kB / 0.8006 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004872/0.2084, allocations: 101.1 kB / 0.8007 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.2096, allocations: 0.7933 MB / 0.8015 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.21, allocations: 0.8228 MB / 0.8023 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000184/0.2102, allocations: 51.27 kB / 0.8024 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.2102, allocations: 35.42 kB / 0.8024 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2103, allocations: 0 / 0.8024 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of Templates: time 0.008402/0.2187, allocations: 4.337 MB / 0.8066 GB, free: 7.758 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) Environment - environmentSimulation: