Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.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.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_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.469/1.469, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001155, allocations: 174.7 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.115/2.115, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001344/0.001344, allocations: 94.34 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003818, allocations: 9.469 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2657, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1858/0.4515, allocations: 135.8 MB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.4519, allocations: 95.94 kB / 1.033 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01931/0.4712, allocations: 7.388 MB / 1.04 GB, free: 280 kB / 0.6823 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4712, allocations: 0 / 1.04 GB, free: 280 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.881e-05/0.4713, allocations: 16 kB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001518/0.4728, allocations: 0.6649 MB / 1.041 GB, free: 15.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.4729, allocations: 12.03 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001968/0.4731, allocations: 90.45 kB / 1.041 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.4733, allocations: 55.42 kB / 1.041 GB, free: 15.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005559/0.4738, allocations: 330.4 kB / 1.041 GB, free: 15.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.837e-05/0.4739, allocations: 41 kB / 1.041 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.474, allocations: 59.92 kB / 1.041 GB, free: 14.91 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.4751, allocations: 0.5218 MB / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.4752, allocations: 0 / 1.042 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.933e-05/0.4752, allocations: 19.98 kB / 1.042 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/0.4753, allocations: 17 kB / 1.042 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.4763, allocations: 439.8 kB / 1.042 GB, free: 13.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.4788, allocations: 1.407 MB / 1.044 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009063/0.4797, allocations: 429.2 kB / 1.044 GB, free: 12.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.434e-05/0.4798, allocations: 8.438 kB / 1.044 GB, free: 12.01 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005996/0.4804, allocations: 273.2 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 3.617e-06/0.4805, allocations: 0 / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.001287/0.4818, allocations: 0.5574 MB / 1.045 GB, free: 11.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/0.4818, allocations: 71.81 kB / 1.045 GB, free: 11.08 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.4821, allocations: 247.8 kB / 1.045 GB, free: 10.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.4822, allocations: 53.69 kB / 1.045 GB, free: 10.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.4824, allocations: 189.3 kB / 1.045 GB, free: 10.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.4825, allocations: 130.3 kB / 1.046 GB, free: 10.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.4826, allocations: 20 kB / 1.046 GB, free: 10.44 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4827, allocations: 346.8 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004138/0.4832, allocations: 181.2 kB / 1.046 GB, free: 9.914 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004828/0.4837, allocations: 274 kB / 1.046 GB, free: 9.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.4841, allocations: 216.8 kB / 1.047 GB, free: 9.406 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.4841, allocations: 0 / 1.047 GB, free: 9.406 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001082/0.4852, allocations: 0.5767 MB / 1.047 GB, free: 8.816 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.416e-05/0.4853, allocations: 29.7 kB / 1.047 GB, free: 8.781 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4853, allocations: 4 kB / 1.047 GB, free: 8.777 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.4853, allocations: 4 kB / 1.047 GB, free: 8.773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003124/0.4856, allocations: 75.77 kB / 1.047 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.4857, allocations: 7.984 kB / 1.047 GB, free: 8.691 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004335/0.4861, allocations: 91.72 kB / 1.047 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.4862, allocations: 20 kB / 1.047 GB, free: 8.582 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$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.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.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003133/0.4865, allocations: 233.7 kB / 1.048 GB, free: 8.344 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.4865, allocations: 35.58 kB / 1.048 GB, free: 8.309 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000986/0.4875, allocations: 495 kB / 1.048 GB, free: 7.816 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.4876, allocations: 8 kB / 1.048 GB, free: 7.809 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4876, allocations: 3.984 kB / 1.048 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4876, allocations: 0 / 1.048 GB, free: 7.805 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.4895, allocations: 1.129 MB / 1.049 GB, free: 6.621 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4895, allocations: 0 / 1.049 GB, free: 6.621 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.4897, allocations: 51.89 kB / 1.049 GB, free: 6.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.4898, allocations: 4 kB / 1.049 GB, free: 6.566 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.4898, allocations: 12 kB / 1.049 GB, free: 6.555 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.678e-06/0.4898, allocations: 4 kB / 1.049 GB, free: 6.551 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4898, allocations: 0 / 1.049 GB, free: 6.551 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000869/0.4907, allocations: 0.5422 MB / 1.05 GB, free: 5.992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.4908, allocations: 116.7 kB / 1.05 GB, free: 5.859 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.4909, allocations: 11.98 kB / 1.05 GB, free: 5.848 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002868/0.4912, allocations: 47.95 kB / 1.05 GB, free: 5.801 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002023/0.4914, allocations: 76.45 kB / 1.05 GB, free: 5.727 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.4914, allocations: 20 kB / 1.05 GB, free: 5.707 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001677/0.4916, allocations: 160.5 kB / 1.05 GB, free: 5.547 MB / 0.698 GB Notification: Performance of sort global known variables: time 4e-07/0.4916, allocations: 3.938 kB / 1.05 GB, free: 5.543 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005075/0.4921, allocations: 111.9 kB / 1.05 GB, free: 5.434 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$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.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/0.4935, allocations: 1.131 MB / 1.051 GB, free: 4.281 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.4945, allocations: 0.5267 MB / 1.052 GB, free: 3.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4946, allocations: 4 kB / 1.052 GB, free: 3.742 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.495, allocations: 239.2 kB / 1.052 GB, free: 3.508 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.4954, allocations: 56.72 kB / 1.052 GB, free: 3.453 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004243/0.4996, allocations: 3.228 MB / 1.055 GB, free: 148 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4518/0.9514, allocations: 0.8205 MB / 1.056 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003752/0.9518, allocations: 60.28 kB / 1.056 GB, free: 148.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002887/0.9521, allocations: 142 kB / 1.056 GB, free: 148.8 MB / 0.698 GB Notification: Performance of SimCode: time 1.563e-06/0.9521, allocations: 0 / 1.056 GB, free: 148.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02441/0.9766, allocations: 7.846 MB / 1.064 GB, free: 148.4 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001551/0.9767, allocations: 234 kB / 1.064 GB, free: 148.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/3.132, allocations: 0.9062 kB / 1.064 GB, free: 148.1 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)