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.001224/0.001224, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 194 kB / 16.53 MB, free: 6.391 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.689/1.689, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001543/0.001543, allocations: 70.53 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2753, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.006197/0.2816, allocations: 2.932 MB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002757/0.2844, allocations: 1.431 MB / 0.7876 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003446/0.2847, allocations: 15.94 kB / 0.7877 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004862/0.2852, allocations: 103.1 kB / 0.7878 GB, free: 8.949 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.2857, allocations: 139 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2867, allocations: 388.9 kB / 0.7883 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006105/0.2874, allocations: 0.5305 MB / 0.7888 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.2878, allocations: 205.4 kB / 0.789 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.288, allocations: 199.1 kB / 0.7892 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.2883, allocations: 191 kB / 0.7893 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.2884, allocations: 40 kB / 0.7894 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002049/0.2886, allocations: 103.8 kB / 0.7895 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.2887, allocations: 111.6 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2889, allocations: 210.7 kB / 0.7898 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006369/0.2896, allocations: 0.5801 MB / 0.7904 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.2896, allocations: 8 kB / 0.7904 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2896, allocations: 0 / 0.7904 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.2896, allocations: 0 / 0.7904 GB, free: 6.27 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.001246/0.2909, allocations: 0.792 MB / 0.7911 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.2909, allocations: 8.031 kB / 0.7911 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.291, allocations: 60.28 kB / 0.7912 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.2916, allocations: 426.5 kB / 0.7916 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.341e-05/0.2917, allocations: 24.92 kB / 0.7916 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.2917, allocations: 27.94 kB / 0.7917 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006316/0.2923, allocations: 331.9 kB / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2924, allocations: 0 / 0.792 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.2924, allocations: 8 kB / 0.792 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.2924, allocations: 8 kB / 0.792 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.2929, allocations: 218.1 kB / 0.7922 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/0.2944, allocations: 1.104 MB / 0.7933 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006271/0.295, allocations: 246.9 kB / 0.7935 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.2953, allocations: 108.8 kB / 0.7936 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.744e-05/0.2953, allocations: 11.97 kB / 0.7936 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004091/0.2957, allocations: 150.4 kB / 0.7938 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.753e-06/0.2957, allocations: 0 / 0.7938 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.000845/0.2966, allocations: 360.7 kB / 0.7941 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.2967, allocations: 102.8 kB / 0.7942 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.2972, allocations: 449.9 kB / 0.7946 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2972, allocations: 33.7 kB / 0.7947 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.2974, allocations: 228.5 kB / 0.7949 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.2975, allocations: 71 kB / 0.795 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.252e-05/0.2976, allocations: 61.55 kB / 0.795 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.2977, allocations: 358.8 kB / 0.7954 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002333/0.298, allocations: 79.95 kB / 0.7954 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.2983, allocations: 171.6 kB / 0.7956 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004513/0.2987, allocations: 215.3 kB / 0.7958 GB, free: 384 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2988, allocations: 0 / 0.7958 GB, free: 384 kB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005781/0.2993, allocations: 303.9 kB / 0.7961 GB, free: 76 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.2994, allocations: 4 kB / 0.7961 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2994, allocations: 3.938 kB / 0.7961 GB, free: 68 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2994, allocations: 4.156 kB / 0.7961 GB, free: 64 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.2997, allocations: 59.89 kB / 0.7962 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.2997, allocations: 0 / 0.7962 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.2999, allocations: 35.67 kB / 0.7962 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.2999, allocations: 12 kB / 0.7962 GB, free: 15.96 MB / 0.6231 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.0001941/0.3001, allocations: 171 kB / 0.7964 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.3002, allocations: 43.47 kB / 0.7964 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.314e-05/0.3003, allocations: 51.83 kB / 0.7965 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.3003, allocations: 4 kB / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3003, allocations: 0 / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3003, allocations: 3.984 kB / 0.7965 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.3007, allocations: 421.2 kB / 0.7969 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3008, allocations: 3.938 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002052/0.301, allocations: 31.92 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/0.301, allocations: 4 kB / 0.7969 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.301, allocations: 7.984 kB / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.301, allocations: 4 kB / 0.7969 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.301, allocations: 4 kB / 0.7969 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/0.3019, allocations: 416.3 kB / 0.7973 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.3021, allocations: 144.5 kB / 0.7975 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.085e-05/0.3022, allocations: 4 kB / 0.7975 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3023, allocations: 12.05 kB / 0.7975 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.881e-05/0.3024, allocations: 27.97 kB / 0.7975 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.3025, allocations: 8 kB / 0.7975 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004008/0.3029, allocations: 319.1 kB / 0.7978 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3029, allocations: 3.938 kB / 0.7978 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003807/0.3033, allocations: 75.75 kB / 0.7979 GB, free: 14.14 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 (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.001115/0.3044, allocations: 425.8 kB / 0.7983 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000611/0.305, allocations: 238.9 kB / 0.7985 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.305, allocations: 0 / 0.7985 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.3053, allocations: 111.9 kB / 0.7986 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000557/0.3059, allocations: 120.8 kB / 0.7987 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3072, allocations: 0.7004 MB / 0.7994 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00044/0.3077, allocations: 0.8071 MB / 0.8002 GB, free: 11.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.3079, allocations: 47.27 kB / 0.8003 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.308, allocations: 35.42 kB / 0.8003 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.308, allocations: 0 / 0.8003 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of Templates: time 0.009823/0.3178, allocations: 4.756 MB / 0.8049 GB, free: 7.121 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.makefile (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)