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.001027/0.001027, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001111/0.001111, allocations: 190.6 kB / 16.14 MB, free: 6.711 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.36/1.36, allocations: 205.1 MB / 222 MB, free: 4.984 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.653/1.653, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.001507/0.001507, allocations: 60.09 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2562/0.2578, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.005198/0.263, allocations: 2.97 MB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.2656, allocations: 1.408 MB / 0.787 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.2659, allocations: 11.94 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004841/0.2665, allocations: 91.47 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.2668, allocations: 119.4 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009373/0.2678, allocations: 345 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005236/0.2683, allocations: 0.4914 MB / 0.788 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.2687, allocations: 205.4 kB / 0.7882 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002428/0.269, allocations: 171.1 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.2692, allocations: 182.9 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.889e-05/0.2692, allocations: 20 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.2694, allocations: 75.91 kB / 0.7886 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2695, allocations: 79.67 kB / 0.7887 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001476/0.2697, allocations: 186.7 kB / 0.7889 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.2702, allocations: 0.5606 MB / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2702, allocations: 0 / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2702, allocations: 0 / 0.7894 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.2702, allocations: 0 / 0.7894 GB, free: 7.098 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.001239/0.2715, allocations: 0.796 MB / 0.7902 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2715, allocations: 12.03 kB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.606e-05/0.2716, allocations: 52.28 kB / 0.7902 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005561/0.2722, allocations: 430.5 kB / 0.7907 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.2722, allocations: 20.94 kB / 0.7907 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.2723, allocations: 31.94 kB / 0.7907 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005801/0.2729, allocations: 331.9 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.2729, allocations: 0 / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.2729, allocations: 12 kB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.2729, allocations: 8 kB / 0.791 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.2734, allocations: 214.1 kB / 0.7912 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.2748, allocations: 1.108 MB / 0.7923 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006451/0.2754, allocations: 238.1 kB / 0.7926 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.2757, allocations: 114.5 kB / 0.7927 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.2757, allocations: 4 kB / 0.7927 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004273/0.2762, allocations: 155.3 kB / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.533e-06/0.2762, allocations: 0 / 0.7928 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008542/0.277, allocations: 359.2 kB / 0.7932 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.2771, allocations: 106.8 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004597/0.2776, allocations: 453.9 kB / 0.7937 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.2776, allocations: 29.7 kB / 0.7937 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001591/0.2778, allocations: 240.3 kB / 0.7939 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.2778, allocations: 63.02 kB / 0.794 GB, free: 2.121 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.424e-05/0.2779, allocations: 61.69 kB / 0.7941 GB, free: 2.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2781, allocations: 346.8 kB / 0.7944 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002161/0.2783, allocations: 83.95 kB / 0.7945 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.2785, allocations: 163.7 kB / 0.7946 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.279, allocations: 223.6 kB / 0.7948 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.279, allocations: 3.938 kB / 0.7949 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005725/0.2796, allocations: 300.8 kB / 0.7951 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2796, allocations: 8 kB / 0.7951 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2796, allocations: 0 / 0.7951 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.2796, allocations: 4 kB / 0.7951 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.2799, allocations: 55.91 kB / 0.7952 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2799, allocations: 4 kB / 0.7952 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.2801, allocations: 35.67 kB / 0.7952 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.2801, allocations: 4 kB / 0.7952 GB, free: 0.7891 MB / 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.0001831/0.2803, allocations: 182.5 kB / 0.7954 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.672e-05/0.2804, allocations: 47.38 kB / 0.7955 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.873e-05/0.2805, allocations: 47.83 kB / 0.7955 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2805, allocations: 4 kB / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2805, allocations: 0 / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2805, allocations: 0 / 0.7955 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.2809, allocations: 409.3 kB / 0.7959 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.2809, allocations: 3.938 kB / 0.7959 GB, free: 52 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.2811, allocations: 43.91 kB / 0.7959 GB, free: 8 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.2811, allocations: 4 kB / 0.796 GB, free: 4 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.2811, allocations: 8.047 kB / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2812, allocations: 0 / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2812, allocations: 0 / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008366/0.282, allocations: 430.9 kB / 0.7964 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.2821, allocations: 136.5 kB / 0.7965 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.2822, allocations: 8 kB / 0.7965 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.2824, allocations: 15.98 kB / 0.7965 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.441e-05/0.2824, allocations: 23.91 kB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.2825, allocations: 4 kB / 0.7966 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003204/0.2828, allocations: 319.1 kB / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2828, allocations: 0 / 0.7969 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003287/0.2832, allocations: 75.75 kB / 0.7969 GB, free: 14.97 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.0009414/0.2841, allocations: 429.6 kB / 0.7973 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.2847, allocations: 223.6 kB / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2847, allocations: 0 / 0.7976 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002595/0.2849, allocations: 119.4 kB / 0.7977 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005752/0.2855, allocations: 93.12 kB / 0.7978 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.2868, allocations: 0.8243 MB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.2872, allocations: 0.8112 MB / 0.7994 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002121/0.2874, allocations: 63.23 kB / 0.7994 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.037e-05/0.2875, allocations: 35.42 kB / 0.7994 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.2875, allocations: 3.938 kB / 0.7994 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of Templates: time 0.008687/0.2962, allocations: 4.514 MB / 0.8039 GB, free: 8.062 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)