Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.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.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001778/0.001778, allocations: 172.9 kB / 366.7 MB, free: 1.645 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.809/1.809, allocations: 205.2 MB / 0.626 GB, free: 7.137 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.0009667/0.0009668, allocations: 87.3 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.389e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.68/0.6801, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.8798, allocations: 142.4 MB / 1.112 GB, free: 7.703 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.8801, allocations: 92.44 kB / 1.112 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01828/0.8984, allocations: 7.247 MB / 1.12 GB, free: 408 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8984, allocations: 3.938 kB / 1.12 GB, free: 404 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.301e-05/0.8984, allocations: 12 kB / 1.12 GB, free: 392 kB / 0.7136 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.0009941/0.8994, allocations: 0.6454 MB / 1.12 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.8995, allocations: 12.02 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.8996, allocations: 51.44 kB / 1.12 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.9, allocations: 338.4 kB / 1.121 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.9001, allocations: 20 kB / 1.121 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.774e-05/0.9001, allocations: 31.98 kB / 1.121 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000625/0.9008, allocations: 374.5 kB / 1.121 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007232/0.9015, allocations: 448.6 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.9015, allocations: 3.953 kB / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.763e-05/0.9016, allocations: 0 / 1.121 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/0.9016, allocations: 21.3 kB / 1.121 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00198/0.9036, allocations: 1.304 MB / 1.123 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000497/0.9041, allocations: 350 kB / 1.123 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.9043, allocations: 171.7 kB / 1.123 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.875e-05/0.9044, allocations: 8.375 kB / 1.123 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.9048, allocations: 233.9 kB / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 1.924e-06/0.9048, allocations: 0 / 1.123 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.000565/0.9054, allocations: 339.7 kB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.9054, allocations: 63.84 kB / 1.124 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.9056, allocations: 222.6 kB / 1.124 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.231e-05/0.9057, allocations: 41.7 kB / 1.124 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.9058, allocations: 193.1 kB / 1.124 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.9059, allocations: 122.5 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.906, allocations: 0 / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.9061, allocations: 342.8 kB / 1.125 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.9063, allocations: 149.5 kB / 1.125 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002838/0.9066, allocations: 241.8 kB / 1.125 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002548/0.9069, allocations: 148.5 kB / 1.125 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.9069, allocations: 0 / 1.125 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006723/0.9076, allocations: 459.7 kB / 1.126 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.722e-05/0.9076, allocations: 35.58 kB / 1.126 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.9076, allocations: 0 / 1.126 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.9076, allocations: 11.95 kB / 1.126 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.908, allocations: 72.05 kB / 1.126 GB, free: 9.773 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.908, allocations: 11.94 kB / 1.126 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.9083, allocations: 67.72 kB / 1.126 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.128e-05/0.9084, allocations: 28 kB / 1.126 GB, free: 9.668 MB / 0.7292 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 () * 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.0001487/0.9086, allocations: 156.8 kB / 1.126 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004941/0.9091, allocations: 335.7 kB / 1.126 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.9091, allocations: 35.58 kB / 1.126 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000689/0.9098, allocations: 404.3 kB / 1.127 GB, free: 8.738 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.9098, allocations: 11.98 kB / 1.127 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9098, allocations: 0 / 1.127 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.9099, allocations: 0 / 1.127 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.9113, allocations: 0.9733 MB / 1.128 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.9113, allocations: 0 / 1.128 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.9115, allocations: 50.41 kB / 1.128 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.9115, allocations: 4 kB / 1.128 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.9115, allocations: 3.984 kB / 1.128 GB, free: 7.656 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.9115, allocations: 4 kB / 1.128 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9115, allocations: 3.281 kB / 1.128 GB, free: 7.652 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.9122, allocations: 487.3 kB / 1.128 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.9123, allocations: 100.7 kB / 1.128 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.855e-05/0.9123, allocations: 4 kB / 1.128 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000285/0.9126, allocations: 43.95 kB / 1.128 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.9128, allocations: 80.39 kB / 1.128 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.9128, allocations: 19.98 kB / 1.128 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001037/0.9129, allocations: 132.2 kB / 1.129 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9129, allocations: 0 / 1.129 GB, free: 6.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003785/0.9133, allocations: 87.83 kB / 1.129 GB, free: 6.684 MB / 0.7292 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) * 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.001016/0.9143, allocations: 1.055 MB / 1.13 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006695/0.915, allocations: 461.6 kB / 1.13 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.915, allocations: 0 / 1.13 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000282/0.9153, allocations: 202.1 kB / 1.13 GB, free: 4.941 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.9156, allocations: 36.41 kB / 1.13 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.9168, allocations: 0.5702 MB / 1.131 GB, free: 4.301 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.9172, allocations: 0.8281 MB / 1.132 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002013/0.9174, allocations: 67.14 kB / 1.132 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002198/0.9176, allocations: 131.4 kB / 1.132 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of SimCode: time 4.1e-07/0.9176, allocations: 4 kB / 1.132 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.9442, allocations: 7.228 MB / 1.139 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002007/0.9445, allocations: 186.3 kB / 1.139 GB, free: 12.01 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.091/3.035, allocations: 4.531 kB / 1.139 GB, free: 12.01 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)