Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_8_0_x_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.395/1.395, allocations: 288.4 MB / 303.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008356/0.0008355, allocations: 179 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.057/1.057, allocations: 205.4 MB / 0.631 GB, free: 9.863 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006734/0.0006734, allocations: 90.8 kB / 0.7444 GB, free: 5.762 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003314, allocations: 15.61 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.139, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002212/0.1412, allocations: 2.49 MB / 0.9826 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1428, allocations: 1.334 MB / 0.9839 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002097/0.1431, allocations: 11.94 kB / 0.9839 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.1434, allocations: 79.47 kB / 0.984 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.1436, allocations: 107.4 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.1443, allocations: 301.4 kB / 0.9844 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.1446, allocations: 467.3 kB / 0.9849 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.1449, allocations: 201.3 kB / 0.985 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1451, allocations: 147.2 kB / 0.9852 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1452, allocations: 151 kB / 0.9853 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.1452, allocations: 8 kB / 0.9853 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1454, allocations: 59.97 kB / 0.9854 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.1454, allocations: 63.69 kB / 0.9855 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.1456, allocations: 188.6 kB / 0.9856 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002782/0.1458, allocations: 454.9 kB / 0.9861 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1458, allocations: 0 / 0.9861 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1459, allocations: 0 / 0.9861 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.1459, allocations: 0 / 0.9861 GB, free: 21.19 MB / 0.6198 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.0008304/0.1467, allocations: 0.7188 MB / 0.9868 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1467, allocations: 8.031 kB / 0.9868 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.1468, allocations: 62.72 kB / 0.9868 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.114e-05/0.1469, allocations: 56.28 kB / 0.9869 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.1473, allocations: 426.5 kB / 0.9873 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1473, allocations: 28.67 kB / 0.9873 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.1474, allocations: 28 kB / 0.9874 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.1478, allocations: 327.9 kB / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.1479, allocations: 0 / 0.9877 GB, free: 19.43 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.471e-05/0.1479, allocations: 12 kB / 0.9877 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1479, allocations: 11.94 kB / 0.9877 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000398/0.1483, allocations: 218.1 kB / 0.9879 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009575/0.1493, allocations: 1.108 MB / 0.989 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.1498, allocations: 244.8 kB / 0.9892 GB, free: 17.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.15, allocations: 112.8 kB / 0.9893 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.15, allocations: 7.984 kB / 0.9893 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/0.1503, allocations: 159.3 kB / 0.9895 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.1503, allocations: 4 kB / 0.9895 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.0006633/0.151, allocations: 372.5 kB / 0.9898 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.151, allocations: 106.8 kB / 0.9899 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.1514, allocations: 442 kB / 0.9904 GB, free: 16.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1514, allocations: 29.7 kB / 0.9904 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.1515, allocations: 224.5 kB / 0.9906 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1515, allocations: 86.83 kB / 0.9907 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.108e-05/0.1515, allocations: 8 kB / 0.9907 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.102e-05/0.1516, allocations: 350.8 kB / 0.991 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.1518, allocations: 87.95 kB / 0.9911 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/0.152, allocations: 168.1 kB / 0.9913 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.1524, allocations: 225 kB / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1524, allocations: 0 / 0.9915 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004655/0.1528, allocations: 312 kB / 0.9918 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.1529, allocations: 4 kB / 0.9918 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1529, allocations: 4 kB / 0.9918 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1529, allocations: 0 / 0.9918 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1531, allocations: 55.91 kB / 0.9918 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1531, allocations: 4.156 kB / 0.9918 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1533, allocations: 35.73 kB / 0.9919 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.1533, allocations: 11.94 kB / 0.9919 GB, free: 14.89 MB / 0.6198 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.0001311/0.1534, allocations: 185.8 kB / 0.9921 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.1535, allocations: 39.47 kB / 0.9921 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.1536, allocations: 51.83 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1536, allocations: 0 / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1536, allocations: 4 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1536, allocations: 4 kB / 0.9922 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.1538, allocations: 417.2 kB / 0.9926 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1538, allocations: 0 / 0.9926 GB, free: 14.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.154, allocations: 39.91 kB / 0.9926 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.154, allocations: 0 / 0.9926 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.1541, allocations: 8 kB / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1541, allocations: 3.984 kB / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1541, allocations: 0 / 0.9926 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006541/0.1547, allocations: 428.2 kB / 0.993 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.1548, allocations: 144.6 kB / 0.9932 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.1549, allocations: 12.06 kB / 0.9932 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.155, allocations: 15.98 kB / 0.9932 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1551, allocations: 19.97 kB / 0.9932 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1551, allocations: 4 kB / 0.9932 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002294/0.1554, allocations: 319.1 kB / 0.9935 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.132e-06/0.1554, allocations: 0 / 0.9935 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000253/0.1556, allocations: 83.69 kB / 0.9936 GB, free: 13.06 MB / 0.6198 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.001437/0.1571, allocations: 1.296 MB / 0.9949 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004233/0.1575, allocations: 219.8 kB / 0.9951 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1575, allocations: 4.312 kB / 0.9951 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.1577, allocations: 115 kB / 0.9952 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004357/0.1582, allocations: 95.89 kB / 0.9953 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002682/0.1609, allocations: 2.282 MB / 0.9975 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.161, allocations: 0.8229 MB / 0.9983 GB, free: 8.277 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001657/0.1612, allocations: 55.25 kB / 0.9984 GB, free: 8.219 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.1614, allocations: 139.4 kB / 0.9985 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.1614, allocations: 0 / 0.9985 GB, free: 8.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5396/0.7009, allocations: 8.41 MB / 1.007 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/0.7012, allocations: 284.7 kB / 1.007 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.287/2.988, allocations: 3.938 kB / 1.007 GB, free: 15.53 MB / 0.6355 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)