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.505/1.505, allocations: 249.5 MB / 257 MB, free: 6.875 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.001188/0.001188, allocations: 172.9 kB / 316.3 MB, free: 3.273 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.739/1.739, allocations: 205.3 MB / 0.5671 GB, free: 15.93 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.0008904/0.0008904, allocations: 96.7 kB / 0.6714 GB, free: 5.059 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.964e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2112, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.923/6.134, allocations: 2.193 GB / 3.078 GB, free: 218 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/6.135, allocations: 98.2 kB / 3.078 GB, free: 217.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1286/6.263, allocations: 62.84 MB / 3.14 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.412e-06/6.263, allocations: 0 / 3.14 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.845e-05/6.263, allocations: 31.94 kB / 3.14 GB, free: 154.7 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.002067/6.265, allocations: 1.313 MB / 3.141 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/6.265, allocations: 12.02 kB / 3.141 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008494/6.266, allocations: 222.1 kB / 3.141 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/6.267, allocations: 0.7484 MB / 3.142 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.305e-05/6.267, allocations: 51.95 kB / 3.142 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/6.267, allocations: 72 kB / 3.142 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001629/6.269, allocations: 1.293 MB / 3.143 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001488/6.271, allocations: 1.053 MB / 3.144 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.542e-05/6.271, allocations: 0 / 3.144 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/6.271, allocations: 8 kB / 3.144 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.102e-05/6.271, allocations: 46.23 kB / 3.144 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004322/6.275, allocations: 3.287 MB / 3.148 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001102/6.276, allocations: 0.9438 MB / 3.148 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004278/6.277, allocations: 382.8 kB / 3.149 GB, free: 145 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001117/6.277, allocations: 45.27 kB / 3.149 GB, free: 145 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007165/6.278, allocations: 0.5499 MB / 3.149 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 3.105e-06/6.278, allocations: 0 / 3.149 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.001748/6.279, allocations: 0.9028 MB / 3.15 GB, free: 143.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/6.279, allocations: 256.6 kB / 3.151 GB, free: 143.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006677/6.28, allocations: 0.5813 MB / 3.151 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.521e-05/6.28, allocations: 45.69 kB / 3.151 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/6.28, allocations: 464.7 kB / 3.152 GB, free: 142.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/6.281, allocations: 327.3 kB / 3.152 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-05/6.281, allocations: 0 / 3.152 GB, free: 141.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001153/6.281, allocations: 398.7 kB / 3.152 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/6.281, allocations: 322.5 kB / 3.153 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005236/6.282, allocations: 490.2 kB / 3.153 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005188/6.282, allocations: 366.1 kB / 3.153 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/6.282, allocations: 4 kB / 3.153 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001666/6.284, allocations: 0.9888 MB / 3.154 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/6.284, allocations: 8 kB / 3.154 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/6.284, allocations: 0 / 3.154 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/6.285, allocations: 84.88 kB / 3.154 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000676/6.285, allocations: 191.6 kB / 3.155 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/6.287, allocations: 1.465 MB / 3.156 GB, free: 137.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007137/6.288, allocations: 103.4 kB / 3.156 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.213e-05/6.288, allocations: 43.98 kB / 3.156 GB, free: 137.2 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.0002347/6.288, allocations: 164.7 kB / 3.156 GB, free: 137 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001606/6.289, allocations: 0.8989 MB / 3.157 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/6.29, allocations: 90.88 kB / 3.157 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/6.292, allocations: 1.207 MB / 3.159 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/6.292, allocations: 19.95 kB / 3.159 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/6.292, allocations: 3.984 kB / 3.159 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/6.292, allocations: 3.984 kB / 3.159 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003336/6.295, allocations: 2.339 MB / 3.161 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/6.295, allocations: 0 / 3.161 GB, free: 132.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/6.296, allocations: 179.7 kB / 3.161 GB, free: 132.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004501/6.296, allocations: 80.78 kB / 3.161 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/6.296, allocations: 19.97 kB / 3.161 GB, free: 132.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001315/6.298, allocations: 1.481 MB / 3.163 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/6.298, allocations: 0 / 3.163 GB, free: 130.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/6.299, allocations: 1.122 MB / 3.164 GB, free: 129.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004347/6.3, allocations: 327.4 kB / 3.164 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/6.3, allocations: 11.94 kB / 3.164 GB, free: 129 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006609/6.301, allocations: 79.92 kB / 3.164 GB, free: 128.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/6.301, allocations: 129.1 kB / 3.164 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.379e-05/6.301, allocations: 43.98 kB / 3.164 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004638/6.301, allocations: 443.1 kB / 3.165 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.8e-07/6.301, allocations: 0 / 3.165 GB, free: 128.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001163/6.303, allocations: 363.1 kB / 3.165 GB, free: 127.9 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.003533/6.306, allocations: 2.632 MB / 3.168 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001596/6.308, allocations: 0.9842 MB / 3.168 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/6.308, allocations: 4 kB / 3.168 GB, free: 124.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007806/6.309, allocations: 0.6079 MB / 3.169 GB, free: 123.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/6.31, allocations: 251 kB / 3.169 GB, free: 123.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004341/6.314, allocations: 1.882 MB / 3.171 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/6.315, allocations: 1.143 MB / 3.172 GB, free: 120.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009466/6.316, allocations: 296.3 kB / 3.173 GB, free: 120.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000559/6.316, allocations: 471.2 kB / 3.173 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.723e-06/6.316, allocations: 4 kB / 3.173 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05067/6.367, allocations: 28.24 MB / 3.201 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/6.367, allocations: 217.9 kB / 3.201 GB, free: 91.19 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/9.424, allocations: 0 / 3.201 GB, free: 91.19 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)