Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2/2, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001625/0.001625, allocations: 172.9 kB / 361.4 MB, free: 6.812 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.897/2.897, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001509/0.001509, allocations: 89.75 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.216e-05, allocations: 0 / 0.8518 GB, free: 2.645 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 115.3 MB / 0.9645 GB, free: 78.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.077/7.092, allocations: 2.074 GB / 3.038 GB, free: 19.47 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005049/7.092, allocations: 99.92 kB / 3.038 GB, free: 19.38 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.166/8.258, allocations: 63.21 MB / 3.1 GB, free: 313.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.845e-06/8.258, allocations: 1.812 kB / 3.1 GB, free: 313.6 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001857/8.258, allocations: 33.94 kB / 3.1 GB, free: 313.6 MB / 0.9323 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.005443/8.263, allocations: 1.307 MB / 3.101 GB, free: 312.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 9.397e-05/8.264, allocations: 13.72 kB / 3.101 GB, free: 312.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/8.266, allocations: 232.1 kB / 3.102 GB, free: 312.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003402/8.27, allocations: 0.7422 MB / 3.102 GB, free: 312.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/8.27, allocations: 48.53 kB / 3.102 GB, free: 312.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005039/8.27, allocations: 68.88 kB / 3.102 GB, free: 312.1 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003745/8.274, allocations: 1.299 MB / 3.104 GB, free: 311.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/8.277, allocations: 1.049 MB / 3.105 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/8.277, allocations: 0 / 3.105 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/8.277, allocations: 7.062 kB / 3.105 GB, free: 311.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.848e-05/8.277, allocations: 52.89 kB / 3.105 GB, free: 311.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008232/8.286, allocations: 3.272 MB / 3.108 GB, free: 309.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00228/8.288, allocations: 0.9417 MB / 3.109 GB, free: 309.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008951/8.289, allocations: 386.2 kB / 3.109 GB, free: 309 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001625/8.289, allocations: 38.55 kB / 3.109 GB, free: 309 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001221/8.29, allocations: 0.5535 MB / 3.11 GB, free: 308.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=118): time 5.761e-06/8.29, allocations: 0 / 3.11 GB, free: 308.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=118): time 0.003258/8.294, allocations: 0.8999 MB / 3.111 GB, free: 308.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/8.294, allocations: 251.8 kB / 3.111 GB, free: 308.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/8.295, allocations: 0.5856 MB / 3.112 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001909/8.295, allocations: 44.48 kB / 3.112 GB, free: 307.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/8.296, allocations: 475.2 kB / 3.112 GB, free: 307.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/8.296, allocations: 330 kB / 3.112 GB, free: 307.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.286e-05/8.296, allocations: 3.25 kB / 3.112 GB, free: 307.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001632/8.296, allocations: 406.5 kB / 3.113 GB, free: 306.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008001/8.297, allocations: 317.7 kB / 3.113 GB, free: 306.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009972/8.298, allocations: 488 kB / 3.114 GB, free: 306.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/8.299, allocations: 357.3 kB / 3.114 GB, free: 306.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/8.299, allocations: 5.469 kB / 3.114 GB, free: 306.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003574/8.303, allocations: 0.9884 MB / 3.115 GB, free: 305.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/8.303, allocations: 5.406 kB / 3.115 GB, free: 305.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/8.303, allocations: 3.281 kB / 3.115 GB, free: 305.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009122/8.304, allocations: 83.95 kB / 3.115 GB, free: 305.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/8.305, allocations: 193.3 kB / 3.115 GB, free: 305.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/8.308, allocations: 1.462 MB / 3.117 GB, free: 304.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/8.309, allocations: 110 kB / 3.117 GB, free: 304.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/8.309, allocations: 53.42 kB / 3.117 GB, free: 304.4 MB / 0.9323 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.0003937/8.31, allocations: 155.2 kB / 3.117 GB, free: 304.3 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002904/8.313, allocations: 0.8974 MB / 3.118 GB, free: 303.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/8.313, allocations: 95.77 kB / 3.118 GB, free: 303.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/8.317, allocations: 1.209 MB / 3.119 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/8.317, allocations: 18.38 kB / 3.119 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/8.317, allocations: 0 / 3.119 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/8.317, allocations: 7.172 kB / 3.119 GB, free: 303.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006101/8.323, allocations: 2.348 MB / 3.121 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/8.323, allocations: 3.953 kB / 3.121 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/8.324, allocations: 179 kB / 3.121 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007268/8.325, allocations: 78.52 kB / 3.122 GB, free: 302.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.61e-05/8.325, allocations: 19.5 kB / 3.122 GB, free: 302.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/8.327, allocations: 1.478 MB / 3.123 GB, free: 301 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/8.327, allocations: 7.75 kB / 3.123 GB, free: 301 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003287/8.33, allocations: 1.118 MB / 3.124 GB, free: 300.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000806/8.331, allocations: 322.6 kB / 3.124 GB, free: 300.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/8.331, allocations: 7.609 kB / 3.124 GB, free: 300.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/8.333, allocations: 82.44 kB / 3.125 GB, free: 300.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003471/8.333, allocations: 122.4 kB / 3.125 GB, free: 300.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/8.333, allocations: 43.2 kB / 3.125 GB, free: 300.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008492/8.334, allocations: 444.8 kB / 3.125 GB, free: 300 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.9e-07/8.334, allocations: 4 kB / 3.125 GB, free: 300 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002038/8.336, allocations: 365.3 kB / 3.125 GB, free: 299.9 MB / 0.9323 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.005803/8.342, allocations: 2.646 MB / 3.128 GB, free: 298.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002667/8.345, allocations: 0.9774 MB / 3.129 GB, free: 298.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/8.345, allocations: 4.062 kB / 3.129 GB, free: 298.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001368/8.346, allocations: 0.611 MB / 3.13 GB, free: 297.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/8.348, allocations: 249 kB / 3.13 GB, free: 297.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007098/8.355, allocations: 1.887 MB / 3.132 GB, free: 297.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007853/8.356, allocations: 1.142 MB / 3.133 GB, free: 296.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001666/8.358, allocations: 301.6 kB / 3.133 GB, free: 296.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009269/8.359, allocations: 470.6 kB / 3.134 GB, free: 296 MB / 0.9323 GB Notification: Performance of SimCode: time 1.021e-06/8.359, allocations: 0 / 3.134 GB, free: 296 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08258/8.441, allocations: 28.24 MB / 3.161 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/8.442, allocations: 221.9 kB / 3.161 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.619/12.06, allocations: 0 / 3.161 GB, free: 270.4 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode_fmu --startTime=8.928e+06 --stopTime=9e+06 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)