Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.716/1.716, allocations: 288.4 MB / 303.3 MB, free: 8.086 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001386/0.001386, allocations: 176.5 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009443/0.0009444, allocations: 97.86 kB / 0.744 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004304, allocations: 19.05 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2826, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.00334/0.2859, allocations: 2.477 MB / 0.9821 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002504/0.2885, allocations: 1.338 MB / 0.9834 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004988/0.289, allocations: 11.94 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004983/0.2895, allocations: 79.47 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005036/0.2901, allocations: 107.4 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.2911, allocations: 302.1 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006296/0.2917, allocations: 467.3 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000308/0.2921, allocations: 144.4 kB / 0.9844 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003192/0.2924, allocations: 147.2 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.2927, allocations: 147.1 kB / 0.9847 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.2927, allocations: 8 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.293, allocations: 55.97 kB / 0.9848 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-05/0.2931, allocations: 67.62 kB / 0.9848 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2932, allocations: 101.4 kB / 0.9849 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004564/0.2936, allocations: 455.1 kB / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.2936, allocations: 0 / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.984e-06/0.2937, allocations: 0 / 0.9854 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.523e-05/0.2937, allocations: 0 / 0.9854 GB, free: 21.67 MB / 0.6198 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.001291/0.295, allocations: 0.722 MB / 0.9861 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.295, allocations: 19.95 kB / 0.9861 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.804e-05/0.2951, allocations: 58.55 kB / 0.9861 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2953, allocations: 63.28 kB / 0.9862 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006534/0.2959, allocations: 409.6 kB / 0.9866 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.042e-05/0.296, allocations: 20.56 kB / 0.9866 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.965e-05/0.296, allocations: 28 kB / 0.9866 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005622/0.2966, allocations: 331.9 kB / 0.987 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.2966, allocations: 0 / 0.987 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.2966, allocations: 8 kB / 0.987 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.2967, allocations: 11.94 kB / 0.987 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004537/0.2971, allocations: 230 kB / 0.9872 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.2984, allocations: 1.104 MB / 0.9883 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.299, allocations: 239.5 kB / 0.9885 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.2992, allocations: 113.2 kB / 0.9886 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.2993, allocations: 8.188 kB / 0.9886 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.2996, allocations: 158.1 kB / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.713e-06/0.2996, allocations: 0 / 0.9888 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0007729/0.3004, allocations: 360.8 kB / 0.9891 GB, free: 17.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.3005, allocations: 114.8 kB / 0.9892 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.3009, allocations: 445.9 kB / 0.9897 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.3009, allocations: 33.7 kB / 0.9897 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.3011, allocations: 236.5 kB / 0.9899 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.3011, allocations: 67 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.298e-05/0.3011, allocations: 4 kB / 0.99 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.3012, allocations: 354.8 kB / 0.9903 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/0.3014, allocations: 83.95 kB / 0.9904 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.3017, allocations: 164.2 kB / 0.9906 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/0.3019, allocations: 106.5 kB / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3019, allocations: 0 / 0.9907 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005218/0.3024, allocations: 304.8 kB / 0.9909 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3025, allocations: 9.234 kB / 0.991 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3025, allocations: 4 kB / 0.991 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.3025, allocations: 0 / 0.991 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3027, allocations: 55.91 kB / 0.991 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3027, allocations: 7.953 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.3029, allocations: 35.67 kB / 0.9911 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.303, allocations: 16.06 kB / 0.9911 GB, free: 15.52 MB / 0.6198 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 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.3031, allocations: 181.7 kB / 0.9912 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.3032, allocations: 39.53 kB / 0.9913 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.2e-05/0.3033, allocations: 43.84 kB / 0.9913 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3033, allocations: 7.984 kB / 0.9913 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.3033, allocations: 0 / 0.9913 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.3033, allocations: 3.953 kB / 0.9913 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003341/0.3037, allocations: 417.2 kB / 0.9917 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3037, allocations: 0 / 0.9917 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.3039, allocations: 47.91 kB / 0.9918 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3039, allocations: 4 kB / 0.9918 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.3039, allocations: 0 / 0.9918 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.304, allocations: 0 / 0.9918 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.304, allocations: 4 kB / 0.9918 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007271/0.3047, allocations: 435.7 kB / 0.9922 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3048, allocations: 144.6 kB / 0.9923 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.3049, allocations: 8 kB / 0.9923 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.305, allocations: 16.05 kB / 0.9924 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.3051, allocations: 19.97 kB / 0.9924 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.3051, allocations: 8 kB / 0.9924 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002776/0.3054, allocations: 319.1 kB / 0.9927 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3054, allocations: 3.938 kB / 0.9927 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003094/0.3057, allocations: 75.84 kB / 0.9928 GB, free: 13.69 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001782/0.3075, allocations: 1.293 MB / 0.994 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005156/0.3081, allocations: 222.9 kB / 0.9942 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3081, allocations: 0 / 0.9942 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.3083, allocations: 124 kB / 0.9944 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.3089, allocations: 89.91 kB / 0.9944 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003354/0.3122, allocations: 2.292 MB / 0.9967 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002451/0.3125, allocations: 0.8112 MB / 0.9975 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000222/0.3127, allocations: 55.23 kB / 0.9975 GB, free: 8.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.3129, allocations: 139.4 kB / 0.9977 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of SimCode: time 9.32e-07/0.3129, allocations: 0 / 0.9977 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.3361, allocations: 8.359 MB / 1.006 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.3363, allocations: 282.4 kB / 1.006 GB, free: 216 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.619, allocations: 3.938 kB / 1.006 GB, free: 212 kB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)