Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.447/2.447, allocations: 284.9 MB / 292.4 MB, free: 10.47 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.001492/0.001491, allocations: 180.8 kB / 360.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.3 MB / 0.6191 GB, free: 12.17 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.001083/0.001082, allocations: 92.48 kB / 0.7321 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.376e-05, allocations: 0 / 0.8509 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7858/0.7859, allocations: 115.3 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.067/6.853, allocations: 2.074 GB / 3.037 GB, free: 45.22 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/6.853, allocations: 99.5 kB / 3.037 GB, free: 45.17 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8647/7.718, allocations: 63.21 MB / 3.099 GB, free: 316 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.545e-06/7.718, allocations: 0 / 3.099 GB, free: 316 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001574/7.718, allocations: 31.84 kB / 3.099 GB, free: 316 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.004111/7.722, allocations: 1.323 MB / 3.1 GB, free: 315.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/7.722, allocations: 9.406 kB / 3.1 GB, free: 315.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/7.724, allocations: 221.2 kB / 3.1 GB, free: 315.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/7.727, allocations: 0.7485 MB / 3.101 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/7.727, allocations: 51.77 kB / 3.101 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/7.727, allocations: 71.94 kB / 3.101 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003733/7.731, allocations: 1.298 MB / 3.103 GB, free: 314.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002995/7.734, allocations: 1.058 MB / 3.104 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.271e-05/7.734, allocations: 0.6562 kB / 3.104 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001873/7.734, allocations: 4.25 kB / 3.104 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.344e-05/7.734, allocations: 40.89 kB / 3.104 GB, free: 314.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009576/7.744, allocations: 3.278 MB / 3.107 GB, free: 313.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/7.746, allocations: 0.9334 MB / 3.108 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009809/7.747, allocations: 385.6 kB / 3.108 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/7.747, allocations: 40.23 kB / 3.108 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001424/7.749, allocations: 0.5518 MB / 3.109 GB, free: 313.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.589e-06/7.749, allocations: 4 kB / 3.109 GB, free: 313.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.003563/7.752, allocations: 0.8988 MB / 3.11 GB, free: 313.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/7.753, allocations: 255.9 kB / 3.11 GB, free: 313.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/7.754, allocations: 0.5881 MB / 3.11 GB, free: 313.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003563/7.754, allocations: 38.89 kB / 3.11 GB, free: 313.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004991/7.755, allocations: 473.7 kB / 3.111 GB, free: 313 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004107/7.755, allocations: 329.1 kB / 3.111 GB, free: 312.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/7.755, allocations: 1.219 kB / 3.111 GB, free: 312.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001831/7.755, allocations: 395.6 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008856/7.756, allocations: 316.2 kB / 3.112 GB, free: 312.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/7.757, allocations: 491.1 kB / 3.112 GB, free: 312.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/7.758, allocations: 367.1 kB / 3.113 GB, free: 312.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.704e-06/7.759, allocations: 1.406 kB / 3.113 GB, free: 312.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003589/7.762, allocations: 0.9913 MB / 3.114 GB, free: 312.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.979e-05/7.762, allocations: 5.812 kB / 3.114 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/7.762, allocations: 4.062 kB / 3.114 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009971/7.763, allocations: 91.52 kB / 3.114 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/7.765, allocations: 189 kB / 3.114 GB, free: 312.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/7.767, allocations: 1.457 MB / 3.115 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/7.769, allocations: 102.4 kB / 3.115 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002928/7.77, allocations: 52.94 kB / 3.116 GB, free: 310.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005788/7.77, allocations: 174.8 kB / 3.116 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00375/7.774, allocations: 0.9002 MB / 3.117 GB, free: 310.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/7.775, allocations: 92.11 kB / 3.117 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00474/7.779, allocations: 1.207 MB / 3.118 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/7.779, allocations: 13.84 kB / 3.118 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/7.779, allocations: 1.438 kB / 3.118 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.654e-05/7.779, allocations: 6.422 kB / 3.118 GB, free: 310.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00856/7.788, allocations: 2.342 MB / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/7.788, allocations: 0 / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/7.79, allocations: 174.5 kB / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009466/7.791, allocations: 82.23 kB / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002787/7.791, allocations: 26.62 kB / 3.12 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00247/7.793, allocations: 1.477 MB / 3.122 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/7.793, allocations: 6.375 kB / 3.122 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004074/7.798, allocations: 1.112 MB / 3.123 GB, free: 308.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/7.799, allocations: 327.5 kB / 3.123 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003744/7.799, allocations: 15 kB / 3.123 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/7.801, allocations: 84.36 kB / 3.123 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004871/7.801, allocations: 120.7 kB / 3.123 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/7.802, allocations: 44.95 kB / 3.124 GB, free: 308.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009936/7.803, allocations: 443.3 kB / 3.124 GB, free: 308.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.11e-07/7.803, allocations: 0 / 3.124 GB, free: 308.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002332/7.805, allocations: 360.1 kB / 3.124 GB, free: 308.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006969/7.812, allocations: 2.638 MB / 3.127 GB, free: 307 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003359/7.815, allocations: 0.985 MB / 3.128 GB, free: 306.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/7.815, allocations: 4.25 kB / 3.128 GB, free: 306.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001934/7.817, allocations: 0.6129 MB / 3.128 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/7.82, allocations: 243.8 kB / 3.129 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009103/7.829, allocations: 1.879 MB / 3.13 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/7.83, allocations: 1.142 MB / 3.132 GB, free: 304.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002026/7.832, allocations: 304.8 kB / 3.132 GB, free: 304.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/7.834, allocations: 471 kB / 3.132 GB, free: 304.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.473e-06/7.834, allocations: 4.906 kB / 3.132 GB, free: 304.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/7.953, allocations: 28.25 MB / 3.16 GB, free: 302.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002563/7.954, allocations: 198 kB / 3.16 GB, free: 302 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.23/12.18, allocations: 0 / 3.16 GB, free: 302 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)