Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.17/2.17, allocations: 251 MB / 265.9 MB, free: 11.67 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.001678/0.001678, allocations: 179.9 kB / 325.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.313/2.313, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001136/0.001135, allocations: 107.5 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006243/0.0006243, allocations: 15.5 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.2002, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.24/0.4402, allocations: 135.7 MB / 1.031 GB, free: 9.617 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.4406, allocations: 91.94 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03014/0.4708, allocations: 7.393 MB / 1.039 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4708, allocations: 0 / 1.039 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.917e-05/0.4708, allocations: 12 kB / 1.039 GB, free: 2.066 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001552/0.4724, allocations: 0.6726 MB / 1.039 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4725, allocations: 15.97 kB / 1.039 GB, free: 1.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001483/0.4726, allocations: 82.52 kB / 1.039 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.4728, allocations: 55.42 kB / 1.039 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005804/0.4734, allocations: 330.4 kB / 1.04 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.548e-05/0.4735, allocations: 41 kB / 1.04 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.4736, allocations: 56.33 kB / 1.04 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.4751, allocations: 0.5254 MB / 1.04 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.4752, allocations: 0 / 1.04 GB, free: 180 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.877e-05/0.4752, allocations: 16 kB / 1.04 GB, free: 164 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.4753, allocations: 24.92 kB / 1.04 GB, free: 140 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.4768, allocations: 447.8 kB / 1.041 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/0.4801, allocations: 1.399 MB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.4815, allocations: 425.5 kB / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.115e-05/0.4816, allocations: 5.188 kB / 1.043 GB, free: 13.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007896/0.4824, allocations: 273.2 kB / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 3.627e-06/0.4824, allocations: 0 / 1.043 GB, free: 13.54 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.001914/0.4843, allocations: 0.5534 MB / 1.043 GB, free: 12.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.699e-05/0.4844, allocations: 63.84 kB / 1.043 GB, free: 12.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.4848, allocations: 255.8 kB / 1.044 GB, free: 12.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.417e-05/0.4849, allocations: 49.7 kB / 1.044 GB, free: 12.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001788/0.4851, allocations: 197.2 kB / 1.044 GB, free: 12.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.4853, allocations: 126.4 kB / 1.044 GB, free: 12.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.683e-05/0.4853, allocations: 19.94 kB / 1.044 GB, free: 12.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.4855, allocations: 346.8 kB / 1.044 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006641/0.4862, allocations: 193.2 kB / 1.045 GB, free: 11.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/0.487, allocations: 270 kB / 1.045 GB, free: 11.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.4876, allocations: 208.9 kB / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4877, allocations: 0 / 1.045 GB, free: 11.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001682/0.4894, allocations: 0.5764 MB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.4894, allocations: 33.69 kB / 1.046 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.4895, allocations: 4 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.447e-05/0.4895, allocations: 4 kB / 1.046 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/0.49, allocations: 80.05 kB / 1.046 GB, free: 10.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.49, allocations: 8 kB / 1.046 GB, free: 10.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006867/0.4907, allocations: 83.69 kB / 1.046 GB, free: 10.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.4908, allocations: 27.94 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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.0004088/0.4913, allocations: 231.6 kB / 1.046 GB, free: 10.15 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.202e-05/0.4913, allocations: 31.58 kB / 1.046 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001506/0.4929, allocations: 495 kB / 1.047 GB, free: 9.625 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4929, allocations: 4 kB / 1.047 GB, free: 9.621 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.4929, allocations: 4 kB / 1.047 GB, free: 9.617 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4929, allocations: 3.984 kB / 1.047 GB, free: 9.613 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002747/0.4957, allocations: 1.129 MB / 1.048 GB, free: 8.434 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.4957, allocations: 4 kB / 1.048 GB, free: 8.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.4961, allocations: 51.84 kB / 1.048 GB, free: 8.379 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.179e-05/0.4961, allocations: 8 kB / 1.048 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.4962, allocations: 15.98 kB / 1.048 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.4962, allocations: 0 / 1.048 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4962, allocations: 0 / 1.048 GB, free: 8.355 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.4976, allocations: 0.5423 MB / 1.048 GB, free: 7.797 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.4977, allocations: 112.7 kB / 1.048 GB, free: 7.668 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.448e-05/0.4978, allocations: 15.98 kB / 1.048 GB, free: 7.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005159/0.4983, allocations: 47.95 kB / 1.048 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.4986, allocations: 76.45 kB / 1.049 GB, free: 7.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.4986, allocations: 16 kB / 1.049 GB, free: 7.516 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002206/0.4989, allocations: 168.5 kB / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4989, allocations: 0 / 1.049 GB, free: 7.348 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005958/0.4995, allocations: 96 kB / 1.049 GB, free: 7.254 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001813/0.5013, allocations: 1.14 MB / 1.05 GB, free: 6.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001575/0.5029, allocations: 0.5228 MB / 1.05 GB, free: 5.555 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5029, allocations: 0 / 1.05 GB, free: 5.555 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007083/0.5037, allocations: 247.5 kB / 1.051 GB, free: 5.316 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.5041, allocations: 44.36 kB / 1.051 GB, free: 5.273 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005827/0.51, allocations: 3.232 MB / 1.054 GB, free: 1.957 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004697/0.5105, allocations: 0.8322 MB / 1.055 GB, free: 1.102 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000361/0.5108, allocations: 55.38 kB / 1.055 GB, free: 1.043 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.5112, allocations: 147.4 kB / 1.055 GB, free: 0.8984 MB / 0.698 GB Notification: Performance of SimCode: time 8.52e-07/0.5112, allocations: 4 kB / 1.055 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5915/1.103, allocations: 7.847 MB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/1.103, allocations: 220.8 kB / 1.063 GB, free: 149.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/3.776, allocations: 0 / 1.063 GB, free: 149.6 MB / 0.698 GB