Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 1.43/1.43, allocations: 287.4 MB / 302.6 MB, free: 8.332 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.0009258/0.0009258, allocations: 177.4 kB / 371.1 MB, free: 10.83 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.134/1.134, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006283/0.0006283, allocations: 99.39 kB / 0.7431 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003061, allocations: 14.28 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002269/0.1461, allocations: 2.477 MB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1478, allocations: 1.338 MB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002616/0.1481, allocations: 15.94 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000304/0.1484, allocations: 75.47 kB / 0.9826 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.1487, allocations: 103.4 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006876/0.1494, allocations: 306.1 kB / 0.9829 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003736/0.1498, allocations: 467.3 kB / 0.9834 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.15, allocations: 201.2 kB / 0.9836 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.1502, allocations: 147.2 kB / 0.9837 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1504, allocations: 151.1 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.1504, allocations: 8 kB / 0.9839 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1506, allocations: 55.97 kB / 0.9839 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.63e-05/0.1506, allocations: 63.69 kB / 0.984 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.1507, allocations: 93.45 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.151, allocations: 458.8 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.151, allocations: 0 / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 8.41e-07/0.151, allocations: 4 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.151, allocations: 0 / 0.9845 GB, free: 22.12 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.0008404/0.1519, allocations: 0.7144 MB / 0.9852 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.1519, allocations: 8.031 kB / 0.9852 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.743e-05/0.152, allocations: 62.72 kB / 0.9853 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.1e-05/0.1521, allocations: 56.28 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.1525, allocations: 430.6 kB / 0.9858 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1525, allocations: 24.69 kB / 0.9858 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.1526, allocations: 35.94 kB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004448/0.153, allocations: 328 kB / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.153, allocations: 0 / 0.9861 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.1531, allocations: 15.94 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1531, allocations: 8 kB / 0.9861 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.1535, allocations: 214.1 kB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.1544, allocations: 1.108 MB / 0.9874 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004701/0.1549, allocations: 242.8 kB / 0.9877 GB, free: 18.7 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001914/0.1551, allocations: 120.8 kB / 0.9878 GB, free: 18.58 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1552, allocations: 7.938 kB / 0.9878 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002801/0.1554, allocations: 151.3 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.1555, allocations: 4 kB / 0.9879 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0006374/0.1561, allocations: 361.3 kB / 0.9883 GB, free: 18.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.1561, allocations: 110.8 kB / 0.9884 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003395/0.1565, allocations: 442 kB / 0.9888 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.1565, allocations: 33.64 kB / 0.9888 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.887e-05/0.1566, allocations: 236.4 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.1567, allocations: 82.84 kB / 0.9891 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.1567, allocations: 4 kB / 0.9891 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.1567, allocations: 354.8 kB / 0.9895 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.1569, allocations: 87.95 kB / 0.9896 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.1571, allocations: 160.2 kB / 0.9897 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003529/0.1575, allocations: 237.1 kB / 0.9899 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1575, allocations: 0 / 0.9899 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004556/0.158, allocations: 300.8 kB / 0.9902 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.158, allocations: 8.156 kB / 0.9902 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.158, allocations: 4 kB / 0.9902 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.158, allocations: 0 / 0.9902 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1582, allocations: 55.91 kB / 0.9903 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.1582, allocations: 7.938 kB / 0.9903 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1584, allocations: 31.73 kB / 0.9903 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1584, allocations: 11.98 kB / 0.9903 GB, free: 15.83 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.0001282/0.1586, allocations: 177.8 kB / 0.9905 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.828e-05/0.1586, allocations: 47.45 kB / 0.9906 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.1587, allocations: 43.84 kB / 0.9906 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1587, allocations: 11.92 kB / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1587, allocations: 3.984 kB / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1587, allocations: 0 / 0.9906 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.159, allocations: 413.2 kB / 0.991 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.159, allocations: 0 / 0.991 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.1591, allocations: 43.97 kB / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.1592, allocations: 0 / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.1592, allocations: 7.984 kB / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1592, allocations: 0 / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1592, allocations: 0 / 0.9911 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006521/0.1598, allocations: 444.2 kB / 0.9915 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.1599, allocations: 140.6 kB / 0.9916 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.453e-05/0.16, allocations: 12 kB / 0.9916 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1601, allocations: 11.98 kB / 0.9916 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1602, allocations: 19.97 kB / 0.9917 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1602, allocations: 16.05 kB / 0.9917 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002413/0.1605, allocations: 315.1 kB / 0.992 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1605, allocations: 0 / 0.992 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002553/0.1607, allocations: 83.73 kB / 0.9921 GB, free: 13.98 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.001462/0.1622, allocations: 1.284 MB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.1627, allocations: 228.2 kB / 0.9935 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1627, allocations: 0 / 0.9935 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1629, allocations: 124 kB / 0.9936 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.1633, allocations: 107.4 kB / 0.9938 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002635/0.166, allocations: 2.282 MB / 0.996 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/0.1661, allocations: 0.8151 MB / 0.9968 GB, free: 9.195 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.1663, allocations: 51.25 kB / 0.9968 GB, free: 9.141 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.1665, allocations: 139.4 kB / 0.997 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1665, allocations: 0 / 0.997 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4722/0.6386, allocations: 8.345 MB / 1.005 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001862/0.6389, allocations: 262.5 kB / 1.005 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.673, allocations: 2.812 kB / 1.005 GB, free: 0.5664 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)