Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.714/1.714, allocations: 289.7 MB / 302.2 MB, free: 2.184 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.001169/0.001169, allocations: 178.7 kB / 371.6 MB, free: 3.383 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.747/1.747, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009486/0.0009485, allocations: 93.48 kB / 0.745 GB, free: 54.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.495e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2918, allocations: 116.3 MB / 0.9799 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8408/1.133, allocations: 146.8 MB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.133, allocations: 96.28 kB / 1.123 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02482/1.158, allocations: 9.874 MB / 1.133 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.803e-06/1.158, allocations: 0 / 1.133 GB, free: 33.52 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.168e-05/1.158, allocations: 15.98 kB / 1.133 GB, free: 33.5 MB / 0.7448 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.001295/1.159, allocations: 0.7031 MB / 1.134 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/1.159, allocations: 8.688 kB / 1.134 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001375/1.159, allocations: 72.14 kB / 1.134 GB, free: 32.78 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/1.16, allocations: 54.27 kB / 1.134 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006422/1.16, allocations: 378.7 kB / 1.134 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/1.16, allocations: 31.09 kB / 1.134 GB, free: 32.4 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.816e-05/1.16, allocations: 38.42 kB / 1.134 GB, free: 32.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/1.161, allocations: 379.9 kB / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/1.161, allocations: 5.25 kB / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/1.161, allocations: 13.88 kB / 1.135 GB, free: 32.14 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/1.161, allocations: 16.73 kB / 1.135 GB, free: 32.12 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004751/1.162, allocations: 267.9 kB / 1.135 GB, free: 31.97 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001689/1.163, allocations: 1.11 MB / 1.136 GB, free: 31.3 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/1.164, allocations: 310.5 kB / 1.136 GB, free: 31.11 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001873/1.164, allocations: 134.8 kB / 1.136 GB, free: 31.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/1.164, allocations: 8.062 kB / 1.136 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/1.164, allocations: 208.8 kB / 1.137 GB, free: 30.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=39): time 2.836e-06/1.164, allocations: 4 kB / 1.137 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=39): time 0.0005629/1.165, allocations: 329.3 kB / 1.137 GB, free: 30.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.165, allocations: 110.8 kB / 1.137 GB, free: 30.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/1.165, allocations: 373.9 kB / 1.137 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/1.165, allocations: 43.14 kB / 1.137 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.166, allocations: 201.5 kB / 1.138 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/1.166, allocations: 94.67 kB / 1.138 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/1.166, allocations: 6.438 kB / 1.138 GB, free: 30.01 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.093e-05/1.166, allocations: 356.9 kB / 1.138 GB, free: 29.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/1.166, allocations: 124.9 kB / 1.138 GB, free: 29.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002645/1.166, allocations: 230.4 kB / 1.138 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/1.167, allocations: 163.1 kB / 1.139 GB, free: 29.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/1.167, allocations: 0 / 1.139 GB, free: 29.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0006319/1.167, allocations: 442.4 kB / 1.139 GB, free: 29 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.026e-05/1.167, allocations: 41.41 kB / 1.139 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/1.167, allocations: 0 / 1.139 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/1.167, allocations: 4 kB / 1.139 GB, free: 28.96 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000294/1.168, allocations: 73.67 kB / 1.139 GB, free: 28.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/1.168, allocations: 7.938 kB / 1.139 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/1.168, allocations: 64.72 kB / 1.139 GB, free: 28.85 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/1.168, allocations: 22.75 kB / 1.139 GB, free: 28.83 MB / 0.7448 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.000122/1.168, allocations: 153.4 kB / 1.139 GB, free: 28.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.571e-05/1.168, allocations: 39.53 kB / 1.139 GB, free: 28.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005809/1.169, allocations: 363.3 kB / 1.14 GB, free: 28.44 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.169, allocations: 11.52 kB / 1.14 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/1.169, allocations: 3.953 kB / 1.14 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/1.169, allocations: 0 / 1.14 GB, free: 28.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/1.17, allocations: 0.9257 MB / 1.141 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.17, allocations: 0 / 1.141 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002067/1.17, allocations: 54.8 kB / 1.141 GB, free: 27.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/1.17, allocations: 7.953 kB / 1.141 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/1.17, allocations: 11.2 kB / 1.141 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/1.17, allocations: 0 / 1.141 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/1.17, allocations: 0 / 1.141 GB, free: 27.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/1.171, allocations: 432.9 kB / 1.141 GB, free: 27.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.99e-05/1.171, allocations: 127.8 kB / 1.141 GB, free: 27.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.25e-05/1.171, allocations: 19.52 kB / 1.141 GB, free: 27.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/1.171, allocations: 49.12 kB / 1.141 GB, free: 27.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.171, allocations: 55.34 kB / 1.141 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.088e-05/1.171, allocations: 15.16 kB / 1.141 GB, free: 27.21 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002599/1.172, allocations: 265.1 kB / 1.142 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.9e-07/1.172, allocations: 4 kB / 1.142 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004381/1.172, allocations: 115.3 kB / 1.142 GB, free: 26.92 MB / 0.7448 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.001597/1.174, allocations: 1.292 MB / 1.143 GB, free: 25.88 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005876/1.174, allocations: 399.2 kB / 1.143 GB, free: 25.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.174, allocations: 7.938 kB / 1.143 GB, free: 25.58 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002413/1.175, allocations: 169.5 kB / 1.144 GB, free: 25.47 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/1.175, allocations: 68.91 kB / 1.144 GB, free: 25.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/1.176, allocations: 0.6419 MB / 1.144 GB, free: 24.93 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/1.177, allocations: 0.8246 MB / 1.145 GB, free: 24.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002155/1.177, allocations: 61.92 kB / 1.145 GB, free: 24.1 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/1.177, allocations: 142.1 kB / 1.145 GB, free: 24.06 MB / 0.7448 GB Notification: Performance of SimCode: time 3.91e-07/1.177, allocations: 0 / 1.145 GB, free: 24.06 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/1.202, allocations: 9.085 MB / 1.154 GB, free: 18.78 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/1.202, allocations: 229 kB / 1.154 GB, free: 18.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/3.355, allocations: 0 / 1.154 GB, free: 18.47 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingModeNonIntegrated.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)