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 1.667/1.667, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001105/0.001105, allocations: 189 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008105/0.0008105, allocations: 98.86 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000568/0.0005681, allocations: 11.81 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2432, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7672/1.01, allocations: 142.1 MB / 1.118 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/1.011, allocations: 94.25 kB / 1.118 GB, free: 16.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01686/1.028, allocations: 7.378 MB / 1.126 GB, free: 31.72 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/1.028, allocations: 0 / 1.126 GB, free: 31.72 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.118e-05/1.028, allocations: 15.53 kB / 1.126 GB, free: 31.72 MB / 0.698 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.001299/1.029, allocations: 0.6763 MB / 1.126 GB, free: 31.22 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/1.029, allocations: 15.31 kB / 1.126 GB, free: 31.21 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001814/1.029, allocations: 85 kB / 1.126 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/1.029, allocations: 50.34 kB / 1.126 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005764/1.03, allocations: 328.4 kB / 1.127 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/1.03, allocations: 47.25 kB / 1.127 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.523e-05/1.03, allocations: 51.2 kB / 1.127 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001078/1.031, allocations: 0.525 MB / 1.127 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/1.031, allocations: 0 / 1.127 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/1.031, allocations: 19.64 kB / 1.127 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/1.031, allocations: 19.75 kB / 1.127 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/1.032, allocations: 451 kB / 1.128 GB, free: 30.76 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/1.034, allocations: 1.397 MB / 1.129 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/1.035, allocations: 419.3 kB / 1.13 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.756e-05/1.035, allocations: 8.281 kB / 1.13 GB, free: 29.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004702/1.036, allocations: 267 kB / 1.13 GB, free: 29.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 1.984e-06/1.036, allocations: 384 / 1.13 GB, free: 29.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.0009992/1.037, allocations: 0.5613 MB / 1.13 GB, free: 29.72 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/1.037, allocations: 71.09 kB / 1.13 GB, free: 29.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/1.037, allocations: 245.9 kB / 1.131 GB, free: 29.52 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/1.037, allocations: 50.56 kB / 1.131 GB, free: 29.48 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.037, allocations: 205.5 kB / 1.131 GB, free: 29.34 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.806e-05/1.037, allocations: 124.6 kB / 1.131 GB, free: 29.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/1.037, allocations: 10.75 kB / 1.131 GB, free: 29.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.037, allocations: 348.5 kB / 1.131 GB, free: 28.94 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/1.038, allocations: 185.3 kB / 1.132 GB, free: 28.91 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/1.038, allocations: 276.8 kB / 1.132 GB, free: 28.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/1.038, allocations: 213.4 kB / 1.132 GB, free: 28.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.038, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008536/1.039, allocations: 0.5739 MB / 1.133 GB, free: 28.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/1.039, allocations: 40.84 kB / 1.133 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/1.039, allocations: 0 / 1.133 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/1.039, allocations: 3.969 kB / 1.133 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/1.04, allocations: 73.33 kB / 1.133 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.04, allocations: 3.844 kB / 1.133 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000357/1.04, allocations: 88.53 kB / 1.133 GB, free: 28.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/1.04, allocations: 26.3 kB / 1.133 GB, free: 28.5 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.0002435/1.04, allocations: 227 kB / 1.133 GB, free: 28.36 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.333e-05/1.04, allocations: 34.09 kB / 1.133 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008085/1.041, allocations: 0.4968 MB / 1.134 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/1.041, allocations: 3.844 kB / 1.134 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/1.041, allocations: 3.812 kB / 1.134 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/1.041, allocations: 0 / 1.134 GB, free: 28.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/1.043, allocations: 1.122 MB / 1.135 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.043, allocations: 0 / 1.135 GB, free: 27.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/1.043, allocations: 49.59 kB / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.043, allocations: 0 / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/1.043, allocations: 14.72 kB / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.043, allocations: 3.75 kB / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.043, allocations: 0 / 1.135 GB, free: 27.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007187/1.044, allocations: 0.5518 MB / 1.135 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/1.044, allocations: 116.2 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/1.044, allocations: 13.91 kB / 1.135 GB, free: 27.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/1.044, allocations: 49.77 kB / 1.135 GB, free: 27.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/1.044, allocations: 72.48 kB / 1.135 GB, free: 27.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/1.044, allocations: 23.02 kB / 1.136 GB, free: 27.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001261/1.044, allocations: 160.5 kB / 1.136 GB, free: 27.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/1.044, allocations: 0 / 1.136 GB, free: 27.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003719/1.045, allocations: 105.7 kB / 1.136 GB, free: 27.18 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.001104/1.046, allocations: 1.137 MB / 1.137 GB, free: 26.42 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008008/1.047, allocations: 0.5296 MB / 1.137 GB, free: 26.28 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.047, allocations: 0 / 1.137 GB, free: 26.28 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003726/1.047, allocations: 241.3 kB / 1.138 GB, free: 26.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/1.047, allocations: 47.53 kB / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003509/1.051, allocations: 3.233 MB / 1.141 GB, free: 24.19 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/1.051, allocations: 0.8237 MB / 1.142 GB, free: 23.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001954/1.052, allocations: 66.03 kB / 1.142 GB, free: 23.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/1.052, allocations: 146.3 kB / 1.142 GB, free: 23.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.103e-06/1.052, allocations: 0 / 1.142 GB, free: 23.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02069/1.073, allocations: 7.863 MB / 1.15 GB, free: 19.74 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001529/1.073, allocations: 228.4 kB / 1.15 GB, free: 19.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/3.25, allocations: 0 / 1.15 GB, free: 19.5 MB / 0.698 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)