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.001218/0.001218, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 193 kB / 16.53 MB, free: 6.664 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.219/1.219, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.553/1.553, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001286/0.001286, allocations: 67.88 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1691, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003915/0.1731, allocations: 2.944 MB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1751, allocations: 1.431 MB / 0.7877 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002066/0.1754, allocations: 11.94 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.1757, allocations: 107.2 kB / 0.7879 GB, free: 8.871 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000362/0.1761, allocations: 143.1 kB / 0.788 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007662/0.1769, allocations: 385 kB / 0.7884 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004984/0.1774, allocations: 0.5266 MB / 0.7889 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.1777, allocations: 209.4 kB / 0.7891 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.178, allocations: 203.2 kB / 0.7893 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.1782, allocations: 202.9 kB / 0.7895 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.1783, allocations: 43.94 kB / 0.7895 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1784, allocations: 95.95 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.1785, allocations: 103.6 kB / 0.7897 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.1787, allocations: 214.8 kB / 0.7899 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.1792, allocations: 0.5802 MB / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1793, allocations: 0 / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1793, allocations: 0 / 0.7905 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.1793, allocations: 0 / 0.7905 GB, free: 6.191 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.001104/0.1804, allocations: 0.8037 MB / 0.7912 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1804, allocations: 8.031 kB / 0.7913 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.54e-05/0.1805, allocations: 62.72 kB / 0.7913 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.1806, allocations: 56.28 kB / 0.7914 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005048/0.1811, allocations: 430.5 kB / 0.7918 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.1811, allocations: 24.69 kB / 0.7918 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.1812, allocations: 24 kB / 0.7918 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.1817, allocations: 331.9 kB / 0.7921 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.1817, allocations: 0 / 0.7921 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.472e-05/0.1817, allocations: 8 kB / 0.7922 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1817, allocations: 8 kB / 0.7922 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004457/0.1822, allocations: 214.1 kB / 0.7924 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.1834, allocations: 1.108 MB / 0.7934 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005463/0.1839, allocations: 235 kB / 0.7937 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1841, allocations: 115.2 kB / 0.7938 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.1842, allocations: 4 kB / 0.7938 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.1845, allocations: 158.2 kB / 0.7939 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.503e-06/0.1845, allocations: 0 / 0.7939 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0007355/0.1853, allocations: 352.7 kB / 0.7943 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1853, allocations: 110.8 kB / 0.7944 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.1857, allocations: 449.9 kB / 0.7948 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.1858, allocations: 37.7 kB / 0.7948 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1859, allocations: 232.4 kB / 0.7951 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.109e-05/0.186, allocations: 74.84 kB / 0.7951 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.928e-05/0.1861, allocations: 57.69 kB / 0.7952 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1862, allocations: 350.8 kB / 0.7955 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1864, allocations: 83.95 kB / 0.7956 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.1867, allocations: 167.7 kB / 0.7958 GB, free: 464 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.1871, allocations: 219.4 kB / 0.796 GB, free: 228 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1871, allocations: 3.938 kB / 0.796 GB, free: 224 kB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005438/0.1876, allocations: 307.9 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1877, allocations: 4 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1877, allocations: 0 / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1877, allocations: 4 kB / 0.7963 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.1879, allocations: 51.97 kB / 0.7963 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1879, allocations: 3.938 kB / 0.7963 GB, free: 15.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000169/0.1881, allocations: 31.73 kB / 0.7964 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.1881, allocations: 8 kB / 0.7964 GB, free: 15.81 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.0001607/0.1883, allocations: 183.1 kB / 0.7965 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.1884, allocations: 47.38 kB / 0.7966 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.353e-05/0.1885, allocations: 51.83 kB / 0.7966 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1885, allocations: 0 / 0.7966 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1885, allocations: 0 / 0.7966 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1885, allocations: 0 / 0.7966 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.1888, allocations: 413.2 kB / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1888, allocations: 0 / 0.797 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.189, allocations: 35.97 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.189, allocations: 4 kB / 0.7971 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.781e-05/0.1891, allocations: 7.984 kB / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1891, allocations: 0 / 0.7971 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1891, allocations: 4 kB / 0.7971 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.1898, allocations: 420.2 kB / 0.7975 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001229/0.19, allocations: 148.7 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.19, allocations: 3.984 kB / 0.7976 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.1902, allocations: 15.98 kB / 0.7976 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.1902, allocations: 19.97 kB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1903, allocations: 12 kB / 0.7977 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000299/0.1906, allocations: 319.1 kB / 0.798 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1906, allocations: 3.938 kB / 0.798 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002903/0.1909, allocations: 83.73 kB / 0.7981 GB, free: 13.98 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.001712/0.1926, allocations: 1.28 MB / 0.7993 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005146/0.1931, allocations: 227.8 kB / 0.7995 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1931, allocations: 0 / 0.7995 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1934, allocations: 126.7 kB / 0.7996 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004577/0.1939, allocations: 102 kB / 0.7997 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003924/0.1978, allocations: 3.457 MB / 0.8031 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1981, allocations: 0.8303 MB / 0.8039 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000172/0.1983, allocations: 51.23 kB / 0.804 GB, free: 7.926 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1985, allocations: 143.4 kB / 0.8041 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of SimCode: time 1.553e-06/0.1985, allocations: 0 / 0.8041 GB, free: 7.785 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6428/0.8413, allocations: 8.848 MB / 0.8128 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.877/7.718, allocations: 10.66 kB / 0.8128 GB, free: 15.16 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)