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.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",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.432/1.432, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.001091/0.00109, allocations: 179.9 kB / 326.5 MB, free: 2.254 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.128/2.128, 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.001009/0.001009, allocations: 89.8 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 10.66 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2614, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.4636, allocations: 139.6 MB / 1.037 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.4639, allocations: 99.92 kB / 1.037 GB, free: 3.945 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02794/0.4919, allocations: 9.928 MB / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4919, allocations: 0 / 1.046 GB, free: 9.977 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.995e-05/0.492, allocations: 8 kB / 1.046 GB, free: 9.969 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001694/0.4937, allocations: 0.7562 MB / 1.047 GB, free: 9.152 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.4938, allocations: 8.031 kB / 1.047 GB, free: 9.145 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.494, allocations: 74.52 kB / 1.047 GB, free: 9.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.4941, allocations: 43.53 kB / 1.047 GB, free: 9.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007862/0.4949, allocations: 378.7 kB / 1.048 GB, free: 8.605 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.495, allocations: 28.66 kB / 1.048 GB, free: 8.578 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.647e-05/0.4951, allocations: 36 kB / 1.048 GB, free: 8.543 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009048/0.496, allocations: 418.7 kB / 1.048 GB, free: 8.117 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.496, allocations: 0 / 1.048 GB, free: 8.117 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.983e-05/0.4961, allocations: 19.89 kB / 1.048 GB, free: 8.098 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.4961, allocations: 12.66 kB / 1.048 GB, free: 8.086 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007798/0.4969, allocations: 322.4 kB / 1.048 GB, free: 7.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.4989, allocations: 1.12 MB / 1.049 GB, free: 6.594 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000783/0.4997, allocations: 371 kB / 1.05 GB, free: 6.227 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.4998, allocations: 4 kB / 1.05 GB, free: 6.223 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005202/0.5003, allocations: 243.6 kB / 1.05 GB, free: 5.973 MB / 0.698 GB Notification: Performance of pre-optimization done (n=39): time 2.535e-06/0.5003, allocations: 0 / 1.05 GB, free: 5.973 MB / 0.698 GB Notification: Performance of matching and sorting (n=39): time 0.001217/0.5016, allocations: 0.5021 MB / 1.05 GB, free: 5.465 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/0.5017, allocations: 114.7 kB / 1.051 GB, free: 5.328 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004742/0.5021, allocations: 379.4 kB / 1.051 GB, free: 4.953 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.398e-05/0.5022, allocations: 45.64 kB / 1.051 GB, free: 4.902 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.5024, allocations: 196.8 kB / 1.051 GB, free: 4.707 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.5026, allocations: 98.7 kB / 1.051 GB, free: 4.609 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.5026, allocations: 11.94 kB / 1.051 GB, free: 4.598 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5028, allocations: 350.8 kB / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.5032, allocations: 161 kB / 1.052 GB, free: 4.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004528/0.5036, allocations: 258.5 kB / 1.052 GB, free: 3.805 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.5041, allocations: 186.4 kB / 1.052 GB, free: 3.621 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.5041, allocations: 8 kB / 1.052 GB, free: 3.613 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001029/0.5051, allocations: 0.4934 MB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.5052, allocations: 31.89 kB / 1.053 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5052, allocations: 4 kB / 1.053 GB, free: 3.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5052, allocations: 7.953 kB / 1.053 GB, free: 3.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003173/0.5055, allocations: 71.83 kB / 1.053 GB, free: 2.988 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.5056, allocations: 4 kB / 1.053 GB, free: 2.984 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/0.5059, allocations: 63.83 kB / 1.053 GB, free: 2.922 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.506, allocations: 19.98 kB / 1.053 GB, free: 2.902 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0002837/0.5063, allocations: 215 kB / 1.053 GB, free: 2.684 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.5063, allocations: 39.52 kB / 1.053 GB, free: 2.645 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009859/0.5073, allocations: 428.7 kB / 1.054 GB, free: 2.211 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.5074, allocations: 12.03 kB / 1.054 GB, free: 2.199 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5074, allocations: 3.953 kB / 1.054 GB, free: 2.195 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.5074, allocations: 7.984 kB / 1.054 GB, free: 2.188 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.5091, allocations: 0.9815 MB / 1.055 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5091, allocations: 0 / 1.055 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002152/0.5093, allocations: 51.86 kB / 1.055 GB, free: 1.098 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.5093, allocations: 4 kB / 1.055 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.5094, allocations: 11.98 kB / 1.055 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5094, allocations: 4 kB / 1.055 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.5094, allocations: 0 / 1.055 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008567/0.5102, allocations: 0.495 MB / 1.055 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.5104, allocations: 120.6 kB / 1.055 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.5105, allocations: 15.94 kB / 1.055 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003121/0.5108, allocations: 47.95 kB / 1.055 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.5109, allocations: 55.92 kB / 1.055 GB, free: 320 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.511, allocations: 19.98 kB / 1.055 GB, free: 300 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002924/0.5113, allocations: 271 kB / 1.056 GB, free: 32 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5113, allocations: 0 / 1.056 GB, free: 32 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.521/1.032, allocations: 101.7 kB / 1.056 GB, free: 147.4 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: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002185/1.034, allocations: 1.376 MB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001057/1.036, allocations: 466.3 kB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.036, allocations: 0 / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004009/1.036, allocations: 201.5 kB / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004852/1.036, allocations: 62.56 kB / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/1.04, allocations: 3.244 MB / 1.061 GB, free: 145 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/1.041, allocations: 0.8259 MB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002456/1.041, allocations: 64.06 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/1.041, allocations: 145.5 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of SimCode: time 9.92e-07/1.041, allocations: 2.938 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02587/1.067, allocations: 9.093 MB / 1.071 GB, free: 143.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/1.067, allocations: 277.1 kB / 1.071 GB, free: 143.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.345, allocations: 0 / 1.071 GB, free: 143.4 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)