Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.255/2.255, allocations: 248.5 MB / 261.1 MB, free: 5.973 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.001502/0.001501, allocations: 176.2 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.2 MB / 0.571 GB, free: 11.82 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.001147/0.001147, allocations: 104.7 kB / 0.6754 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.124e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1952/0.1953, allocations: 106.3 MB / 0.8907 GB, free: 7.453 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8889/1.084, allocations: 135.6 MB / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/1.085, allocations: 97.73 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03704/1.122, allocations: 7.368 MB / 1.03 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.833e-06/1.122, allocations: 0 / 1.03 GB, free: 9.387 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.837e-05/1.122, allocations: 15.94 kB / 1.03 GB, free: 9.371 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: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.001673/1.124, allocations: 0.6423 MB / 1.031 GB, free: 8.703 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/1.124, allocations: 12.03 kB / 1.031 GB, free: 8.691 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002082/1.124, allocations: 88.02 kB / 1.031 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/1.124, allocations: 55.42 kB / 1.031 GB, free: 8.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006908/1.125, allocations: 332.1 kB / 1.031 GB, free: 8.262 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.891e-05/1.125, allocations: 42.56 kB / 1.032 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/1.125, allocations: 46.66 kB / 1.032 GB, free: 8.207 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/1.126, allocations: 0.4929 MB / 1.032 GB, free: 7.863 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/1.126, allocations: 3.938 kB / 1.032 GB, free: 7.859 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.029e-05/1.126, allocations: 26.36 kB / 1.032 GB, free: 7.848 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.427e-05/1.126, allocations: 17 kB / 1.032 GB, free: 7.828 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/1.128, allocations: 400.5 kB / 1.032 GB, free: 7.582 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/1.131, allocations: 1.404 MB / 1.034 GB, free: 6.496 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/1.132, allocations: 388.5 kB / 1.034 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004558/1.133, allocations: 184.1 kB / 1.034 GB, free: 6.121 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.39e-05/1.133, allocations: 11.8 kB / 1.034 GB, free: 6.113 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006568/1.134, allocations: 248.9 kB / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=52): time 3.988e-06/1.134, allocations: 0 / 1.035 GB, free: 5.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.001064/1.135, allocations: 366.6 kB / 1.035 GB, free: 5.641 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/1.135, allocations: 59.84 kB / 1.035 GB, free: 5.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/1.135, allocations: 247.8 kB / 1.035 GB, free: 5.367 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.83e-05/1.135, allocations: 52.39 kB / 1.035 GB, free: 5.328 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/1.135, allocations: 198.8 kB / 1.036 GB, free: 5.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/1.136, allocations: 132.3 kB / 1.036 GB, free: 5.051 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/1.136, allocations: 14.19 kB / 1.036 GB, free: 5.047 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001814/1.136, allocations: 347.2 kB / 1.036 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004914/1.136, allocations: 161.5 kB / 1.036 GB, free: 4.617 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/1.137, allocations: 255.7 kB / 1.036 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004983/1.138, allocations: 189.9 kB / 1.037 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.138, allocations: 0 / 1.037 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001365/1.139, allocations: 0.5296 MB / 1.037 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.091e-05/1.139, allocations: 33.92 kB / 1.037 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.139, allocations: 4 kB / 1.037 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.832e-05/1.139, allocations: 4 kB / 1.037 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/1.14, allocations: 73.77 kB / 1.037 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/1.14, allocations: 8 kB / 1.037 GB, free: 3.738 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007226/1.14, allocations: 89.94 kB / 1.037 GB, free: 3.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/1.141, allocations: 27.05 kB / 1.037 GB, free: 3.641 MB / 0.6511 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.0002817/1.141, allocations: 170.9 kB / 1.037 GB, free: 3.484 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.775e-05/1.141, allocations: 35.58 kB / 1.038 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/1.142, allocations: 457.8 kB / 1.038 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.142, allocations: 4 kB / 1.038 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.142, allocations: 0 / 1.038 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.163e-05/1.142, allocations: 4 kB / 1.038 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/1.145, allocations: 1.076 MB / 1.039 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/1.145, allocations: 0 / 1.039 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003924/1.145, allocations: 47.84 kB / 1.039 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/1.145, allocations: 0 / 1.039 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.663e-05/1.145, allocations: 14.8 kB / 1.039 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.786e-06/1.145, allocations: 4 kB / 1.039 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.145, allocations: 4 kB / 1.039 GB, free: 2.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/1.147, allocations: 0.5084 MB / 1.04 GB, free: 1.754 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/1.147, allocations: 100.7 kB / 1.04 GB, free: 1.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/1.147, allocations: 11.12 kB / 1.04 GB, free: 1.633 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000548/1.147, allocations: 58.77 kB / 1.04 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/1.148, allocations: 74.39 kB / 1.04 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/1.148, allocations: 19.67 kB / 1.04 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002299/1.148, allocations: 161.7 kB / 1.04 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.148, allocations: 0 / 1.04 GB, free: 1.375 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006197/1.149, allocations: 105.1 kB / 1.04 GB, free: 1.289 MB / 0.6511 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.001587/1.15, allocations: 1.093 MB / 1.041 GB, free: 288 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001271/1.151, allocations: 495.4 kB / 1.042 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/1.151, allocations: 0 / 1.042 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00055/1.152, allocations: 220.4 kB / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/1.152, allocations: 41.55 kB / 1.042 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/1.154, allocations: 0.6113 MB / 1.042 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005606/1.155, allocations: 0.8244 MB / 1.043 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000376/1.155, allocations: 63.36 kB / 1.043 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003486/1.156, allocations: 141.9 kB / 1.043 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of SimCode: time 7.71e-07/1.156, allocations: 0 / 1.043 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03601/1.192, allocations: 7.939 MB / 1.051 GB, free: 6.48 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/1.192, allocations: 192.3 kB / 1.051 GB, free: 6.254 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.652/3.844, allocations: 64 / 1.051 GB, free: 6.254 MB / 0.6667 GB