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.402/1.402, allocations: 252 MB / 267.3 MB, free: 10.84 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.001399/0.001399, allocations: 180.1 kB / 327 MB, free: 2.086 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.713/1.713, allocations: 205.4 MB / 0.578 GB, free: 20.08 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.0007747/0.0007744, allocations: 84.14 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.00036, allocations: 12.95 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2327, allocations: 106.3 MB / 0.9009 GB, free: 63.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed): time 0.003641/0.2364, allocations: 2.646 MB / 0.9035 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002785/0.2392, allocations: 1.4 MB / 0.9049 GB, free: 59.33 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/0.2398, allocations: 11.94 kB / 0.9049 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.2404, allocations: 87.45 kB / 0.905 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000636/0.241, allocations: 127.3 kB / 0.9051 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2421, allocations: 340.9 kB / 0.9054 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005963/0.2427, allocations: 0.4992 MB / 0.9059 GB, free: 58.28 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.2431, allocations: 197.1 kB / 0.9061 GB, free: 58.08 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.2433, allocations: 159 kB / 0.9062 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.2435, allocations: 155 kB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.2435, allocations: 8 kB / 0.9064 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.2437, allocations: 63.97 kB / 0.9065 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.2438, allocations: 75.55 kB / 0.9065 GB, free: 57.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.244, allocations: 196.4 kB / 0.9067 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.2445, allocations: 0.5529 MB / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2445, allocations: 0 / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2445, allocations: 0 / 0.9073 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.2445, allocations: 0 / 0.9073 GB, free: 56.88 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.001096/0.2456, allocations: 0.726 MB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.2457, allocations: 8.031 kB / 0.908 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.2458, allocations: 62.72 kB / 0.908 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.2458, allocations: 56.28 kB / 0.9081 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005082/0.2463, allocations: 446.4 kB / 0.9085 GB, free: 55.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.2464, allocations: 20.69 kB / 0.9085 GB, free: 55.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.2464, allocations: 31.94 kB / 0.9086 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005153/0.247, allocations: 335.9 kB / 0.9089 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.247, allocations: 0 / 0.9089 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.247, allocations: 12 kB / 0.9089 GB, free: 55.06 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.247, allocations: 8 kB / 0.9089 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004285/0.2475, allocations: 214.1 kB / 0.9091 GB, free: 54.85 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.2487, allocations: 1.112 MB / 0.9102 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005459/0.2492, allocations: 242.9 kB / 0.9104 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00021/0.2494, allocations: 114.1 kB / 0.9105 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.2495, allocations: 7.984 kB / 0.9105 GB, free: 53.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003409/0.2498, allocations: 160.7 kB / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=23): time 1.482e-06/0.2498, allocations: 0 / 0.9107 GB, free: 53.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=23): time 0.0007256/0.2506, allocations: 367.4 kB / 0.911 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2506, allocations: 110.8 kB / 0.9111 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.251, allocations: 465.9 kB / 0.9116 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.2511, allocations: 29.7 kB / 0.9116 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.2512, allocations: 240.3 kB / 0.9118 GB, free: 51.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.2512, allocations: 71.02 kB / 0.9119 GB, free: 51.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.358e-05/0.2513, allocations: 8 kB / 0.9119 GB, free: 51.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.2513, allocations: 358.8 kB / 0.9123 GB, free: 51.46 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.2515, allocations: 83.95 kB / 0.9123 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.2518, allocations: 163.7 kB / 0.9125 GB, free: 51.19 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003801/0.2522, allocations: 228.8 kB / 0.9127 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2522, allocations: 0 / 0.9127 GB, free: 50.95 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005495/0.2527, allocations: 315.9 kB / 0.913 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.2528, allocations: 6.969 kB / 0.913 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.2528, allocations: 0 / 0.913 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2528, allocations: 4 kB / 0.913 GB, free: 50.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.253, allocations: 55.89 kB / 0.9131 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.253, allocations: 4 kB / 0.9131 GB, free: 50.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.2532, allocations: 39.83 kB / 0.9131 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.2533, allocations: 12 kB / 0.9131 GB, free: 50.52 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 ($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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/0.2534, allocations: 173.8 kB / 0.9133 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.2535, allocations: 51.38 kB / 0.9134 GB, free: 50.29 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.268e-05/0.2536, allocations: 43.92 kB / 0.9134 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2536, allocations: 4 kB / 0.9134 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2536, allocations: 0 / 0.9134 GB, free: 50.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2536, allocations: 11.92 kB / 0.9134 GB, free: 50.23 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003303/0.2539, allocations: 421.1 kB / 0.9138 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2539, allocations: 4 kB / 0.9138 GB, free: 49.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.2541, allocations: 35.97 kB / 0.9139 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2542, allocations: 48 / 0.9139 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.2542, allocations: 11.98 kB / 0.9139 GB, free: 49.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.2542, allocations: 3.984 kB / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2542, allocations: 0 / 0.9139 GB, free: 49.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.2549, allocations: 442.6 kB / 0.9143 GB, free: 49.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.255, allocations: 140.6 kB / 0.9144 GB, free: 49.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.2551, allocations: 16 kB / 0.9144 GB, free: 49.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.2553, allocations: 11.98 kB / 0.9144 GB, free: 49.08 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/0.2553, allocations: 19.97 kB / 0.9145 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.2554, allocations: 12 kB / 0.9145 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000376/0.2558, allocations: 323.1 kB / 0.9148 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2558, allocations: 0 / 0.9148 GB, free: 48.73 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004387/0.2562, allocations: 83.69 kB / 0.9149 GB, free: 48.65 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.00204/0.2583, allocations: 1.285 MB / 0.9161 GB, free: 47.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004814/0.2588, allocations: 234.1 kB / 0.9163 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2588, allocations: 4.312 kB / 0.9164 GB, free: 47.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.259, allocations: 111.9 kB / 0.9165 GB, free: 47.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.2596, allocations: 107.5 kB / 0.9166 GB, free: 47.05 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.2638, allocations: 3.696 MB / 0.9202 GB, free: 43.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.264, allocations: 0.8107 MB / 0.921 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002387/0.2643, allocations: 55.25 kB / 0.921 GB, free: 42.36 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000184/0.2645, allocations: 147.4 kB / 0.9212 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2645, allocations: 4 kB / 0.9212 GB, free: 42.21 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.284, allocations: 8.601 MB / 0.9296 GB, free: 33.82 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002227/0.2843, allocations: 296.3 kB / 0.9298 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/2.711, allocations: 0 / 0.9298 GB, free: 33.45 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)