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.001241/0.001242, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.001398/0.001398, allocations: 185.9 kB / 16.25 MB, free: 6.137 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.119/1.119, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.449/1.449, allocations: 292.3 MB / 0.5485 GB, free: 13.59 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.001224/0.001224, allocations: 64.81 kB / 0.6711 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 114.5 MB / 0.783 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003552/0.1577, allocations: 2.97 MB / 0.7859 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001779/0.1595, allocations: 1.408 MB / 0.7873 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.1597, allocations: 11.94 kB / 0.7873 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.16, allocations: 87.47 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002878/0.1603, allocations: 123.4 kB / 0.7875 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006577/0.161, allocations: 353.3 kB / 0.7878 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.1614, allocations: 0.5343 MB / 0.7883 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1617, allocations: 205.4 kB / 0.7885 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.1619, allocations: 207.1 kB / 0.7887 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.162, allocations: 207 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.1621, allocations: 40 kB / 0.789 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.1622, allocations: 91.91 kB / 0.789 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.226e-05/0.1623, allocations: 103.7 kB / 0.7891 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1625, allocations: 218.7 kB / 0.7893 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.1629, allocations: 0.5763 MB / 0.7899 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1629, allocations: 4 kB / 0.7899 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.143e-06/0.1629, allocations: 0 / 0.7899 GB, free: 6.609 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.163, allocations: 0 / 0.7899 GB, free: 6.609 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.0009756/0.1639, allocations: 0.7998 MB / 0.7907 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.164, allocations: 8.031 kB / 0.7907 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.684e-05/0.164, allocations: 66.72 kB / 0.7908 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/0.1641, allocations: 52.28 kB / 0.7908 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004641/0.1646, allocations: 426.5 kB / 0.7912 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.1646, allocations: 28.69 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.1647, allocations: 28 kB / 0.7913 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000494/0.1652, allocations: 327.9 kB / 0.7916 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.1652, allocations: 0 / 0.7916 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.1652, allocations: 12 kB / 0.7916 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1652, allocations: 4 kB / 0.7916 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.1657, allocations: 214.1 kB / 0.7918 GB, free: 4.535 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.1668, allocations: 1.108 MB / 0.7929 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005234/0.1673, allocations: 238.9 kB / 0.7931 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.1675, allocations: 112.8 kB / 0.7932 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.126e-05/0.1675, allocations: 4 kB / 0.7932 GB, free: 3.004 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003248/0.1679, allocations: 158.4 kB / 0.7934 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.1679, allocations: 0 / 0.7934 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007004/0.1686, allocations: 356.6 kB / 0.7937 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.1686, allocations: 106.8 kB / 0.7938 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003879/0.169, allocations: 445.9 kB / 0.7943 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1691, allocations: 37.7 kB / 0.7943 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.1692, allocations: 232.4 kB / 0.7945 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.1693, allocations: 74.84 kB / 0.7946 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.1693, allocations: 57.69 kB / 0.7946 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.1694, allocations: 350.8 kB / 0.795 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.1696, allocations: 83.95 kB / 0.795 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/0.1699, allocations: 163.6 kB / 0.7952 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003826/0.1703, allocations: 227.3 kB / 0.7954 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1703, allocations: 0 / 0.7954 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005021/0.1708, allocations: 303.9 kB / 0.7957 GB, free: 344 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.1708, allocations: 4 kB / 0.7957 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1708, allocations: 4 kB / 0.7957 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.318e-06/0.1708, allocations: 0 / 0.7957 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.171, allocations: 55.91 kB / 0.7958 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1711, allocations: 4 kB / 0.7958 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.1712, allocations: 27.73 kB / 0.7958 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1713, allocations: 11.94 kB / 0.7958 GB, free: 236 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.0001535/0.1714, allocations: 187.1 kB / 0.796 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.113e-05/0.1715, allocations: 43.64 kB / 0.796 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.838e-05/0.1716, allocations: 47.83 kB / 0.7961 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1716, allocations: 4 kB / 0.7961 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1716, allocations: 0 / 0.7961 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1716, allocations: 0 / 0.7961 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003142/0.1719, allocations: 413.2 kB / 0.7965 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1719, allocations: 0 / 0.7965 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.1721, allocations: 43.91 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1721, allocations: 4 kB / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1722, allocations: 4 kB / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1722, allocations: 0 / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1722, allocations: 0 / 0.7965 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.1729, allocations: 420.2 kB / 0.7969 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.173, allocations: 144.6 kB / 0.7971 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.555e-05/0.1731, allocations: 8 kB / 0.7971 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1732, allocations: 11.98 kB / 0.7971 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/0.1733, allocations: 19.98 kB / 0.7971 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.057e-05/0.1733, allocations: 11.92 kB / 0.7971 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002711/0.1736, allocations: 315.1 kB / 0.7974 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1736, allocations: 3.938 kB / 0.7974 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002735/0.1739, allocations: 79.73 kB / 0.7975 GB, free: 14.41 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.001658/0.1755, allocations: 1.286 MB / 0.7988 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.176, allocations: 227.8 kB / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.176, allocations: 0 / 0.799 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.1763, allocations: 119.7 kB / 0.7991 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.1767, allocations: 104.8 kB / 0.7992 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.1807, allocations: 3.593 MB / 0.8027 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.181, allocations: 0.8185 MB / 0.8035 GB, free: 8.281 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.1811, allocations: 55.23 kB / 0.8035 GB, free: 8.227 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.1813, allocations: 143.4 kB / 0.8037 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1813, allocations: 0 / 0.8037 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5045/0.6858, allocations: 8.686 MB / 0.8122 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/0.6861, allocations: 291 kB / 0.8124 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.675, allocations: 0 / 0.8124 GB, free: 15.28 MB / 0.6387 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/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)