Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.194/2.194, allocations: 248.7 MB / 256.2 MB, free: 6.992 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.00145/0.00145, allocations: 178.2 kB / 315.4 MB, free: 4 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.05/2.05, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 86.05 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.842e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.212, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8567/1.069, allocations: 139.6 MB / 1.02 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/1.069, allocations: 96.62 kB / 1.021 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04306/1.112, allocations: 9.8 MB / 1.03 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.903e-06/1.112, allocations: 0 / 1.03 GB, free: 7.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.989e-05/1.112, allocations: 15.98 kB / 1.03 GB, free: 7.145 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.001668/1.114, allocations: 0.707 MB / 1.031 GB, free: 6.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/1.114, allocations: 8.031 kB / 1.031 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/1.114, allocations: 47.44 kB / 1.031 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008439/1.115, allocations: 371.3 kB / 1.031 GB, free: 6.004 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/1.115, allocations: 12 kB / 1.031 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.522e-05/1.115, allocations: 24 kB / 1.031 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007993/1.116, allocations: 249.1 kB / 1.032 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008423/1.117, allocations: 347 kB / 1.032 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.117, allocations: 0 / 1.032 GB, free: 5.547 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/1.117, allocations: 11.86 kB / 1.032 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/1.117, allocations: 12.78 kB / 1.032 GB, free: 5.527 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/1.12, allocations: 1.058 MB / 1.033 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/1.12, allocations: 272.5 kB / 1.033 GB, free: 4.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003028/1.121, allocations: 128.6 kB / 1.033 GB, free: 4.418 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/1.121, allocations: 11.19 kB / 1.033 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000498/1.121, allocations: 193.3 kB / 1.033 GB, free: 4.254 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 2.996e-06/1.121, allocations: 4 kB / 1.033 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.0009314/1.122, allocations: 305 kB / 1.034 GB, free: 4.008 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/1.122, allocations: 117.9 kB / 1.034 GB, free: 3.871 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006128/1.123, allocations: 339.6 kB / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/1.123, allocations: 40.45 kB / 1.034 GB, free: 3.566 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/1.123, allocations: 206.9 kB / 1.034 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/1.123, allocations: 88.23 kB / 1.035 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/1.124, allocations: 0 / 1.035 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001775/1.124, allocations: 351.3 kB / 1.035 GB, free: 2.996 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/1.124, allocations: 122.5 kB / 1.035 GB, free: 2.926 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/1.125, allocations: 220.5 kB / 1.035 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/1.125, allocations: 114.8 kB / 1.035 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.125, allocations: 0 / 1.035 GB, free: 2.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001063/1.126, allocations: 379.1 kB / 1.036 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.995e-05/1.126, allocations: 33.39 kB / 1.036 GB, free: 2.336 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/1.126, allocations: 7.984 kB / 1.036 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/1.126, allocations: 4 kB / 1.036 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005448/1.127, allocations: 75.28 kB / 1.036 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/1.127, allocations: 4 kB / 1.036 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/1.127, allocations: 55.84 kB / 1.036 GB, free: 2.195 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.073e-05/1.127, allocations: 19.42 kB / 1.036 GB, free: 2.18 MB / 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.0002594/1.128, allocations: 145.5 kB / 1.036 GB, free: 2.035 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008156/1.128, allocations: 292 kB / 1.036 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.099e-05/1.129, allocations: 39.61 kB / 1.036 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009575/1.13, allocations: 340 kB / 1.037 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.13, allocations: 8 kB / 1.037 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.13, allocations: 3.938 kB / 1.037 GB, free: 1.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.809e-06/1.13, allocations: 3.984 kB / 1.037 GB, free: 1.496 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/1.132, allocations: 0.8473 MB / 1.037 GB, free: 0.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/1.132, allocations: 4 kB / 1.037 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/1.132, allocations: 47.77 kB / 1.038 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/1.132, allocations: 0 / 1.038 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/1.132, allocations: 4 kB / 1.038 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/1.132, allocations: 3.938 kB / 1.038 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.132, allocations: 0 / 1.038 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/1.133, allocations: 415.9 kB / 1.038 GB, free: 396 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001517/1.133, allocations: 123.5 kB / 1.038 GB, free: 256 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/1.133, allocations: 7.234 kB / 1.038 GB, free: 252 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005074/1.134, allocations: 39.97 kB / 1.038 GB, free: 212 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/1.134, allocations: 61.25 kB / 1.038 GB, free: 164 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/1.134, allocations: 15.98 kB / 1.038 GB, free: 148 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004309/1.135, allocations: 246.3 kB / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.755e-06/1.135, allocations: 0 / 1.038 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007518/1.135, allocations: 103.8 kB / 1.038 GB, free: 15.86 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.002304/1.138, allocations: 1.243 MB / 1.04 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009982/1.139, allocations: 375 kB / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.139, allocations: 384 / 1.04 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003927/1.139, allocations: 164.7 kB / 1.04 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/1.14, allocations: 52.77 kB / 1.04 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/1.142, allocations: 0.6032 MB / 1.041 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004768/1.142, allocations: 0.8261 MB / 1.042 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004107/1.143, allocations: 63.25 kB / 1.042 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/1.143, allocations: 144.8 kB / 1.042 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of SimCode: time 2.946e-06/1.143, allocations: 0 / 1.042 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05386/1.197, allocations: 8.441 MB / 1.05 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003378/1.197, allocations: 225.3 kB / 1.05 GB, free: 4.137 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/4.082, allocations: 0 / 1.05 GB, free: 4.137 MB / 0.6667 GB