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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002414/0.002414, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 222.1 MB, free: 5.547 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 2.183/2.183, allocations: 292.6 MB / 0.5497 GB, free: 14.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.0009626/0.0009628, allocations: 12.69 kB / 0.6737 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3425, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003864/0.3464, allocations: 2.461 MB / 0.7896 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006253/0.3527, allocations: 1.319 MB / 0.7909 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.3533, allocations: 11.94 kB / 0.7909 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.3543, allocations: 63.59 kB / 0.791 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007824/0.3551, allocations: 147.5 kB / 0.7911 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/0.3573, allocations: 313.7 kB / 0.7914 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008879/0.3582, allocations: 320 kB / 0.7917 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005349/0.3587, allocations: 144.1 kB / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004235/0.3592, allocations: 151.2 kB / 0.792 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005259/0.3597, allocations: 143.2 kB / 0.7922 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.3598, allocations: 12 kB / 0.7922 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.36, allocations: 43.97 kB / 0.7922 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.3602, allocations: 63.69 kB / 0.7923 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3603, allocations: 97.44 kB / 0.7924 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009218/0.3613, allocations: 455.1 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.3613, allocations: 0 / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.936e-06/0.3613, allocations: 0 / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.324e-05/0.3613, allocations: 7.938 kB / 0.7928 GB, free: 6.16 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.002652/0.364, allocations: 0.722 MB / 0.7935 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.706e-05/0.3641, allocations: 8.031 kB / 0.7935 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001405/0.3643, allocations: 58.55 kB / 0.7936 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.3645, allocations: 59.28 kB / 0.7936 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.3658, allocations: 417.6 kB / 0.794 GB, free: 4.801 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.467e-05/0.3658, allocations: 24.56 kB / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.606e-05/0.366, allocations: 24 kB / 0.7941 GB, free: 4.754 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.3671, allocations: 324 kB / 0.7944 GB, free: 4.414 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/0.3672, allocations: 3.938 kB / 0.7944 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.797e-05/0.3672, allocations: 12 kB / 0.7944 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.3673, allocations: 8 kB / 0.7944 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3683, allocations: 222.1 kB / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003074/0.3714, allocations: 1.108 MB / 0.7957 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.3727, allocations: 235.5 kB / 0.7959 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.839e-05/0.3728, allocations: 12.11 kB / 0.7959 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006803/0.3735, allocations: 155.5 kB / 0.7961 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 3.697e-06/0.3735, allocations: 3.938 kB / 0.7961 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.001618/0.3751, allocations: 363.2 kB / 0.7964 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.3753, allocations: 110.7 kB / 0.7966 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.3763, allocations: 449.8 kB / 0.797 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/0.3764, allocations: 33.7 kB / 0.797 GB, free: 1.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.3768, allocations: 232.4 kB / 0.7972 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.3769, allocations: 67.02 kB / 0.7973 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.377, allocations: 4 kB / 0.7973 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002957/0.3773, allocations: 354.8 kB / 0.7976 GB, free: 0.9375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.3778, allocations: 91.95 kB / 0.7977 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00056/0.3784, allocations: 167.7 kB / 0.7979 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.3789, allocations: 91.97 kB / 0.798 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3789, allocations: 3.938 kB / 0.798 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001283/0.3802, allocations: 311.4 kB / 0.7983 GB, free: 260 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.3802, allocations: 4 kB / 0.7983 GB, free: 256 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.3803, allocations: 4 kB / 0.7983 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.506e-05/0.3803, allocations: 160 / 0.7983 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.3808, allocations: 51.97 kB / 0.7983 GB, free: 200 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.901e-05/0.3809, allocations: 11.92 kB / 0.7983 GB, free: 188 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.3813, allocations: 35.64 kB / 0.7984 GB, free: 152 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.482e-05/0.3813, allocations: 15.98 kB / 0.7984 GB, free: 136 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 ($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.0004826/0.3818, allocations: 173.8 kB / 0.7986 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.3819, allocations: 39.53 kB / 0.7986 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.3821, allocations: 47.84 kB / 0.7986 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3822, allocations: 4 kB / 0.7986 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.3822, allocations: 0 / 0.7986 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.3822, allocations: 3.984 kB / 0.7987 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008235/0.383, allocations: 421.2 kB / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.3831, allocations: 0 / 0.7991 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003696/0.3834, allocations: 31.98 kB / 0.7991 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.3835, allocations: 7.938 kB / 0.7991 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.3835, allocations: 7.984 kB / 0.7991 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3835, allocations: 4 kB / 0.7991 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3835, allocations: 0 / 0.7991 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.3852, allocations: 443.4 kB / 0.7995 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002981/0.3856, allocations: 140.6 kB / 0.7997 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.363e-05/0.3857, allocations: 8 kB / 0.7997 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.3859, allocations: 15.98 kB / 0.7997 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.386, allocations: 19.97 kB / 0.7997 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.3861, allocations: 7.984 kB / 0.7997 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006502/0.3868, allocations: 315.2 kB / 0.8 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3868, allocations: 4 kB / 0.8 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006435/0.3874, allocations: 79.83 kB / 0.8001 GB, free: 14.3 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 (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.003303/0.3908, allocations: 1.281 MB / 0.8013 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006586/0.3914, allocations: 230.8 kB / 0.8016 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3915, allocations: 0 / 0.8016 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003069/0.3918, allocations: 115.8 kB / 0.8017 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005882/0.3924, allocations: 106.5 kB / 0.8018 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.3969, allocations: 3.001 MB / 0.8047 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.3974, allocations: 0.819 MB / 0.8055 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002412/0.3976, allocations: 55.19 kB / 0.8056 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.3979, allocations: 139.4 kB / 0.8057 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of SimCode: time 1.012e-06/0.3979, allocations: 4 kB / 0.8057 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3971/0.795, allocations: 8.33 MB / 0.8138 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.003327/0.7984, allocations: 261.2 kB / 0.8141 GB, free: 192 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/4.1, allocations: 0 / 0.8141 GB, free: 192 kB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1) Environment - environmentSimulation: