Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.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.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.507/1.507, allocations: 249.3 MB / 261.8 MB, free: 5.805 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.001221/0.001221, allocations: 173 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.763/1.763, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.00086/0.00086, allocations: 84.31 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.633e-05/3.635e-05, allocations: 0 / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2723, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.726/6.998, allocations: 2.193 GB / 3.084 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/6.999, allocations: 103.5 kB / 3.085 GB, free: 136.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1331/7.132, allocations: 63.77 MB / 3.147 GB, free: 76.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.973e-06/7.132, allocations: 0 / 3.147 GB, free: 76.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.729e-05/7.132, allocations: 35.94 kB / 3.147 GB, free: 76.21 MB / 0.8698 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.002058/7.134, allocations: 1.321 MB / 3.148 GB, free: 74.82 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/7.134, allocations: 8.031 kB / 3.148 GB, free: 74.81 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/7.134, allocations: 181.4 kB / 3.148 GB, free: 74.62 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008714/7.135, allocations: 222.1 kB / 3.148 GB, free: 74.41 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/7.136, allocations: 0.7562 MB / 3.149 GB, free: 73.61 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-05/7.136, allocations: 98.33 kB / 3.149 GB, free: 73.51 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/7.136, allocations: 116 kB / 3.149 GB, free: 73.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/7.138, allocations: 1.21 MB / 3.151 GB, free: 72.12 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/7.138, allocations: 0 / 3.151 GB, free: 72.12 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.563e-05/7.138, allocations: 48 kB / 3.151 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/7.138, allocations: 50.23 kB / 3.151 GB, free: 72.02 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/7.14, allocations: 1.359 MB / 3.152 GB, free: 70.65 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004835/7.145, allocations: 3.49 MB / 3.155 GB, free: 67.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/7.146, allocations: 1.005 MB / 3.156 GB, free: 66.06 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005122/7.147, allocations: 421.9 kB / 3.157 GB, free: 65.65 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001187/7.147, allocations: 37.03 kB / 3.157 GB, free: 65.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008317/7.148, allocations: 0.5904 MB / 3.157 GB, free: 65 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 4.017e-06/7.148, allocations: 0 / 3.157 GB, free: 65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.002038/7.15, allocations: 0.958 MB / 3.158 GB, free: 64.04 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.637e-05/7.15, allocations: 252.3 kB / 3.159 GB, free: 63.73 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/7.151, allocations: 0.6714 MB / 3.159 GB, free: 63.05 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/7.151, allocations: 61.7 kB / 3.159 GB, free: 62.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/7.151, allocations: 464.8 kB / 3.16 GB, free: 62.53 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/7.151, allocations: 335.3 kB / 3.16 GB, free: 62.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/7.151, allocations: 27.94 kB / 3.16 GB, free: 62.17 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001368/7.152, allocations: 410.7 kB / 3.161 GB, free: 61.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004846/7.152, allocations: 342.6 kB / 3.161 GB, free: 61.42 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006124/7.153, allocations: 0.5164 MB / 3.161 GB, free: 60.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/7.153, allocations: 380.8 kB / 3.162 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/7.153, allocations: 4 kB / 3.162 GB, free: 60.48 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001891/7.155, allocations: 1.071 MB / 3.163 GB, free: 59.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/7.155, allocations: 8 kB / 3.163 GB, free: 59.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/7.155, allocations: 0 / 3.163 GB, free: 59.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005915/7.156, allocations: 100.8 kB / 3.163 GB, free: 59.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000724/7.156, allocations: 187.7 kB / 3.163 GB, free: 59.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/7.158, allocations: 1.52 MB / 3.165 GB, free: 57.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/7.159, allocations: 135.3 kB / 3.165 GB, free: 57.32 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.022e-05/7.159, allocations: 47.97 kB / 3.165 GB, free: 57.27 MB / 0.8698 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.0002731/7.16, allocations: 200.9 kB / 3.165 GB, free: 57.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/7.16, allocations: 106.7 kB / 3.165 GB, free: 56.96 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/7.162, allocations: 1.297 MB / 3.166 GB, free: 55.65 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/7.162, allocations: 16 kB / 3.166 GB, free: 55.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/7.162, allocations: 3.953 kB / 3.166 GB, free: 55.63 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.301e-05/7.162, allocations: 7.969 kB / 3.166 GB, free: 55.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003892/7.166, allocations: 2.584 MB / 3.169 GB, free: 52.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/7.166, allocations: 0 / 3.169 GB, free: 52.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006301/7.167, allocations: 175.7 kB / 3.169 GB, free: 52.81 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/7.167, allocations: 80.78 kB / 3.169 GB, free: 52.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/7.167, allocations: 35.97 kB / 3.169 GB, free: 52.69 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/7.169, allocations: 1.548 MB / 3.171 GB, free: 51 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/7.169, allocations: 3.953 kB / 3.171 GB, free: 51 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/7.171, allocations: 1.181 MB / 3.172 GB, free: 49.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005068/7.171, allocations: 339.3 kB / 3.172 GB, free: 49.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/7.172, allocations: 31.95 kB / 3.172 GB, free: 49.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007408/7.172, allocations: 112 kB / 3.172 GB, free: 49.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/7.173, allocations: 117.1 kB / 3.172 GB, free: 49.19 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/7.173, allocations: 47.97 kB / 3.172 GB, free: 49.14 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006536/7.173, allocations: 0.4991 MB / 3.173 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.81e-07/7.173, allocations: 0 / 3.173 GB, free: 48.64 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001381/7.175, allocations: 407.3 kB / 3.173 GB, free: 48.25 MB / 0.8698 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.004055/7.179, allocations: 2.661 MB / 3.176 GB, free: 45.65 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001915/7.181, allocations: 1.049 MB / 3.177 GB, free: 44.59 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/7.181, allocations: 3.938 kB / 3.177 GB, free: 44.58 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009167/7.182, allocations: 0.6464 MB / 3.178 GB, free: 43.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/7.183, allocations: 267.2 kB / 3.178 GB, free: 43.67 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005155/7.188, allocations: 1.996 MB / 3.18 GB, free: 41.63 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/7.189, allocations: 1.14 MB / 3.181 GB, free: 40.46 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009958/7.19, allocations: 300.6 kB / 3.181 GB, free: 40.16 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006053/7.191, allocations: 479.2 kB / 3.182 GB, free: 39.69 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/7.191, allocations: 0 / 3.182 GB, free: 39.69 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06264/7.253, allocations: 36.25 MB / 3.217 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001965/7.253, allocations: 262.2 kB / 3.217 GB, free: 3.355 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.354/10.61, allocations: 3.938 kB / 3.217 GB, free: 3.352 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)