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.195/2.195, allocations: 248.7 MB / 256.2 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 180.7 kB / 315.4 MB, free: 3.984 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.08/2.08, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001147, allocations: 86.53 kB / 0.6704 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.19e-05/2.192e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2042, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8723/1.077, allocations: 135.8 MB / 1.017 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004569/1.077, allocations: 92.92 kB / 1.017 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03436/1.111, allocations: 7.264 MB / 1.024 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.234e-06/1.111, allocations: 0 / 1.024 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.977e-05/1.112, allocations: 11.94 kB / 1.024 GB, free: 13.16 MB / 0.6511 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.001587/1.113, allocations: 0.6532 MB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/1.113, allocations: 8.031 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/1.113, allocations: 47.44 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/1.114, allocations: 337.3 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.434e-05/1.114, allocations: 20 kB / 1.025 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/1.114, allocations: 35.2 kB / 1.025 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001045/1.115, allocations: 380.4 kB / 1.025 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/1.116, allocations: 450.5 kB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/1.116, allocations: 3.938 kB / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/1.116, allocations: 0 / 1.026 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.837e-05/1.117, allocations: 21.25 kB / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/1.12, allocations: 1.299 MB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008081/1.121, allocations: 364.6 kB / 1.027 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000381/1.121, allocations: 170.2 kB / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-05/1.121, allocations: 4.438 kB / 1.028 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005716/1.122, allocations: 232.3 kB / 1.028 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.727e-06/1.122, allocations: 0 / 1.028 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0009848/1.123, allocations: 341 kB / 1.028 GB, free: 9.691 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/1.123, allocations: 66.58 kB / 1.028 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/1.123, allocations: 218.1 kB / 1.028 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.129e-05/1.123, allocations: 41.12 kB / 1.028 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001791/1.123, allocations: 202.9 kB / 1.029 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/1.124, allocations: 114.5 kB / 1.029 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/1.124, allocations: 0 / 1.029 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.124, allocations: 347.3 kB / 1.029 GB, free: 8.793 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000413/1.124, allocations: 156.4 kB / 1.029 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000482/1.125, allocations: 227.2 kB / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004333/1.125, allocations: 149.5 kB / 1.03 GB, free: 8.43 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/1.125, allocations: 3.938 kB / 1.03 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001162/1.126, allocations: 454.1 kB / 1.03 GB, free: 8.086 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.665e-05/1.126, allocations: 41.64 kB / 1.03 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/1.126, allocations: 0 / 1.03 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/1.126, allocations: 4 kB / 1.03 GB, free: 8.035 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005406/1.127, allocations: 75.42 kB / 1.03 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.127, allocations: 4 kB / 1.03 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/1.128, allocations: 83 kB / 1.03 GB, free: 7.883 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/1.128, allocations: 19.06 kB / 1.03 GB, free: 7.867 MB / 0.6511 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 () * 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.0002313/1.128, allocations: 163.9 kB / 1.03 GB, free: 7.707 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008342/1.129, allocations: 329.5 kB / 1.031 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.868e-05/1.129, allocations: 31.61 kB / 1.031 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/1.13, allocations: 409.8 kB / 1.031 GB, free: 7.117 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/1.13, allocations: 4 kB / 1.031 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.882e-06/1.13, allocations: 0 / 1.031 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.291e-05/1.13, allocations: 7.984 kB / 1.031 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/1.132, allocations: 0.9787 MB / 1.032 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.132, allocations: 0 / 1.032 GB, free: 6.305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/1.133, allocations: 51.03 kB / 1.032 GB, free: 6.258 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/1.133, allocations: 4 kB / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/1.133, allocations: 0 / 1.032 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/1.133, allocations: 7.984 kB / 1.032 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/1.133, allocations: 0 / 1.032 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/1.134, allocations: 481.8 kB / 1.033 GB, free: 5.848 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/1.134, allocations: 100.7 kB / 1.033 GB, free: 5.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.76e-05/1.134, allocations: 11.92 kB / 1.033 GB, free: 5.719 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/1.135, allocations: 51.58 kB / 1.033 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/1.135, allocations: 70.7 kB / 1.033 GB, free: 5.617 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/1.135, allocations: 15.25 kB / 1.033 GB, free: 5.605 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001735/1.135, allocations: 136 kB / 1.033 GB, free: 5.492 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.135, allocations: 4 kB / 1.033 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006505/1.136, allocations: 87.53 kB / 1.033 GB, free: 5.406 MB / 0.6511 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) * 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.001508/1.137, allocations: 1.044 MB / 1.034 GB, free: 4.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001151/1.139, allocations: 461.7 kB / 1.035 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/1.139, allocations: 0 / 1.035 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004862/1.139, allocations: 209.9 kB / 1.035 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004942/1.14, allocations: 35.28 kB / 1.035 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/1.142, allocations: 0.5648 MB / 1.035 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/1.142, allocations: 0.8239 MB / 1.036 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004081/1.142, allocations: 55.28 kB / 1.036 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/1.143, allocations: 140.4 kB / 1.036 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/1.143, allocations: 0 / 1.036 GB, free: 2.457 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04741/1.19, allocations: 7.251 MB / 1.043 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003482/1.191, allocations: 184.6 kB / 1.044 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.694/3.884, allocations: 0 / 1.044 GB, free: 11.05 MB / 0.6667 GB