Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.307/2.307, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00202/0.00202, allocations: 177.2 kB / 326.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.38/2.38, allocations: 205.4 MB / 0.5772 GB, free: 20.8 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.001031/0.001031, allocations: 85.98 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004769/0.000477, allocations: 16.12 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2066, allocations: 106.3 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2299/0.4365, allocations: 135.7 MB / 1.032 GB, free: 9.73 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003714/0.4369, allocations: 95.94 kB / 1.032 GB, free: 9.637 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.03208/0.4691, allocations: 7.405 MB / 1.039 GB, free: 2.172 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.905e-06/0.4691, allocations: 3.938 kB / 1.039 GB, free: 2.168 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.81e-05/0.4692, allocations: 16 kB / 1.039 GB, free: 2.152 MB / 0.6824 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.001668/0.4709, allocations: 0.665 MB / 1.04 GB, free: 1.426 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.4709, allocations: 8.031 kB / 1.04 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002097/0.4712, allocations: 64.3 kB / 1.04 GB, free: 1.355 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007383/0.4719, allocations: 331.7 kB / 1.04 GB, free: 0.9922 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.363e-05/0.472, allocations: 41.38 kB / 1.04 GB, free: 0.9531 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.4722, allocations: 52.38 kB / 1.04 GB, free: 0.9023 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.4738, allocations: 0.5299 MB / 1.041 GB, free: 364 kB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.4739, allocations: 192 / 1.041 GB, free: 364 kB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/0.474, allocations: 19.94 kB / 1.041 GB, free: 344 kB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.587e-05/0.474, allocations: 17 kB / 1.041 GB, free: 328 kB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.4757, allocations: 451.7 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003657/0.4793, allocations: 1.399 MB / 1.043 GB, free: 14.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.4808, allocations: 429 kB / 1.043 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007134/0.4815, allocations: 211.5 kB / 1.043 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.434e-05/0.4816, allocations: 8.438 kB / 1.043 GB, free: 13.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008511/0.4825, allocations: 273.7 kB / 1.044 GB, free: 13.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 1.066e-05/0.4825, allocations: 3.984 kB / 1.044 GB, free: 13.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.002048/0.4846, allocations: 0.5495 MB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.4847, allocations: 75.81 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005146/0.4852, allocations: 280.5 kB / 1.045 GB, free: 12.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001145/0.4854, allocations: 45.7 kB / 1.045 GB, free: 12.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4856, allocations: 193.2 kB / 1.045 GB, free: 12.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.4858, allocations: 126.4 kB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.4858, allocations: 12 kB / 1.045 GB, free: 12.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.486, allocations: 346.8 kB / 1.045 GB, free: 11.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007163/0.4868, allocations: 197.1 kB / 1.045 GB, free: 11.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/0.4876, allocations: 277.9 kB / 1.046 GB, free: 11.36 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006934/0.4883, allocations: 208.9 kB / 1.046 GB, free: 11.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.4883, allocations: 0 / 1.046 GB, free: 11.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001841/0.4901, allocations: 0.5726 MB / 1.046 GB, free: 10.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.185e-05/0.4902, allocations: 33.7 kB / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.4902, allocations: 0 / 1.046 GB, free: 10.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.877e-05/0.4903, allocations: 11.98 kB / 1.046 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/0.4908, allocations: 72.06 kB / 1.047 GB, free: 10.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-05/0.4908, allocations: 7.984 kB / 1.047 GB, free: 10.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.4916, allocations: 91.62 kB / 1.047 GB, free: 10.35 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/0.4917, allocations: 24 kB / 1.047 GB, free: 10.32 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.0004554/0.4921, allocations: 221.6 kB / 1.047 GB, free: 10.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.695e-05/0.4922, allocations: 35.61 kB / 1.047 GB, free: 10.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.4939, allocations: 499 kB / 1.047 GB, free: 9.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.4939, allocations: 8 kB / 1.047 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4939, allocations: 0 / 1.047 GB, free: 9.562 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/0.494, allocations: 7.922 kB / 1.047 GB, free: 9.555 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.4969, allocations: 1.129 MB / 1.049 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/0.497, allocations: 0 / 1.049 GB, free: 8.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.4974, allocations: 51.84 kB / 1.049 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.4974, allocations: 0 / 1.049 GB, free: 8.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.687e-05/0.4975, allocations: 11.98 kB / 1.049 GB, free: 8.309 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.368e-06/0.4975, allocations: 4 kB / 1.049 GB, free: 8.305 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.4975, allocations: 3.938 kB / 1.049 GB, free: 8.301 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00152/0.499, allocations: 0.5461 MB / 1.049 GB, free: 7.738 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.4992, allocations: 104.7 kB / 1.049 GB, free: 7.617 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.4993, allocations: 12 kB / 1.049 GB, free: 7.605 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005268/0.4998, allocations: 59.94 kB / 1.049 GB, free: 7.547 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002598/0.5001, allocations: 68.47 kB / 1.049 GB, free: 7.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/0.5002, allocations: 19.98 kB / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002384/0.5004, allocations: 164.5 kB / 1.05 GB, free: 7.301 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5004, allocations: 0 / 1.05 GB, free: 7.301 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000619/0.5011, allocations: 100 kB / 1.05 GB, free: 7.203 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.00035/0.5014, allocations: 152.3 kB / 1.05 GB, free: 7.039 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001635/0.5031, allocations: 0.5268 MB / 1.05 GB, free: 6.496 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.5031, allocations: 4 kB / 1.05 GB, free: 6.492 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000745/0.5039, allocations: 239.2 kB / 1.051 GB, free: 6.262 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.5045, allocations: 50.23 kB / 1.051 GB, free: 6.215 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00216/0.5067, allocations: 0.824 MB / 1.051 GB, free: 5.359 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000543/0.5073, allocations: 0.8166 MB / 1.052 GB, free: 4.516 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004077/0.5077, allocations: 67.31 kB / 1.052 GB, free: 4.445 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002233/0.5079, allocations: 43.42 kB / 1.052 GB, free: 4.402 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/0.5079, allocations: 0 / 1.052 GB, free: 4.402 MB / 0.698 GB Notification: Performance of Templates: time 0.0153/0.5232, allocations: 4.365 MB / 1.057 GB, free: 100 kB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)