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.001138/0.001138, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00111/0.00111, allocations: 195.7 kB / 16.14 MB, free: 6.66 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.141/1.141, allocations: 205.1 MB / 222 MB, free: 4.738 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.469/1.469, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001225/0.001225, allocations: 64.81 kB / 0.6709 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1611, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003662/0.1648, allocations: 2.962 MB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1666, allocations: 1.415 MB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001553/0.1668, allocations: 11.94 kB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003121/0.1671, allocations: 87.47 kB / 0.7872 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.1674, allocations: 115.4 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006378/0.168, allocations: 359.4 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004134/0.1685, allocations: 0.4914 MB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.1687, allocations: 201.4 kB / 0.7883 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.1689, allocations: 171.1 kB / 0.7885 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.1691, allocations: 183 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.195e-05/0.1691, allocations: 23.94 kB / 0.7887 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.1693, allocations: 63.97 kB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.453e-05/0.1694, allocations: 79.67 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1695, allocations: 190.7 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004401/0.17, allocations: 0.5568 MB / 0.7895 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.17, allocations: 0 / 0.7895 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.62e-07/0.17, allocations: 0 / 0.7895 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.17, allocations: 0 / 0.7895 GB, free: 6.996 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.001029/0.171, allocations: 0.7921 MB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.98e-05/0.1711, allocations: 11.97 kB / 0.7903 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.1711, allocations: 66.7 kB / 0.7904 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.1712, allocations: 56.28 kB / 0.7904 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.1717, allocations: 434.5 kB / 0.7908 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.1718, allocations: 24.69 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.1718, allocations: 27.94 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005294/0.1723, allocations: 327.9 kB / 0.7912 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.1724, allocations: 8 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.1724, allocations: 8 kB / 0.7912 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1724, allocations: 8 kB / 0.7912 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004452/0.1729, allocations: 210.1 kB / 0.7914 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.174, allocations: 1.108 MB / 0.7925 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.1746, allocations: 234.9 kB / 0.7927 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.1748, allocations: 116.8 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1748, allocations: 4 kB / 0.7928 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003086/0.1751, allocations: 154.3 kB / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.1752, allocations: 0 / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007357/0.1759, allocations: 356.7 kB / 0.7933 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.176, allocations: 106.8 kB / 0.7934 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.1764, allocations: 450 kB / 0.7939 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.1764, allocations: 25.7 kB / 0.7939 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.1766, allocations: 236.5 kB / 0.7941 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.1766, allocations: 78.84 kB / 0.7942 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.753e-05/0.1767, allocations: 53.69 kB / 0.7942 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.1768, allocations: 358.8 kB / 0.7946 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.177, allocations: 83.89 kB / 0.7947 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.1773, allocations: 163.6 kB / 0.7948 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.1777, allocations: 215.5 kB / 0.795 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1777, allocations: 4 kB / 0.795 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000526/0.1782, allocations: 307.6 kB / 0.7953 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1782, allocations: 4 kB / 0.7953 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.1783, allocations: 0 / 0.7953 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.1783, allocations: 4 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.1785, allocations: 52.06 kB / 0.7954 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.1785, allocations: 4 kB / 0.7954 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.1787, allocations: 35.73 kB / 0.7954 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1787, allocations: 12 kB / 0.7954 GB, free: 0.6016 MB / 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.000151/0.1789, allocations: 169.8 kB / 0.7956 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.1789, allocations: 47.38 kB / 0.7956 GB, free: 388 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.821e-05/0.179, allocations: 51.83 kB / 0.7957 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.179, allocations: 0 / 0.7957 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.179, allocations: 4 kB / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.179, allocations: 3.938 kB / 0.7957 GB, free: 328 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.1794, allocations: 417.2 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1794, allocations: 0 / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.1796, allocations: 35.91 kB / 0.7961 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1796, allocations: 4 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1796, allocations: 4 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1796, allocations: 0 / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1796, allocations: 4 kB / 0.7961 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007522/0.1804, allocations: 420.2 kB / 0.7965 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.1805, allocations: 140.6 kB / 0.7967 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.025e-05/0.1806, allocations: 15.91 kB / 0.7967 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.1807, allocations: 12 kB / 0.7967 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.62e-05/0.1808, allocations: 15.97 kB / 0.7967 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.196e-05/0.1808, allocations: 20.05 kB / 0.7967 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002873/0.1811, allocations: 315.1 kB / 0.797 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1811, allocations: 0 / 0.797 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002882/0.1814, allocations: 83.73 kB / 0.7971 GB, free: 14.78 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.001716/0.1831, allocations: 1.274 MB / 0.7984 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000464/0.1836, allocations: 219.8 kB / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1836, allocations: 0 / 0.7986 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002291/0.1838, allocations: 120 kB / 0.7987 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.1843, allocations: 98.8 kB / 0.7988 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004138/0.1885, allocations: 3.588 MB / 0.8023 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1888, allocations: 0.8145 MB / 0.8031 GB, free: 8.684 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001736/0.189, allocations: 59.23 kB / 0.8031 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001825/0.1892, allocations: 139.4 kB / 0.8033 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.1892, allocations: 3.938 kB / 0.8033 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.725/1.914, allocations: 8.503 MB / 0.8116 GB, free: 240 kB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/1.915, allocations: 288.2 kB / 0.8118 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.675/3.59, allocations: 6.641 kB / 0.8119 GB, free: 15.85 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)