Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 289.9 MB / 297.4 MB, free: 6.391 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.001099/0.001099, allocations: 176.8 kB / 366.7 MB, free: 1.684 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.583/1.583, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008347/0.0008342, allocations: 85.02 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.046e-05/5.05e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7311/0.7312, allocations: 116.3 MB / 0.9733 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.303/6.034, allocations: 2.075 GB / 3.048 GB, free: 54.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/6.034, allocations: 99.94 kB / 3.048 GB, free: 54.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.825/6.859, allocations: 63.21 MB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.673e-06/6.859, allocations: 2.031 kB / 3.11 GB, free: 315 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001144/6.86, allocations: 34.7 kB / 3.11 GB, free: 315 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.002587/6.862, allocations: 1.316 MB / 3.111 GB, free: 314.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/6.862, allocations: 9.359 kB / 3.111 GB, free: 314.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009796/6.863, allocations: 222.4 kB / 3.111 GB, free: 314.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/6.865, allocations: 0.7485 MB / 3.112 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/6.865, allocations: 47.36 kB / 3.112 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/6.865, allocations: 68.92 kB / 3.112 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002544/6.867, allocations: 1.296 MB / 3.114 GB, free: 314 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002094/6.87, allocations: 1.05 MB / 3.115 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/6.87, allocations: 3.844 kB / 3.115 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.938e-05/6.87, allocations: 3.953 kB / 3.115 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.286e-05/6.87, allocations: 44.64 kB / 3.115 GB, free: 313.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006123/6.876, allocations: 3.279 MB / 3.118 GB, free: 313.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001629/6.878, allocations: 0.9386 MB / 3.119 GB, free: 313 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006006/6.878, allocations: 393.5 kB / 3.119 GB, free: 313 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/6.878, allocations: 36.67 kB / 3.119 GB, free: 313 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009367/6.879, allocations: 0.5528 MB / 3.12 GB, free: 312.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 3.216e-06/6.879, allocations: 3.281 kB / 3.12 GB, free: 312.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.002352/6.882, allocations: 0.906 MB / 3.121 GB, free: 312.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.932e-05/6.882, allocations: 256.6 kB / 3.121 GB, free: 312.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009618/6.883, allocations: 0.5877 MB / 3.121 GB, free: 312.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/6.883, allocations: 40.12 kB / 3.121 GB, free: 312.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004234/6.883, allocations: 469.4 kB / 3.122 GB, free: 312.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003018/6.884, allocations: 329.2 kB / 3.122 GB, free: 311.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/6.884, allocations: 2 kB / 3.122 GB, free: 311.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001773/6.884, allocations: 402.7 kB / 3.123 GB, free: 311.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/6.884, allocations: 314.9 kB / 3.123 GB, free: 311.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007208/6.885, allocations: 487.4 kB / 3.123 GB, free: 311.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/6.886, allocations: 359.1 kB / 3.124 GB, free: 311.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/6.886, allocations: 1 kB / 3.124 GB, free: 311.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002316/6.888, allocations: 0.9981 MB / 3.125 GB, free: 311.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/6.888, allocations: 6.188 kB / 3.125 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/6.888, allocations: 2.844 kB / 3.125 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006408/6.889, allocations: 88.39 kB / 3.125 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008445/6.89, allocations: 189 kB / 3.125 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001815/6.892, allocations: 1.456 MB / 3.126 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/6.892, allocations: 105.1 kB / 3.126 GB, free: 310.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/6.893, allocations: 48.33 kB / 3.127 GB, free: 310.1 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.0002857/6.893, allocations: 163.9 kB / 3.127 GB, free: 310 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002088/6.895, allocations: 0.9044 MB / 3.128 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/6.895, allocations: 93.5 kB / 3.128 GB, free: 309.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002938/6.898, allocations: 1.206 MB / 3.129 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/6.898, allocations: 13.69 kB / 3.129 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/6.898, allocations: 0 / 3.129 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.431e-05/6.898, allocations: 10.28 kB / 3.129 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/6.903, allocations: 2.341 MB / 3.131 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/6.903, allocations: 0.5156 kB / 3.131 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007458/6.904, allocations: 176.9 kB / 3.131 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000513/6.905, allocations: 83.41 kB / 3.131 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.803e-05/6.905, allocations: 18.91 kB / 3.131 GB, free: 309.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00164/6.906, allocations: 1.491 MB / 3.133 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/6.906, allocations: 5.422 kB / 3.133 GB, free: 308.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/6.909, allocations: 1.111 MB / 3.134 GB, free: 307.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005651/6.909, allocations: 330.4 kB / 3.134 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/6.91, allocations: 7.328 kB / 3.134 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007307/6.91, allocations: 85.3 kB / 3.134 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003246/6.911, allocations: 117.7 kB / 3.134 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/6.911, allocations: 50.8 kB / 3.135 GB, free: 307.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000684/6.911, allocations: 443.2 kB / 3.135 GB, free: 307.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.6e-07/6.911, allocations: 0 / 3.135 GB, free: 307.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00166/6.913, allocations: 359.4 kB / 3.135 GB, free: 307.5 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.004621/6.918, allocations: 2.636 MB / 3.138 GB, free: 306.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002128/6.92, allocations: 0.9833 MB / 3.139 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/6.92, allocations: 4.922 kB / 3.139 GB, free: 306.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/6.921, allocations: 0.6148 MB / 3.139 GB, free: 306.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/6.923, allocations: 243.9 kB / 3.14 GB, free: 306.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005284/6.928, allocations: 1.883 MB / 3.142 GB, free: 305.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/6.929, allocations: 1.141 MB / 3.143 GB, free: 304.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001094/6.93, allocations: 309.1 kB / 3.143 GB, free: 304.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000673/6.93, allocations: 474.7 kB / 3.143 GB, free: 304.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.182e-06/6.93, allocations: 0 / 3.143 GB, free: 304.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09521/7.026, allocations: 28.24 MB / 3.171 GB, free: 302.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002763/7.026, allocations: 201.7 kB / 3.171 GB, free: 301.9 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.325/10.35, allocations: 0 / 3.171 GB, free: 301.9 MB / 0.948 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_8_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)