Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.929/2.929, allocations: 287.3 MB / 302.3 MB, free: 8.211 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.001566/0.001566, allocations: 179.3 kB / 370.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001175/0.001174, allocations: 103.6 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004836/0.0004834, allocations: 11.19 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2281, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.977/1.205, allocations: 142 MB / 1.117 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00047/1.206, allocations: 93.5 kB / 1.117 GB, free: 15.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04621/1.252, allocations: 7.384 MB / 1.124 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.226e-06/1.252, allocations: 0 / 1.124 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.259e-05/1.252, allocations: 15.66 kB / 1.124 GB, free: 31.07 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002685/1.255, allocations: 0.6655 MB / 1.125 GB, free: 30.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/1.255, allocations: 15.66 kB / 1.125 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003028/1.255, allocations: 92.45 kB / 1.125 GB, free: 30.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002335/1.255, allocations: 46.5 kB / 1.125 GB, free: 30.5 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000929/1.256, allocations: 326.9 kB / 1.125 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001019/1.257, allocations: 46.02 kB / 1.125 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/1.257, allocations: 50.5 kB / 1.125 GB, free: 30.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/1.259, allocations: 0.5257 MB / 1.126 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/1.259, allocations: 0 / 1.126 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/1.259, allocations: 22.86 kB / 1.126 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/1.259, allocations: 16.44 kB / 1.126 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/1.262, allocations: 449 kB / 1.126 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005439/1.267, allocations: 1.401 MB / 1.128 GB, free: 29.75 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/1.269, allocations: 429.8 kB / 1.128 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00011/1.27, allocations: 4.281 kB / 1.128 GB, free: 29.71 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/1.271, allocations: 268.7 kB / 1.128 GB, free: 29.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 6.041e-06/1.271, allocations: 3.938 kB / 1.128 GB, free: 29.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.002883/1.274, allocations: 0.5568 MB / 1.129 GB, free: 29.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/1.274, allocations: 59.38 kB / 1.129 GB, free: 29.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/1.275, allocations: 250.3 kB / 1.129 GB, free: 29.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001924/1.275, allocations: 51.14 kB / 1.129 GB, free: 29.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/1.275, allocations: 197.6 kB / 1.13 GB, free: 29.25 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002318/1.275, allocations: 129.8 kB / 1.13 GB, free: 29.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/1.275, allocations: 18.06 kB / 1.13 GB, free: 29.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002165/1.276, allocations: 348 kB / 1.13 GB, free: 28.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/1.277, allocations: 189.2 kB / 1.13 GB, free: 28.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.278, allocations: 277.2 kB / 1.13 GB, free: 28.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.279, allocations: 211.7 kB / 1.131 GB, free: 28.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.279, allocations: 3.938 kB / 1.131 GB, free: 28.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002625/1.282, allocations: 0.5746 MB / 1.131 GB, free: 28.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-05/1.282, allocations: 36.2 kB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/1.282, allocations: 0 / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.184e-05/1.282, allocations: 3.844 kB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008171/1.283, allocations: 76.88 kB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.088e-05/1.283, allocations: 3.844 kB / 1.131 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/1.284, allocations: 81.56 kB / 1.131 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001422/1.284, allocations: 24.81 kB / 1.131 GB, free: 28.57 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.0006473/1.285, allocations: 230.6 kB / 1.132 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/1.285, allocations: 34.95 kB / 1.132 GB, free: 28.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/1.287, allocations: 0.4906 MB / 1.132 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.287, allocations: 3.844 kB / 1.132 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/1.287, allocations: 2.531 kB / 1.132 GB, free: 28.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.287, allocations: 10.97 kB / 1.132 GB, free: 28.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/1.292, allocations: 1.116 MB / 1.133 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.292, allocations: 3.812 kB / 1.133 GB, free: 27.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/1.292, allocations: 45.53 kB / 1.133 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/1.292, allocations: 0 / 1.133 GB, free: 27.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/1.292, allocations: 19.11 kB / 1.133 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.168e-06/1.292, allocations: 3.812 kB / 1.133 GB, free: 27.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/1.292, allocations: 7.938 kB / 1.133 GB, free: 27.88 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/1.294, allocations: 0.5465 MB / 1.134 GB, free: 27.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/1.295, allocations: 108.4 kB / 1.134 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/1.295, allocations: 17.17 kB / 1.134 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007944/1.296, allocations: 48.42 kB / 1.134 GB, free: 27.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003618/1.296, allocations: 80.73 kB / 1.134 GB, free: 27.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.158e-05/1.296, allocations: 14.88 kB / 1.134 GB, free: 27.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003347/1.296, allocations: 162.5 kB / 1.134 GB, free: 27.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.02e-07/1.297, allocations: 0 / 1.134 GB, free: 27.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001028/1.298, allocations: 101.7 kB / 1.134 GB, free: 27.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: 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.002788/1.3, allocations: 1.136 MB / 1.136 GB, free: 26.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002301/1.303, allocations: 0.5289 MB / 1.136 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/1.303, allocations: 0 / 1.136 GB, free: 26.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/1.304, allocations: 248.8 kB / 1.136 GB, free: 26.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007096/1.305, allocations: 47.14 kB / 1.136 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009046/1.314, allocations: 3.239 MB / 1.139 GB, free: 24.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006887/1.314, allocations: 0.8248 MB / 1.14 GB, free: 23.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006365/1.315, allocations: 58.12 kB / 1.14 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/1.316, allocations: 139.3 kB / 1.14 GB, free: 23.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.393e-06/1.316, allocations: 3.688 kB / 1.14 GB, free: 23.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04249/1.358, allocations: 7.866 MB / 1.148 GB, free: 19.95 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002865/1.359, allocations: 217.2 kB / 1.148 GB, free: 19.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.896/4.254, allocations: 0 / 1.148 GB, free: 19.71 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)