Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.506/1.506, allocations: 249.3 MB / 261.8 MB, free: 5.801 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.001215/0.001215, allocations: 184.5 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.901/1.901, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.000933/0.0009331, allocations: 84.42 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.566e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2788, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8916/1.171, allocations: 135.8 MB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/1.171, allocations: 93.31 kB / 1.025 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.01867/1.189, allocations: 7.363 MB / 1.032 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.112e-06/1.19, allocations: 0 / 1.032 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.838e-05/1.19, allocations: 12 kB / 1.032 GB, free: 8.777 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.00103/1.191, allocations: 0.6528 MB / 1.032 GB, free: 8.102 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/1.191, allocations: 8.031 kB / 1.032 GB, free: 8.094 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/1.191, allocations: 90.77 kB / 1.032 GB, free: 8.023 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/1.191, allocations: 47.44 kB / 1.033 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/1.191, allocations: 326.5 kB / 1.033 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.156e-05/1.191, allocations: 50.11 kB / 1.033 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.922e-05/1.192, allocations: 53.56 kB / 1.033 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008905/1.192, allocations: 0.5016 MB / 1.033 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/1.192, allocations: 3.984 kB / 1.033 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.375e-05/1.192, allocations: 17 kB / 1.033 GB, free: 7.246 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-05/1.193, allocations: 20.98 kB / 1.033 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006697/1.193, allocations: 407.7 kB / 1.034 GB, free: 6.973 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002131/1.195, allocations: 1.398 MB / 1.035 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005965/1.196, allocations: 371.9 kB / 1.036 GB, free: 5.645 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/1.196, allocations: 188.2 kB / 1.036 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.424e-05/1.196, allocations: 11.81 kB / 1.036 GB, free: 5.52 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004344/1.197, allocations: 240.9 kB / 1.036 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 2.344e-06/1.197, allocations: 0 / 1.036 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0006352/1.197, allocations: 368.8 kB / 1.036 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/1.198, allocations: 71.75 kB / 1.036 GB, free: 4.973 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/1.198, allocations: 239 kB / 1.037 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.878e-05/1.198, allocations: 62.75 kB / 1.037 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/1.198, allocations: 201.4 kB / 1.037 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/1.198, allocations: 123 kB / 1.037 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/1.198, allocations: 10.5 kB / 1.037 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.198, allocations: 344.2 kB / 1.037 GB, free: 4.125 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/1.199, allocations: 168.9 kB / 1.038 GB, free: 4.023 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/1.199, allocations: 249.9 kB / 1.038 GB, free: 3.828 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002823/1.199, allocations: 191.5 kB / 1.038 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.199, allocations: 0 / 1.038 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007938/1.2, allocations: 0.5304 MB / 1.038 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/1.2, allocations: 33.7 kB / 1.038 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/1.2, allocations: 4 kB / 1.038 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.2, allocations: 7.938 kB / 1.039 GB, free: 3.215 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003077/1.2, allocations: 71.33 kB / 1.039 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/1.2, allocations: 4 kB / 1.039 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/1.201, allocations: 92.84 kB / 1.039 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/1.201, allocations: 27.73 kB / 1.039 GB, free: 3.043 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.0001691/1.201, allocations: 174.7 kB / 1.039 GB, free: 2.887 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.096e-05/1.201, allocations: 35.58 kB / 1.039 GB, free: 2.852 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/1.202, allocations: 440.7 kB / 1.039 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/1.202, allocations: 11.98 kB / 1.039 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/1.202, allocations: 3.938 kB / 1.039 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/1.202, allocations: 11.92 kB / 1.039 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/1.203, allocations: 1.082 MB / 1.04 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.203, allocations: 0 / 1.04 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/1.204, allocations: 51.53 kB / 1.04 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/1.204, allocations: 4 kB / 1.04 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/1.204, allocations: 11.67 kB / 1.04 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.204, allocations: 0 / 1.04 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.204, allocations: 0 / 1.04 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006316/1.204, allocations: 0.5017 MB / 1.041 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.47e-05/1.205, allocations: 104.7 kB / 1.041 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.792e-05/1.205, allocations: 11.44 kB / 1.041 GB, free: 1.035 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/1.205, allocations: 54.7 kB / 1.041 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.205, allocations: 74.2 kB / 1.041 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.763e-05/1.205, allocations: 22.92 kB / 1.041 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001465/1.205, allocations: 165.4 kB / 1.041 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/1.205, allocations: 0 / 1.041 GB, free: 0.7734 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004218/1.206, allocations: 96.31 kB / 1.041 GB, free: 0.6953 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.001055/1.207, allocations: 1.093 MB / 1.043 GB, free: 15.69 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007291/1.207, allocations: 495 kB / 1.043 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.208, allocations: 0 / 1.043 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/1.208, allocations: 226.3 kB / 1.043 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/1.208, allocations: 33.86 kB / 1.043 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/1.209, allocations: 0.6134 MB / 1.044 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/1.21, allocations: 0.8314 MB / 1.045 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002118/1.21, allocations: 59.38 kB / 1.045 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/1.21, allocations: 144 kB / 1.045 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of SimCode: time 4.71e-07/1.21, allocations: 0 / 1.045 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/1.231, allocations: 7.95 MB / 1.053 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001873/1.231, allocations: 197 kB / 1.053 GB, free: 5.652 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.357, allocations: 0 / 1.053 GB, free: 5.652 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)