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.001186/0.001186, allocations: 111.4 kB / 16.37 MB, free: 6.008 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.001162/0.001162, allocations: 192.3 kB / 17.31 MB, free: 5.617 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.359/1.359, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.749/1.749, allocations: 292.3 MB / 0.5496 GB, free: 17.52 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.001394/0.001394, allocations: 74.88 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2241, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00468/0.2288, allocations: 2.927 MB / 0.7877 GB, free: 212 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.356/0.5849, allocations: 1.437 MB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003046/0.5852, allocations: 12.41 kB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000381/0.5856, allocations: 99.55 kB / 0.7892 GB, free: 46.45 MB / 0.6544 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.0003589/0.586, allocations: 141.6 kB / 0.7893 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007882/0.5868, allocations: 387.1 kB / 0.7897 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004675/0.5873, allocations: 0.5318 MB / 0.7902 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.5876, allocations: 204.8 kB / 0.7904 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.5878, allocations: 204.7 kB / 0.7906 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.588, allocations: 201.8 kB / 0.7908 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.5881, allocations: 40.25 kB / 0.7908 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.5883, allocations: 100.9 kB / 0.7909 GB, free: 46.33 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.5884, allocations: 108.7 kB / 0.791 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.5885, allocations: 210.5 kB / 0.7912 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004909/0.589, allocations: 0.6005 MB / 0.7918 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.589, allocations: 3.812 kB / 0.7918 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5891, allocations: 2.625 kB / 0.7918 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.5891, allocations: 0 / 0.7918 GB, free: 46.14 MB / 0.6544 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.001049/0.5901, allocations: 0.7912 MB / 0.7926 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.5902, allocations: 10.5 kB / 0.7926 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.831e-05/0.5903, allocations: 51.22 kB / 0.7926 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005191/0.5908, allocations: 443.6 kB / 0.7931 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.5908, allocations: 20.59 kB / 0.7931 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.437e-05/0.5909, allocations: 30.81 kB / 0.7931 GB, free: 45.3 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004938/0.5914, allocations: 328.4 kB / 0.7934 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5914, allocations: 1.875 kB / 0.7934 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.742e-05/0.5914, allocations: 13.38 kB / 0.7934 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/0.5915, allocations: 7.953 kB / 0.7934 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.5919, allocations: 215.7 kB / 0.7936 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.593, allocations: 1.093 MB / 0.7947 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.5935, allocations: 236.4 kB / 0.7949 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.5938, allocations: 119.5 kB / 0.7951 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.31e-05/0.5938, allocations: 0.7188 kB / 0.7951 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000299/0.5941, allocations: 161.8 kB / 0.7952 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.854e-06/0.5941, allocations: 0 / 0.7952 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007458/0.5949, allocations: 353.1 kB / 0.7955 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.5949, allocations: 109.4 kB / 0.7957 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004232/0.5954, allocations: 449.5 kB / 0.7961 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.5954, allocations: 35.98 kB / 0.7961 GB, free: 44.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001279/0.5955, allocations: 231.8 kB / 0.7963 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.5956, allocations: 74.27 kB / 0.7964 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.061e-05/0.5957, allocations: 53.92 kB / 0.7965 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.946e-05/0.5957, allocations: 354.7 kB / 0.7968 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.5959, allocations: 83.62 kB / 0.7969 GB, free: 43.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.5962, allocations: 157.2 kB / 0.797 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003786/0.5966, allocations: 220.7 kB / 0.7972 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.5966, allocations: 0 / 0.7972 GB, free: 43.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004943/0.5971, allocations: 302.4 kB / 0.7975 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5971, allocations: 3.5 kB / 0.7975 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.5971, allocations: 3.312 kB / 0.7975 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.5971, allocations: 0 / 0.7975 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.5974, allocations: 53.59 kB / 0.7976 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5974, allocations: 3.656 kB / 0.7976 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.5975, allocations: 33.16 kB / 0.7976 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.5976, allocations: 14.66 kB / 0.7976 GB, free: 43.35 MB / 0.6544 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.0001477/0.5977, allocations: 188.4 kB / 0.7978 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.665e-05/0.5978, allocations: 45.12 kB / 0.7979 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.783e-05/0.5979, allocations: 43.67 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5979, allocations: 5.469 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5979, allocations: 0 / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5979, allocations: 6.203 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.5982, allocations: 408.3 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5982, allocations: 3.938 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.5984, allocations: 32.22 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5984, allocations: 2.188 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.5985, allocations: 8.188 kB / 0.7983 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.5985, allocations: 3 kB / 0.7983 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.5985, allocations: 2.219 kB / 0.7983 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.5992, allocations: 419 kB / 0.7987 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5993, allocations: 143.3 kB / 0.7989 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.5994, allocations: 7.75 kB / 0.7989 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.5995, allocations: 13.48 kB / 0.7989 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.5996, allocations: 20.97 kB / 0.7989 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.5997, allocations: 8.672 kB / 0.7989 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002918/0.6, allocations: 321.5 kB / 0.7992 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6, allocations: 3.094 kB / 0.7992 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003178/0.6003, allocations: 82.98 kB / 0.7993 GB, free: 42.32 MB / 0.6544 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.0009578/0.6012, allocations: 435.2 kB / 0.7997 GB, free: 42.21 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004995/0.6018, allocations: 227.3 kB / 0.8 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.6018, allocations: 0 / 0.8 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002207/0.602, allocations: 113.7 kB / 0.8001 GB, free: 42.11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.6025, allocations: 110 kB / 0.8002 GB, free: 42.08 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.6036, allocations: 0.7145 MB / 0.8009 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/0.6039, allocations: 0.8135 MB / 0.8017 GB, free: 40.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.604, allocations: 36.41 kB / 0.8017 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of SimCode: time 2.31e-07/0.604, allocations: 0 / 0.8017 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of Templates: time 0.01103/0.615, allocations: 5.625 MB / 0.8072 GB, free: 40.44 MB / 0.6544 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)