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.48/1.48, allocations: 249.5 MB / 257 MB, free: 6.965 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.001256/0.001255, allocations: 173.9 kB / 316.3 MB, free: 3.223 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.702/1.702, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008759/0.0008758, allocations: 98.45 kB / 0.6714 GB, free: 4.895 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.452e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2068, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6805/0.8874, allocations: 139.8 MB / 1.022 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002504/0.8877, allocations: 99.17 kB / 1.022 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02678/0.9145, allocations: 9.784 MB / 1.032 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9145, allocations: 0 / 1.032 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.502e-05/0.9146, allocations: 12 kB / 1.032 GB, free: 5.41 MB / 0.6511 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.001196/0.9158, allocations: 0.6972 MB / 1.032 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.9158, allocations: 15.97 kB / 1.032 GB, free: 4.668 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001091/0.9159, allocations: 47.44 kB / 1.032 GB, free: 4.621 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006036/0.9165, allocations: 373.4 kB / 1.033 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.587e-05/0.9166, allocations: 19.67 kB / 1.033 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.659e-05/0.9167, allocations: 20 kB / 1.033 GB, free: 4.234 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004697/0.9171, allocations: 248.6 kB / 1.033 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/0.9177, allocations: 338.8 kB / 1.033 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.9177, allocations: 11.88 kB / 1.033 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.9178, allocations: 0 / 1.033 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.9178, allocations: 16.72 kB / 1.033 GB, free: 3.797 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/0.9195, allocations: 1.054 MB / 1.034 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004771/0.92, allocations: 281.8 kB / 1.035 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.9202, allocations: 126.2 kB / 1.035 GB, free: 2.688 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.035e-05/0.9203, allocations: 12.14 kB / 1.035 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.9207, allocations: 201.6 kB / 1.035 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.054e-06/0.9207, allocations: 0 / 1.035 GB, free: 2.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0006071/0.9213, allocations: 309.7 kB / 1.035 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.894e-05/0.9214, allocations: 110.4 kB / 1.035 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.9218, allocations: 343.1 kB / 1.036 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.141e-05/0.9218, allocations: 35.83 kB / 1.036 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.922, allocations: 215 kB / 1.036 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.287e-05/0.9221, allocations: 87.61 kB / 1.036 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.04e-05/0.9221, allocations: 0 / 1.036 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.9223, allocations: 349.4 kB / 1.036 GB, free: 1.258 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.9225, allocations: 117.5 kB / 1.036 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.9228, allocations: 218 kB / 1.037 GB, free: 1.004 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.923, allocations: 120.6 kB / 1.037 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.923, allocations: 4 kB / 1.037 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006119/0.9237, allocations: 375.5 kB / 1.037 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.212e-05/0.9237, allocations: 39.27 kB / 1.037 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.9237, allocations: 0 / 1.037 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.9237, allocations: 4 kB / 1.037 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.9241, allocations: 67.52 kB / 1.037 GB, free: 0.5273 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.9241, allocations: 7.953 kB / 1.037 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.9244, allocations: 63.83 kB / 1.037 GB, free: 468 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.219e-05/0.9245, allocations: 23.44 kB / 1.037 GB, free: 448 kB / 0.6511 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 () * 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.0001829/0.9246, allocations: 133.6 kB / 1.037 GB, free: 312 kB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004671/0.9251, allocations: 296.2 kB / 1.038 GB, free: 72 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.255e-05/0.9252, allocations: 31.62 kB / 1.038 GB, free: 40 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006459/0.9258, allocations: 343.6 kB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9259, allocations: 7.781 kB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.9259, allocations: 3.984 kB / 1.038 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.9259, allocations: 48 / 1.038 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.9271, allocations: 0.8578 MB / 1.039 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.9271, allocations: 3.953 kB / 1.039 GB, free: 15.06 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002207/0.9273, allocations: 51.41 kB / 1.039 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.9274, allocations: 4 kB / 1.039 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.888e-05/0.9274, allocations: 7.922 kB / 1.039 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.9274, allocations: 4 kB / 1.039 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.9274, allocations: 0 / 1.039 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005478/0.928, allocations: 409.3 kB / 1.039 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.9281, allocations: 128.2 kB / 1.039 GB, free: 14.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.199e-05/0.9282, allocations: 8 kB / 1.039 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.9284, allocations: 39.83 kB / 1.04 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/0.9286, allocations: 62.28 kB / 1.04 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.9286, allocations: 11.69 kB / 1.04 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002712/0.9289, allocations: 252.6 kB / 1.04 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9289, allocations: 3.938 kB / 1.04 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004848/0.9294, allocations: 102.9 kB / 1.04 GB, free: 14.12 MB / 0.6667 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) * 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.00165/0.9311, allocations: 1.232 MB / 1.041 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0005876/0.9317, allocations: 373 kB / 1.041 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.9317, allocations: 3.938 kB / 1.041 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.9319, allocations: 155.8 kB / 1.042 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.9324, allocations: 57.81 kB / 1.042 GB, free: 12.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.9337, allocations: 0.6042 MB / 1.042 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.9342, allocations: 0.8234 MB / 1.043 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002175/0.9344, allocations: 59.25 kB / 1.043 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002204/0.9346, allocations: 142.9 kB / 1.043 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of SimCode: time 5.81e-07/0.9346, allocations: 0 / 1.043 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.9655, allocations: 8.452 MB / 1.052 GB, free: 2.684 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/0.9659, allocations: 232.1 kB / 1.052 GB, free: 2.398 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.025/2.99, allocations: 3.938 kB / 1.052 GB, free: 2.395 MB / 0.6667 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)