Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.6 MB / 307.5 MB, free: 5.164 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.002055/0.002055, allocations: 192.5 kB / 377.1 MB, free: 1.496 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.874/1.874, allocations: 205.4 MB / 0.6366 GB, free: 8.586 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.0009568/0.0009567, allocations: 95.94 kB / 0.7509 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.000353, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2572, allocations: 116.3 MB / 0.9884 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6228/0.8801, allocations: 143.1 MB / 1.128 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.8804, allocations: 94.42 kB / 1.128 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01839/0.8988, allocations: 7.386 MB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8988, allocations: 1.219 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.8989, allocations: 16 kB / 1.136 GB, free: 27.24 MB / 0.7292 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.001048/0.8999, allocations: 0.6752 MB / 1.136 GB, free: 26.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.9, allocations: 16.03 kB / 1.136 GB, free: 26.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001061/0.9001, allocations: 82.75 kB / 1.136 GB, free: 26.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.9002, allocations: 55.53 kB / 1.136 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.9007, allocations: 327.8 kB / 1.137 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.114e-05/0.9007, allocations: 42.08 kB / 1.137 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.9008, allocations: 53.03 kB / 1.137 GB, free: 26 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.9018, allocations: 0.5235 MB / 1.137 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.9018, allocations: 0 / 1.137 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.9019, allocations: 18.25 kB / 1.137 GB, free: 25.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.9019, allocations: 17.61 kB / 1.137 GB, free: 25.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.9027, allocations: 451.5 kB / 1.138 GB, free: 25.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.9049, allocations: 1.402 MB / 1.139 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000719/0.9056, allocations: 431 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.335e-05/0.9056, allocations: 5.188 kB / 1.139 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004894/0.9061, allocations: 275.1 kB / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.9062, allocations: 0 / 1.14 GB, free: 23.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.001069/0.9072, allocations: 0.5534 MB / 1.14 GB, free: 22.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.9073, allocations: 69.17 kB / 1.14 GB, free: 22.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.9075, allocations: 250.1 kB / 1.141 GB, free: 22.55 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.247e-05/0.9076, allocations: 51.62 kB / 1.141 GB, free: 22.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.9077, allocations: 200.7 kB / 1.141 GB, free: 22.31 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.876e-05/0.9078, allocations: 125.9 kB / 1.141 GB, free: 22.2 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.9078, allocations: 20 kB / 1.141 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.9079, allocations: 346 kB / 1.141 GB, free: 21.84 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003525/0.9083, allocations: 186.6 kB / 1.141 GB, free: 21.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003914/0.9087, allocations: 274.5 kB / 1.142 GB, free: 21.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.909, allocations: 206.5 kB / 1.142 GB, free: 21.23 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.909, allocations: 3.938 kB / 1.142 GB, free: 21.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008932/0.9099, allocations: 0.5721 MB / 1.142 GB, free: 20.68 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.467e-05/0.91, allocations: 37.05 kB / 1.143 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.91, allocations: 4.938 kB / 1.143 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.91, allocations: 4 kB / 1.143 GB, free: 20.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.9103, allocations: 75.41 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.9103, allocations: 11.31 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.9107, allocations: 83.86 kB / 1.143 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.9107, allocations: 25.3 kB / 1.143 GB, free: 20.48 MB / 0.7292 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.0002213/0.9109, allocations: 234.5 kB / 1.143 GB, free: 20.25 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.911, allocations: 28.75 kB / 1.143 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000842/0.9118, allocations: 498.4 kB / 1.143 GB, free: 19.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.9119, allocations: 4 kB / 1.143 GB, free: 19.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.9119, allocations: 4.938 kB / 1.143 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.9119, allocations: 3.141 kB / 1.143 GB, free: 19.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001582/0.9135, allocations: 1.125 MB / 1.145 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.9135, allocations: 1.812 kB / 1.145 GB, free: 18.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.9137, allocations: 48.14 kB / 1.145 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.9137, allocations: 4 kB / 1.145 GB, free: 18.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.218e-05/0.9138, allocations: 18.16 kB / 1.145 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.9138, allocations: 0 / 1.145 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.9138, allocations: 0.7969 kB / 1.145 GB, free: 18.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007257/0.9145, allocations: 0.5415 MB / 1.145 GB, free: 18.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.938e-05/0.9146, allocations: 118.8 kB / 1.145 GB, free: 18.08 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.9146, allocations: 14.11 kB / 1.145 GB, free: 18.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002849/0.9149, allocations: 48.88 kB / 1.145 GB, free: 18.04 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001776/0.9151, allocations: 80.31 kB / 1.145 GB, free: 17.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.9151, allocations: 17.83 kB / 1.145 GB, free: 17.97 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001368/0.9153, allocations: 167.4 kB / 1.146 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9153, allocations: 0 / 1.146 GB, free: 17.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003809/0.9157, allocations: 93.78 kB / 1.146 GB, free: 17.73 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) * 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.001018/0.9167, allocations: 1.135 MB / 1.147 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008658/0.9176, allocations: 0.5304 MB / 1.147 GB, free: 16.13 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9176, allocations: 0 / 1.147 GB, free: 16.13 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.00039/0.918, allocations: 243.5 kB / 1.148 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.9183, allocations: 39.86 kB / 1.148 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.9216, allocations: 3.234 MB / 1.151 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.9219, allocations: 0.8252 MB / 1.152 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002274/0.9222, allocations: 64.62 kB / 1.152 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.9224, allocations: 142.5 kB / 1.152 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of SimCode: time 5.701e-06/0.9224, allocations: 0 / 1.152 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.9439, allocations: 7.862 MB / 1.159 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/0.9441, allocations: 212.3 kB / 1.16 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.165/3.11, allocations: 0 / 1.16 GB, free: 7.004 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)