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.001203/0.001203, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001139/0.001139, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.491/1.491, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.735/1.735, allocations: 292.3 MB / 0.5485 GB, free: 13.66 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.00133/0.00133, allocations: 72.42 kB / 0.671 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2556, allocations: 114.6 MB / 0.7829 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.004453/0.2601, allocations: 2.97 MB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.263, allocations: 1.4 MB / 0.7871 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003128/0.2633, allocations: 11.94 kB / 0.7871 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.2638, allocations: 87.47 kB / 0.7872 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004389/0.2643, allocations: 123.4 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009001/0.2652, allocations: 353 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.2657, allocations: 0.5343 MB / 0.7882 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003375/0.2661, allocations: 205.4 kB / 0.7884 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000261/0.2663, allocations: 199.1 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.2666, allocations: 199 kB / 0.7888 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.462e-05/0.2666, allocations: 43.94 kB / 0.7888 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.2668, allocations: 103.9 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2669, allocations: 107.6 kB / 0.789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.2671, allocations: 218.7 kB / 0.7892 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.2677, allocations: 0.5802 MB / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2677, allocations: 0 / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2677, allocations: 0 / 0.7898 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.175e-06/0.2677, allocations: 0 / 0.7898 GB, free: 6.73 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.001281/0.269, allocations: 0.792 MB / 0.7906 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.2691, allocations: 12.03 kB / 0.7906 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.2692, allocations: 52.28 kB / 0.7906 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.2698, allocations: 426.5 kB / 0.791 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.2698, allocations: 24.92 kB / 0.7911 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/0.2699, allocations: 27.94 kB / 0.7911 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005954/0.2705, allocations: 335.9 kB / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2705, allocations: 0 / 0.7914 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2705, allocations: 12 kB / 0.7914 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2706, allocations: 4 kB / 0.7914 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004787/0.271, allocations: 214.1 kB / 0.7916 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.2725, allocations: 1.104 MB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.2731, allocations: 245.7 kB / 0.7929 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.2733, allocations: 112.8 kB / 0.7931 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.2734, allocations: 3.984 kB / 0.7931 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004128/0.2738, allocations: 154.4 kB / 0.7932 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.943e-06/0.2738, allocations: 0 / 0.7932 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008239/0.2746, allocations: 360.7 kB / 0.7935 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.2747, allocations: 102.8 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004756/0.2752, allocations: 453.9 kB / 0.7941 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.2752, allocations: 29.7 kB / 0.7941 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001978/0.2754, allocations: 232.5 kB / 0.7943 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.376e-05/0.2755, allocations: 74.98 kB / 0.7944 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.2756, allocations: 53.61 kB / 0.7945 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2758, allocations: 362.7 kB / 0.7948 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/0.276, allocations: 83.95 kB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.2763, allocations: 159.7 kB / 0.795 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.2767, allocations: 227.2 kB / 0.7952 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2767, allocations: 0 / 0.7952 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005725/0.2773, allocations: 303.8 kB / 0.7955 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2773, allocations: 4.156 kB / 0.7955 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.2773, allocations: 8 kB / 0.7955 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.2774, allocations: 0 / 0.7955 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.2776, allocations: 55.89 kB / 0.7956 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2776, allocations: 4 kB / 0.7956 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.2778, allocations: 31.67 kB / 0.7956 GB, free: 440 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.2778, allocations: 12 kB / 0.7956 GB, free: 428 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 ($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.0001928/0.278, allocations: 174.4 kB / 0.7958 GB, free: 244 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.512e-05/0.2781, allocations: 51.47 kB / 0.7959 GB, free: 192 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.2782, allocations: 39.84 kB / 0.7959 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2782, allocations: 4 kB / 0.7959 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2782, allocations: 0 / 0.7959 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.2782, allocations: 3.984 kB / 0.7959 GB, free: 144 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.2787, allocations: 413.2 kB / 0.7963 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2787, allocations: 3.938 kB / 0.7963 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.2789, allocations: 35.92 kB / 0.7963 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.2789, allocations: 0 / 0.7963 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.2789, allocations: 11.98 kB / 0.7963 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2789, allocations: 4 kB / 0.7964 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2789, allocations: 0 / 0.7964 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008043/0.2798, allocations: 412.3 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.2799, allocations: 144.5 kB / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.48e-05/0.28, allocations: 12.06 kB / 0.7969 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.2801, allocations: 11.98 kB / 0.7969 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.2802, allocations: 19.97 kB / 0.7969 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-05/0.2802, allocations: 8 kB / 0.7969 GB, free: 15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003502/0.2806, allocations: 319.1 kB / 0.7972 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2806, allocations: 0 / 0.7972 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003365/0.2809, allocations: 79.75 kB / 0.7973 GB, free: 14.61 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.0009976/0.282, allocations: 434.8 kB / 0.7977 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006151/0.2826, allocations: 234.9 kB / 0.798 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2826, allocations: 0 / 0.798 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.2828, allocations: 111.9 kB / 0.7981 GB, free: 14 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.2834, allocations: 122.9 kB / 0.7982 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.2846, allocations: 0.8173 MB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00054/0.2852, allocations: 0.8071 MB / 0.7998 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.2854, allocations: 51.25 kB / 0.7998 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.2855, allocations: 35.42 kB / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2855, allocations: 4 kB / 0.7998 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.009528/0.295, allocations: 4.664 MB / 0.8044 GB, free: 7.555 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)