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.0007052/0.0007051, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0007518/0.0007517, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.166/1.166, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.515/1.515, allocations: 292.7 MB / 0.5499 GB, free: 14.53 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.0004319/0.000432, allocations: 13.38 kB / 0.6738 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1714, allocations: 116.3 MB / 0.7874 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002878/0.1743, allocations: 2.477 MB / 0.7898 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.1763, allocations: 1.35 MB / 0.7911 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.1766, allocations: 11.94 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.1769, allocations: 79.47 kB / 0.7912 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002661/0.1772, allocations: 99.39 kB / 0.7913 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007374/0.1779, allocations: 309.5 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.1784, allocations: 463.4 kB / 0.7921 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.1786, allocations: 144.2 kB / 0.7922 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1789, allocations: 147.2 kB / 0.7923 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.179, allocations: 147.1 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.1791, allocations: 12 kB / 0.7925 GB, free: 6.574 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.1792, allocations: 55.95 kB / 0.7925 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.714e-05/0.1793, allocations: 63.7 kB / 0.7926 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.321e-05/0.1794, allocations: 93.45 kB / 0.7927 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000387/0.1798, allocations: 459 kB / 0.7931 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1798, allocations: 4 kB / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1798, allocations: 0 / 0.7931 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.1798, allocations: 0 / 0.7931 GB, free: 5.906 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.0009565/0.1808, allocations: 0.7181 MB / 0.7938 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1808, allocations: 12.03 kB / 0.7939 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.544e-05/0.1809, allocations: 62.53 kB / 0.7939 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.536e-05/0.181, allocations: 55.3 kB / 0.794 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005188/0.1815, allocations: 417.6 kB / 0.7944 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.1815, allocations: 24.5 kB / 0.7944 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.1816, allocations: 24 kB / 0.7944 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005237/0.1821, allocations: 335.9 kB / 0.7947 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1821, allocations: 7.875 kB / 0.7947 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.1822, allocations: 12 kB / 0.7947 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1822, allocations: 8 kB / 0.7948 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.1826, allocations: 218.1 kB / 0.795 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.1838, allocations: 1.108 MB / 0.796 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005174/0.1844, allocations: 239.5 kB / 0.7963 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.1846, allocations: 117.1 kB / 0.7964 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.1846, allocations: 8.125 kB / 0.7964 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003109/0.1849, allocations: 155.5 kB / 0.7965 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.185, allocations: 0 / 0.7965 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007035/0.1857, allocations: 359.2 kB / 0.7969 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.1857, allocations: 110.8 kB / 0.797 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004109/0.1861, allocations: 449.8 kB / 0.7974 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.1862, allocations: 37.64 kB / 0.7975 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1863, allocations: 228.5 kB / 0.7977 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.1864, allocations: 71 kB / 0.7977 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.1864, allocations: 8 kB / 0.7977 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1865, allocations: 350.8 kB / 0.7981 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1868, allocations: 91.95 kB / 0.7982 GB, free: 480 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.187, allocations: 159.7 kB / 0.7983 GB, free: 292 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1872, allocations: 99.91 kB / 0.7984 GB, free: 192 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1872, allocations: 0 / 0.7984 GB, free: 192 kB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005288/0.1877, allocations: 311.4 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.1878, allocations: 4 kB / 0.7987 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1878, allocations: 4 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1878, allocations: 4 kB / 0.7987 GB, free: 15.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.188, allocations: 56.06 kB / 0.7988 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.188, allocations: 11.88 kB / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1882, allocations: 35.69 kB / 0.7988 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.1882, allocations: 11.98 kB / 0.7988 GB, free: 15.75 MB / 0.6231 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.0001607/0.1884, allocations: 178.4 kB / 0.799 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.1885, allocations: 39.53 kB / 0.799 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.93e-05/0.1885, allocations: 39.84 kB / 0.7991 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1885, allocations: 8 kB / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1886, allocations: 0 / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.1886, allocations: 7.938 kB / 0.7991 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003401/0.1889, allocations: 413.2 kB / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1889, allocations: 0 / 0.7995 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.1891, allocations: 31.98 kB / 0.7995 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.1891, allocations: 4 kB / 0.7995 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.1892, allocations: 7.984 kB / 0.7995 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1892, allocations: 4 kB / 0.7995 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1892, allocations: 4 kB / 0.7995 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/0.1899, allocations: 439.4 kB / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.19, allocations: 140.6 kB / 0.8001 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.805e-05/0.1901, allocations: 11.98 kB / 0.8001 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1902, allocations: 15.98 kB / 0.8001 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.1903, allocations: 23.91 kB / 0.8001 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.1903, allocations: 11.98 kB / 0.8002 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003083/0.1907, allocations: 311.1 kB / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1907, allocations: 0 / 0.8005 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002949/0.191, allocations: 83.89 kB / 0.8005 GB, free: 13.93 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.001745/0.1927, allocations: 1.284 MB / 0.8018 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004641/0.1932, allocations: 230.9 kB / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1932, allocations: 0 / 0.802 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002196/0.1934, allocations: 123.7 kB / 0.8021 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004396/0.1939, allocations: 93.95 kB / 0.8022 GB, free: 12.33 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.1972, allocations: 2.274 MB / 0.8044 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.1975, allocations: 0.819 MB / 0.8052 GB, free: 9.148 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001887/0.1977, allocations: 55.23 kB / 0.8053 GB, free: 9.094 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001797/0.1979, allocations: 135.4 kB / 0.8054 GB, free: 8.961 MB / 0.6231 GB Notification: Performance of SimCode: time 1.422e-06/0.1979, allocations: 4 kB / 0.8054 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.2155, allocations: 8.351 MB / 0.8136 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.2157, allocations: 268.8 kB / 0.8138 GB, free: 0.5273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/1.861, allocations: 0 / 0.8138 GB, free: 0.5273 MB / 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: