Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.898/2.898, allocations: 284.9 MB / 292.4 MB, free: 10.57 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.001452/0.001452, allocations: 188.9 kB / 360.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.2 MB / 0.6191 GB, free: 12.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001446/0.001445, allocations: 87.89 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.243e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8192/0.8193, allocations: 115.3 MB / 0.9634 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2406/1.06, allocations: 141.2 MB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/1.06, allocations: 95.94 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0328/1.093, allocations: 7.255 MB / 1.109 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.031e-06/1.093, allocations: 0 / 1.109 GB, free: 7.949 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.785e-05/1.093, allocations: 19.94 kB / 1.109 GB, free: 7.93 MB / 0.7136 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.00166/1.095, allocations: 0.6454 MB / 1.109 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/1.095, allocations: 8.031 kB / 1.109 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/1.095, allocations: 51.44 kB / 1.109 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007032/1.096, allocations: 334.4 kB / 1.11 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.423e-05/1.096, allocations: 19.98 kB / 1.11 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/1.096, allocations: 32 kB / 1.11 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001149/1.097, allocations: 374.9 kB / 1.11 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/1.099, allocations: 456.1 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/1.099, allocations: 0 / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.845e-05/1.099, allocations: 0 / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/1.099, allocations: 17.31 kB / 1.11 GB, free: 5.906 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003614/1.102, allocations: 1.304 MB / 1.112 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008836/1.103, allocations: 345 kB / 1.112 GB, free: 4.211 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/1.104, allocations: 167.2 kB / 1.112 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/1.104, allocations: 16.42 kB / 1.112 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006002/1.105, allocations: 232.5 kB / 1.112 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 4.038e-06/1.105, allocations: 2.906 kB / 1.112 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.001019/1.106, allocations: 339.9 kB / 1.113 GB, free: 3.453 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/1.106, allocations: 59.84 kB / 1.113 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/1.106, allocations: 214.8 kB / 1.113 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/1.106, allocations: 41.69 kB / 1.113 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/1.106, allocations: 205 kB / 1.113 GB, free: 2.906 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/1.107, allocations: 114.5 kB / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/1.107, allocations: 0 / 1.113 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.107, allocations: 342.8 kB / 1.114 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004435/1.107, allocations: 153.5 kB / 1.114 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/1.108, allocations: 229.9 kB / 1.114 GB, free: 2.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/1.108, allocations: 152.5 kB / 1.114 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.108, allocations: 0 / 1.114 GB, free: 1.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001234/1.109, allocations: 459.9 kB / 1.115 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.248e-05/1.11, allocations: 37.69 kB / 1.115 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.11, allocations: 3.953 kB / 1.115 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/1.11, allocations: 8 kB / 1.115 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/1.11, allocations: 71.83 kB / 1.115 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/1.11, allocations: 8 kB / 1.115 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006753/1.111, allocations: 75.8 kB / 1.115 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/1.111, allocations: 24 kB / 1.115 GB, free: 1.219 MB / 0.7136 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.0002609/1.111, allocations: 163.2 kB / 1.115 GB, free: 1.055 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009423/1.112, allocations: 335.7 kB / 1.115 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/1.112, allocations: 35.58 kB / 1.115 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/1.114, allocations: 401.8 kB / 1.116 GB, free: 300 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/1.114, allocations: 8 kB / 1.116 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/1.114, allocations: 0 / 1.116 GB, free: 292 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.114, allocations: 3.984 kB / 1.116 GB, free: 288 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002457/1.116, allocations: 0.9772 MB / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.116, allocations: 0 / 1.117 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/1.116, allocations: 51.84 kB / 1.117 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/1.117, allocations: 9.312 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/1.117, allocations: 5.922 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.645e-06/1.117, allocations: 4 kB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.117, allocations: 0 / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/1.118, allocations: 471.4 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/1.118, allocations: 104.7 kB / 1.117 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.588e-05/1.118, allocations: 8 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.118, allocations: 43.95 kB / 1.117 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002449/1.119, allocations: 76.45 kB / 1.117 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/1.119, allocations: 19.98 kB / 1.117 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001755/1.119, allocations: 141.4 kB / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.4e-07/1.119, allocations: 0 / 1.118 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006496/1.12, allocations: 91.83 kB / 1.118 GB, free: 14.23 MB / 0.7292 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.001591/1.121, allocations: 1.045 MB / 1.119 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001153/1.122, allocations: 471.6 kB / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.122, allocations: 0 / 1.119 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005089/1.123, allocations: 210 kB / 1.119 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/1.123, allocations: 35.25 kB / 1.119 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001926/1.125, allocations: 0.5636 MB / 1.12 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/1.126, allocations: 0.8283 MB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000416/1.126, allocations: 54.53 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003809/1.127, allocations: 140.6 kB / 1.121 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/1.127, allocations: 4 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05443/1.181, allocations: 7.245 MB / 1.128 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003518/1.182, allocations: 183.1 kB / 1.128 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/3.914, allocations: 5.656 kB / 1.128 GB, free: 3.555 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)