Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.206/1.206, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008709/0.000871, allocations: 171.3 kB / 325.8 MB, free: 2.695 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.267/1.267, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006484/0.0006484, allocations: 89.7 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002846/0.0002847, allocations: 12.05 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1394, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.002462/0.1419, allocations: 2.698 MB / 0.8989 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.1437, allocations: 1.419 MB / 0.9002 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002333/0.1439, allocations: 11.94 kB / 0.9002 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.1442, allocations: 87.47 kB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1445, allocations: 119.3 kB / 0.9004 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1452, allocations: 355 kB / 0.9008 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.1454, allocations: 0.4914 MB / 0.9013 GB, free: 62.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.1457, allocations: 197.1 kB / 0.9015 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1458, allocations: 159 kB / 0.9016 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.146, allocations: 159 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.234e-05/0.146, allocations: 11.94 kB / 0.9018 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001122/0.1461, allocations: 59.97 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.711e-05/0.1462, allocations: 71.62 kB / 0.9019 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.043e-05/0.1463, allocations: 170.7 kB / 0.9021 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1466, allocations: 0.5488 MB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1466, allocations: 0 / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1466, allocations: 0 / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.1466, allocations: 0 / 0.9026 GB, free: 61.5 MB / 0.6042 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.000768/0.1474, allocations: 0.7299 MB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1475, allocations: 8.031 kB / 0.9033 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.1475, allocations: 74.66 kB / 0.9034 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.1476, allocations: 52.28 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004007/0.148, allocations: 442.4 kB / 0.9039 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.109e-05/0.148, allocations: 24.69 kB / 0.9039 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.148, allocations: 24 kB / 0.9039 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004175/0.1485, allocations: 335.9 kB / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1485, allocations: 0 / 0.9042 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.213e-05/0.1485, allocations: 12 kB / 0.9042 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1485, allocations: 12 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003852/0.1489, allocations: 218.1 kB / 0.9045 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009048/0.1498, allocations: 1.112 MB / 0.9055 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.1503, allocations: 241.9 kB / 0.9058 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.1505, allocations: 116.8 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.1505, allocations: 4 kB / 0.9059 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.1508, allocations: 155.9 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.553e-06/0.1508, allocations: 3.938 kB / 0.906 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0006408/0.1515, allocations: 371.4 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.1515, allocations: 106.8 kB / 0.9065 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003288/0.1519, allocations: 461.9 kB / 0.9069 GB, free: 56.79 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.1519, allocations: 33.7 kB / 0.907 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.152, allocations: 240.3 kB / 0.9072 GB, free: 56.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.152, allocations: 67 kB / 0.9073 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.1521, allocations: 29.7 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.1521, allocations: 358.8 kB / 0.9076 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.1523, allocations: 91.95 kB / 0.9077 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001919/0.1525, allocations: 163.5 kB / 0.9079 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.1529, allocations: 235.7 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1529, allocations: 4 kB / 0.9081 GB, free: 55.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004596/0.1533, allocations: 308.8 kB / 0.9084 GB, free: 55.22 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.1534, allocations: 4 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1534, allocations: 4 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.1534, allocations: 3.984 kB / 0.9084 GB, free: 55.21 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1536, allocations: 51.91 kB / 0.9085 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1536, allocations: 4 kB / 0.9085 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.1537, allocations: 31.73 kB / 0.9085 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.1538, allocations: 16.12 kB / 0.9085 GB, free: 55.11 MB / 0.6042 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.0001248/0.1539, allocations: 181.7 kB / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.1539, allocations: 47.38 kB / 0.9087 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.154, allocations: 43.92 kB / 0.9088 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.154, allocations: 7.984 kB / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.154, allocations: 0 / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.154, allocations: 0 / 0.9088 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1543, allocations: 417.2 kB / 0.9092 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1543, allocations: 0 / 0.9092 GB, free: 54.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.1545, allocations: 43.91 kB / 0.9092 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1545, allocations: 0 / 0.9092 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1545, allocations: 8.047 kB / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1545, allocations: 0 / 0.9092 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1545, allocations: 11.97 kB / 0.9092 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000641/0.1552, allocations: 434.9 kB / 0.9096 GB, free: 53.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.721e-05/0.1553, allocations: 144.6 kB / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.281e-05/0.1553, allocations: 4 kB / 0.9098 GB, free: 53.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.1555, allocations: 16.05 kB / 0.9098 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.1555, allocations: 27.91 kB / 0.9098 GB, free: 53.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1555, allocations: 8 kB / 0.9098 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002325/0.1558, allocations: 323.1 kB / 0.9101 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1558, allocations: 0 / 0.9101 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002479/0.156, allocations: 79.84 kB / 0.9102 GB, free: 53.25 MB / 0.6042 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.001457/0.1575, allocations: 1.295 MB / 0.9115 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.1579, allocations: 233.9 kB / 0.9117 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1579, allocations: 0 / 0.9117 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.1581, allocations: 124.1 kB / 0.9118 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.1586, allocations: 97.55 kB / 0.9119 GB, free: 51.64 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.162, allocations: 3.67 MB / 0.9155 GB, free: 47.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.1622, allocations: 0.8223 MB / 0.9163 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.1624, allocations: 55.23 kB / 0.9164 GB, free: 46.96 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.1625, allocations: 147.4 kB / 0.9165 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.1625, allocations: 0 / 0.9165 GB, free: 46.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4272/0.5897, allocations: 8.589 MB / 0.9249 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.5899, allocations: 307 kB / 0.9252 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.458, allocations: 0 / 0.9252 GB, free: 38.06 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)