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.454/1.454, allocations: 249.5 MB / 257 MB, free: 6.969 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.001095/0.001095, allocations: 180.9 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.3 MB / 0.5671 GB, free: 15.77 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.0008462/0.0008462, allocations: 84.75 kB / 0.6714 GB, free: 4.891 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.806e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6831/0.8854, allocations: 136.1 MB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.8856, allocations: 101.5 kB / 1.018 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.9039, allocations: 7.242 MB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9039, allocations: 0 / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.354e-05/0.9039, allocations: 12 kB / 1.025 GB, free: 11.26 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.0009063/0.9048, allocations: 0.6556 MB / 1.026 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.9049, allocations: 12.02 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.115e-05/0.905, allocations: 51.44 kB / 1.026 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.9054, allocations: 326.5 kB / 1.026 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.9054, allocations: 22.25 kB / 1.026 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.653e-05/0.9055, allocations: 28 kB / 1.026 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005833/0.9061, allocations: 377.9 kB / 1.027 GB, free: 9.941 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.9067, allocations: 457.6 kB / 1.027 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.9068, allocations: 0 / 1.027 GB, free: 9.613 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.9068, allocations: 3.938 kB / 1.027 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.9068, allocations: 21.3 kB / 1.027 GB, free: 9.586 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001817/0.9087, allocations: 1.304 MB / 1.029 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.9091, allocations: 353.2 kB / 1.029 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.9094, allocations: 166.5 kB / 1.029 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.9094, allocations: 8.438 kB / 1.029 GB, free: 8.242 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.9098, allocations: 237.6 kB / 1.029 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 1.944e-06/0.9098, allocations: 4 kB / 1.029 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.0005505/0.9104, allocations: 336.3 kB / 1.03 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.9104, allocations: 63.34 kB / 1.03 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.9106, allocations: 218.9 kB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/0.9107, allocations: 40.52 kB / 1.03 GB, free: 7.496 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001405/0.9108, allocations: 207.2 kB / 1.03 GB, free: 7.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.85e-05/0.9109, allocations: 116.6 kB / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.9109, allocations: 0 / 1.03 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.9111, allocations: 343.6 kB / 1.031 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002406/0.9113, allocations: 152.3 kB / 1.031 GB, free: 6.809 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.9116, allocations: 230.4 kB / 1.031 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.9119, allocations: 151.3 kB / 1.031 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.9119, allocations: 0 / 1.031 GB, free: 6.531 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006553/0.9126, allocations: 465.6 kB / 1.031 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.9126, allocations: 35.58 kB / 1.032 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.9126, allocations: 3.953 kB / 1.032 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.9126, allocations: 4 kB / 1.032 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002912/0.9129, allocations: 71.77 kB / 1.032 GB, free: 6.066 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.913, allocations: 8 kB / 1.032 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000342/0.9133, allocations: 67.91 kB / 1.032 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.084e-05/0.9134, allocations: 31.05 kB / 1.032 GB, free: 5.969 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.0001651/0.9135, allocations: 156 kB / 1.032 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004753/0.914, allocations: 340.7 kB / 1.032 GB, free: 5.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.9141, allocations: 27.67 kB / 1.032 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000684/0.9148, allocations: 408.6 kB / 1.033 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.9148, allocations: 4 kB / 1.033 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9148, allocations: 0 / 1.033 GB, free: 5.219 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.9148, allocations: 4 kB / 1.033 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.9161, allocations: 0.9819 MB / 1.034 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9162, allocations: 0 / 1.034 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.9164, allocations: 51.47 kB / 1.034 GB, free: 4.367 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.9164, allocations: 8 kB / 1.034 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.9164, allocations: 3.984 kB / 1.034 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.9164, allocations: 4 kB / 1.034 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.9164, allocations: 0 / 1.034 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.917, allocations: 479 kB / 1.034 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.077e-05/0.9171, allocations: 104.1 kB / 1.034 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.9172, allocations: 4 kB / 1.034 GB, free: 3.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.9175, allocations: 43.95 kB / 1.034 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.9176, allocations: 72.89 kB / 1.034 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.9177, allocations: 23.3 kB / 1.034 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001069/0.9178, allocations: 132.1 kB / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9178, allocations: 4 kB / 1.034 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003604/0.9181, allocations: 86.89 kB / 1.035 GB, free: 3.52 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.0009425/0.9191, allocations: 1.052 MB / 1.036 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000604/0.9197, allocations: 467.5 kB / 1.036 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.9197, allocations: 0 / 1.036 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.92, allocations: 208.2 kB / 1.036 GB, free: 2.043 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.9203, allocations: 34.95 kB / 1.036 GB, free: 2.016 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.9214, allocations: 0.5572 MB / 1.037 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.9218, allocations: 0.828 MB / 1.038 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001932/0.922, allocations: 59.27 kB / 1.038 GB, free: 0.5977 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.9222, allocations: 134.6 kB / 1.038 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of SimCode: time 2.81e-07/0.9222, allocations: 0 / 1.038 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/0.9501, allocations: 7.249 MB / 1.045 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.9503, allocations: 189.9 kB / 1.045 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/3.026, allocations: 0 / 1.045 GB, free: 9.172 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)