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.001107/0.001107, allocations: 102.5 kB / 16.36 MB, free: 6.414 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.001135/0.001135, allocations: 189.7 kB / 17.3 MB, free: 5.793 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.333/1.333, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.774/1.774, allocations: 292.3 MB / 0.5496 GB, free: 17.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.001567/0.001567, allocations: 67.19 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2141, allocations: 114.6 MB / 0.7848 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004886/0.219, allocations: 2.935 MB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3958/0.6149, allocations: 1.439 MB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003131/0.6152, allocations: 15.22 kB / 0.7891 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.6157, allocations: 106.9 kB / 0.7892 GB, free: 46.52 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.0003857/0.6161, allocations: 132.2 kB / 0.7893 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008809/0.617, allocations: 388 kB / 0.7897 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004692/0.6175, allocations: 0.5288 MB / 0.7902 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003192/0.6178, allocations: 203.4 kB / 0.7904 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.6181, allocations: 201.8 kB / 0.7906 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.6183, allocations: 199.1 kB / 0.7908 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.18e-05/0.6184, allocations: 42.38 kB / 0.7908 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002021/0.6186, allocations: 98.59 kB / 0.7909 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.6187, allocations: 112.7 kB / 0.791 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.6189, allocations: 206.9 kB / 0.7912 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006307/0.6195, allocations: 0.5963 MB / 0.7918 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.6195, allocations: 0 / 0.7918 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6195, allocations: 0 / 0.7918 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.6196, allocations: 3.219 kB / 0.7918 GB, free: 46.21 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.001138/0.6207, allocations: 0.796 MB / 0.7926 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6208, allocations: 9.219 kB / 0.7926 GB, free: 45.65 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.106e-05/0.6208, allocations: 53.69 kB / 0.7926 GB, free: 45.62 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005867/0.6214, allocations: 436.4 kB / 0.793 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.6215, allocations: 21.75 kB / 0.7931 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.6215, allocations: 31.22 kB / 0.7931 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000518/0.6221, allocations: 326 kB / 0.7934 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.6221, allocations: 3.75 kB / 0.7934 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.6221, allocations: 9.938 kB / 0.7934 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.6221, allocations: 6.969 kB / 0.7934 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/0.6226, allocations: 213.2 kB / 0.7936 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.6239, allocations: 1.093 MB / 0.7947 GB, free: 44.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.6245, allocations: 241.6 kB / 0.7949 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.6248, allocations: 113.8 kB / 0.795 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/0.6248, allocations: 0.8438 kB / 0.795 GB, free: 44.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004196/0.6253, allocations: 166.6 kB / 0.7952 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.623e-06/0.6253, allocations: 0 / 0.7952 GB, free: 44.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007435/0.626, allocations: 352 kB / 0.7955 GB, free: 44.57 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.6261, allocations: 111 kB / 0.7956 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.6265, allocations: 450 kB / 0.7961 GB, free: 44.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.6265, allocations: 29.33 kB / 0.7961 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.6267, allocations: 239.1 kB / 0.7963 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.673e-05/0.6267, allocations: 70.53 kB / 0.7964 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.847e-05/0.6268, allocations: 54.94 kB / 0.7964 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.449e-05/0.6269, allocations: 356.5 kB / 0.7968 GB, free: 43.74 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.6271, allocations: 86.86 kB / 0.7969 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.6273, allocations: 159.2 kB / 0.797 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/0.6277, allocations: 216.1 kB / 0.7972 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.6277, allocations: 0 / 0.7972 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005107/0.6282, allocations: 303.5 kB / 0.7975 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6283, allocations: 6.625 kB / 0.7975 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.6283, allocations: 3.281 kB / 0.7975 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.6283, allocations: 0 / 0.7975 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002467/0.6285, allocations: 53.39 kB / 0.7976 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.6286, allocations: 0 / 0.7976 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.6287, allocations: 31.62 kB / 0.7976 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.6288, allocations: 10.97 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.0001496/0.6289, allocations: 180.1 kB / 0.7978 GB, free: 43.2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.629, allocations: 52.03 kB / 0.7978 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.321e-05/0.6291, allocations: 47.69 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.6291, allocations: 4.344 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.6291, allocations: 0 / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6291, allocations: 3 kB / 0.7979 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.6295, allocations: 405.5 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.6295, allocations: 3.938 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.6297, allocations: 35.05 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6297, allocations: 4.75 kB / 0.7983 GB, free: 42.86 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.6297, allocations: 8.719 kB / 0.7983 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.6297, allocations: 4 kB / 0.7983 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6297, allocations: 2.719 kB / 0.7983 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007618/0.6305, allocations: 415.1 kB / 0.7987 GB, free: 42.64 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.6306, allocations: 148.8 kB / 0.7989 GB, free: 42.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.998e-05/0.6307, allocations: 11.59 kB / 0.7989 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.6309, allocations: 12.97 kB / 0.7989 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.6309, allocations: 24.33 kB / 0.7989 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.631, allocations: 6.812 kB / 0.7989 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003209/0.6313, allocations: 317.2 kB / 0.7992 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6313, allocations: 2.594 kB / 0.7992 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003293/0.6316, allocations: 80.64 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.001018/0.6327, allocations: 433.1 kB / 0.7997 GB, free: 42.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.6332, allocations: 222.9 kB / 0.7999 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6332, allocations: 0 / 0.7999 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.6335, allocations: 110.7 kB / 0.8 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.0005423/0.634, allocations: 118.5 kB / 0.8002 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.6352, allocations: 0.6753 MB / 0.8008 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.6355, allocations: 0.8153 MB / 0.8016 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.6357, allocations: 49.16 kB / 0.8017 GB, free: 40.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.729e-05/0.6358, allocations: 39.64 kB / 0.8017 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of SimCode: time 4.11e-07/0.6358, allocations: 0 / 0.8017 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.01149/0.6473, allocations: 4.745 MB / 0.8063 GB, free: 40.71 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)