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.0008123/0.0008123, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004912/0.004912, allocations: 171.4 kB / 16.27 MB, free: 6.32 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.149/1.149, allocations: 205.4 MB / 222.4 MB, free: 5.516 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.499/1.499, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004739/0.0004739, allocations: 13 kB / 0.6744 GB, free: 25.83 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1839, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002854/0.1868, allocations: 2.588 MB / 0.7905 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1886, allocations: 1.385 MB / 0.7919 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.1888, allocations: 11.94 kB / 0.7919 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.1891, allocations: 87.47 kB / 0.792 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002506/0.1894, allocations: 115.4 kB / 0.7921 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006674/0.19, allocations: 355 kB / 0.7924 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004058/0.1904, allocations: 0.4914 MB / 0.7929 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002637/0.1907, allocations: 197.3 kB / 0.7931 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001784/0.1909, allocations: 147.1 kB / 0.7932 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.1911, allocations: 167 kB / 0.7934 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1911, allocations: 8 kB / 0.7934 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1912, allocations: 51.98 kB / 0.7935 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.1913, allocations: 75.61 kB / 0.7935 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.1915, allocations: 192.4 kB / 0.7937 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.1919, allocations: 0.5449 MB / 0.7942 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1919, allocations: 0 / 0.7942 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1919, allocations: 0 / 0.7942 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.1919, allocations: 0 / 0.7942 GB, free: 5.031 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.0009065/0.1928, allocations: 0.7183 MB / 0.7949 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1929, allocations: 8.031 kB / 0.795 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.1929, allocations: 62.72 kB / 0.795 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.193, allocations: 60.22 kB / 0.7951 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004826/0.1935, allocations: 422.5 kB / 0.7955 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1935, allocations: 32.69 kB / 0.7955 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.1936, allocations: 31.98 kB / 0.7955 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.1941, allocations: 323.9 kB / 0.7958 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1941, allocations: 4 kB / 0.7958 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.1941, allocations: 12 kB / 0.7959 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1942, allocations: 4 kB / 0.7959 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004554/0.1946, allocations: 222.1 kB / 0.7961 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1958, allocations: 1.108 MB / 0.7972 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.1963, allocations: 242.9 kB / 0.7974 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/0.1965, allocations: 116.8 kB / 0.7975 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.1966, allocations: 0 / 0.7975 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/0.1969, allocations: 163.2 kB / 0.7977 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.333e-06/0.1969, allocations: 0 / 0.7977 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007307/0.1976, allocations: 375.1 kB / 0.798 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.1977, allocations: 106.8 kB / 0.7981 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004192/0.1981, allocations: 446 kB / 0.7985 GB, free: 376 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1982, allocations: 33.7 kB / 0.7986 GB, free: 336 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.1983, allocations: 228.5 kB / 0.7988 GB, free: 100 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.1984, allocations: 78.83 kB / 0.7989 GB, free: 20 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.1984, allocations: 33.7 kB / 0.7989 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1985, allocations: 354.8 kB / 0.7992 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.1987, allocations: 83.95 kB / 0.7993 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.199, allocations: 175.5 kB / 0.7995 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.1994, allocations: 227.6 kB / 0.7997 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1994, allocations: 0 / 0.7997 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005362/0.1999, allocations: 312.8 kB / 0.8 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2, allocations: 8 kB / 0.8 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2, allocations: 0 / 0.8 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2, allocations: 4 kB / 0.8 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2002, allocations: 55.91 kB / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2002, allocations: 0 / 0.8001 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.2004, allocations: 39.91 kB / 0.8001 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.2004, allocations: 15.98 kB / 0.8001 GB, free: 14.67 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 ($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.0001574/0.2006, allocations: 174.4 kB / 0.8003 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.672e-05/0.2006, allocations: 43.47 kB / 0.8003 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.995e-05/0.2007, allocations: 43.83 kB / 0.8004 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2007, allocations: 4 kB / 0.8004 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2007, allocations: 0 / 0.8004 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2007, allocations: 0 / 0.8004 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.2011, allocations: 421.2 kB / 0.8008 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2011, allocations: 0 / 0.8008 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.2013, allocations: 43.91 kB / 0.8008 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2013, allocations: 0 / 0.8008 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.2013, allocations: 4 kB / 0.8008 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.2013, allocations: 4 kB / 0.8008 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.2013, allocations: 0 / 0.8008 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007575/0.2021, allocations: 435.5 kB / 0.8012 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2022, allocations: 148.6 kB / 0.8014 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.2023, allocations: 7.938 kB / 0.8014 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.2024, allocations: 20.05 kB / 0.8014 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.2025, allocations: 19.97 kB / 0.8014 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2025, allocations: 4 kB / 0.8014 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002905/0.2028, allocations: 323.1 kB / 0.8017 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1e-07/0.2028, allocations: 0 / 0.8017 GB, free: 12.92 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002803/0.2031, allocations: 79.75 kB / 0.8018 GB, free: 12.84 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.001727/0.2048, allocations: 1.294 MB / 0.8031 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004696/0.2053, allocations: 218.7 kB / 0.8033 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2053, allocations: 4 kB / 0.8033 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000232/0.2056, allocations: 128 kB / 0.8034 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004826/0.2061, allocations: 97.14 kB / 0.8035 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004144/0.2102, allocations: 3.627 MB / 0.807 GB, free: 7.512 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.2105, allocations: 0.8145 MB / 0.8078 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001749/0.2107, allocations: 55.25 kB / 0.8079 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.2109, allocations: 147.4 kB / 0.808 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of SimCode: time 3.3e-07/0.2109, allocations: 3.938 kB / 0.808 GB, free: 6.469 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01761/0.2285, allocations: 8.264 MB / 0.8161 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/0.2288, allocations: 287.4 kB / 0.8164 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/1.925, allocations: 4.062 kB / 0.8164 GB, free: 14.09 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)