Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 2.67/2.67, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001636/0.001636, allocations: 180.9 kB / 361.4 MB, free: 6.805 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.686/2.686, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.001354/0.001354, allocations: 89.78 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.182e-05/3.196e-05, allocations: 4 kB / 0.8518 GB, free: 2.621 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032/1.032, allocations: 115.3 MB / 0.9645 GB, free: 78.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/1.313, allocations: 141.4 MB / 1.103 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.313, allocations: 89.58 kB / 1.103 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02714/1.34, allocations: 7.261 MB / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.675e-06/1.341, allocations: 0 / 1.11 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.535e-05/1.341, allocations: 8 kB / 1.11 GB, free: 7.031 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.001571/1.342, allocations: 0.647 MB / 1.11 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.582e-05/1.342, allocations: 15.12 kB / 1.11 GB, free: 6.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/1.342, allocations: 47.44 kB / 1.11 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007701/1.343, allocations: 342.3 kB / 1.111 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/1.343, allocations: 16 kB / 1.111 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/1.343, allocations: 39.98 kB / 1.111 GB, free: 5.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001182/1.345, allocations: 370.5 kB / 1.111 GB, free: 5.477 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/1.346, allocations: 452.5 kB / 1.112 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/1.346, allocations: 3.953 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/1.346, allocations: 0 / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/1.346, allocations: 21.31 kB / 1.112 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003555/1.35, allocations: 1.296 MB / 1.113 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009304/1.351, allocations: 358.6 kB / 1.113 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004135/1.351, allocations: 162.9 kB / 1.113 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.528e-05/1.351, allocations: 8.438 kB / 1.113 GB, free: 3.125 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006564/1.352, allocations: 228.5 kB / 1.114 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 4.028e-06/1.352, allocations: 0 / 1.114 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.00106/1.353, allocations: 331.9 kB / 1.114 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.312e-05/1.353, allocations: 75.77 kB / 1.114 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/1.353, allocations: 218.7 kB / 1.114 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-05/1.353, allocations: 37.7 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000248/1.354, allocations: 197.1 kB / 1.114 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/1.354, allocations: 118.5 kB / 1.115 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/1.354, allocations: 0 / 1.115 GB, free: 1.891 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002429/1.354, allocations: 346.8 kB / 1.115 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004619/1.355, allocations: 153.5 kB / 1.115 GB, free: 1.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005531/1.355, allocations: 233.9 kB / 1.115 GB, free: 1.145 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000528/1.356, allocations: 146.3 kB / 1.115 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/1.356, allocations: 4 kB / 1.115 GB, free: 1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00127/1.357, allocations: 463.7 kB / 1.116 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.354e-05/1.357, allocations: 29.7 kB / 1.116 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.357, allocations: 7.984 kB / 1.116 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-05/1.357, allocations: 7.953 kB / 1.116 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004721/1.358, allocations: 67.84 kB / 1.116 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/1.358, allocations: 10.31 kB / 1.116 GB, free: 428 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005984/1.358, allocations: 79.72 kB / 1.116 GB, free: 348 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.553e-05/1.359, allocations: 20 kB / 1.116 GB, free: 328 kB / 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.0002485/1.359, allocations: 152.8 kB / 1.116 GB, free: 168 kB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008919/1.36, allocations: 338.3 kB / 1.116 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/1.36, allocations: 39.56 kB / 1.117 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/1.361, allocations: 402.9 kB / 1.117 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/1.361, allocations: 12 kB / 1.117 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.361, allocations: 0 / 1.117 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/1.361, allocations: 3.984 kB / 1.117 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/1.363, allocations: 0.9733 MB / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.363, allocations: 5.438 kB / 1.118 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003601/1.364, allocations: 49.5 kB / 1.118 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.364, allocations: 3.938 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/1.364, allocations: 4 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.364, allocations: 0 / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/1.364, allocations: 3.984 kB / 1.118 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/1.365, allocations: 475.4 kB / 1.118 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/1.365, allocations: 104.7 kB / 1.118 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/1.365, allocations: 7.984 kB / 1.119 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/1.366, allocations: 47.89 kB / 1.119 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/1.366, allocations: 73.08 kB / 1.119 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.77e-05/1.366, allocations: 20 kB / 1.119 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002023/1.366, allocations: 141.5 kB / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.21e-07/1.366, allocations: 0 / 1.119 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008944/1.367, allocations: 87.84 kB / 1.119 GB, free: 13.33 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.001938/1.369, allocations: 1.061 MB / 1.12 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00115/1.37, allocations: 461.6 kB / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.37, allocations: 0 / 1.12 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004321/1.371, allocations: 209 kB / 1.121 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/1.371, allocations: 24.42 kB / 1.121 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/1.373, allocations: 0.5711 MB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/1.374, allocations: 0.8281 MB / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003179/1.374, allocations: 58.78 kB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.375, allocations: 140.1 kB / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/1.375, allocations: 0 / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/1.421, allocations: 7.241 MB / 1.129 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002693/1.422, allocations: 193.1 kB / 1.129 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.856/4.277, allocations: 5.344 kB / 1.129 GB, free: 2.637 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)