Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.505/4.505, allocations: 460.4 MB / 472.6 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.985e-05, allocations: 0 / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2502, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.622/8.873, allocations: 2.555 GB / 3.227 GB, free: 234 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/8.873, allocations: 83.69 kB / 3.227 GB, free: 234 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 27.56/36.43, allocations: 5.01 GB / 8.237 GB, free: 44.53 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.835e-06/36.43, allocations: 0 / 8.237 GB, free: 44.53 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003632/36.43, allocations: 324.1 kB / 8.237 GB, free: 44.45 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2243 * Number of variables: 2243 Notification: Performance of Generate backend data structure: time 0.06672/36.5, allocations: 11.7 MB / 8.248 GB, free: 39.01 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/36.5, allocations: 7.875 kB / 8.248 GB, free: 39.01 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007143/36.51, allocations: 1.153 MB / 8.25 GB, free: 38.91 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04606/36.55, allocations: 3.382 MB / 8.253 GB, free: 36.21 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0614/36.62, allocations: 14.73 MB / 8.267 GB, free: 25.91 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001388/36.62, allocations: 0.7683 MB / 8.268 GB, free: 25.13 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004966/36.62, allocations: 0.9216 MB / 8.269 GB, free: 24.21 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/36.67, allocations: 10.97 MB / 8.28 GB, free: 12.93 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006933/36.67, allocations: 19.84 kB / 8.28 GB, free: 12.91 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004581/36.67, allocations: 375.9 kB / 8.28 GB, free: 12.54 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004441/36.67, allocations: 356.8 kB / 8.28 GB, free: 12.19 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03491/36.71, allocations: 9.63 MB / 8.29 GB, free: 2.547 MB / 1.089 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.259/37.97, allocations: 50.16 MB / 8.339 GB, free: 48.47 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02779/37.99, allocations: 8.663 MB / 8.347 GB, free: 46.84 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01177/38.01, allocations: 3.887 MB / 8.351 GB, free: 46.78 MB / 1.104 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.0658/38.07, allocations: 18.57 MB / 8.369 GB, free: 41.93 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01269/38.08, allocations: 3.817 MB / 8.373 GB, free: 41.72 MB / 1.104 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0153/38.1, allocations: 1.909 MB / 8.375 GB, free: 41.58 MB / 1.104 GB Notification: Performance of pre-optimization done (n=601): time 4.06e-05/38.1, allocations: 0 / 8.375 GB, free: 41.58 MB / 1.104 GB Notification: Performance of matching and sorting (n=650): time 0.09189/38.19, allocations: 20.48 MB / 8.395 GB, free: 37.41 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/38.19, allocations: 387.2 kB / 8.395 GB, free: 37.03 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0267/38.22, allocations: 8.599 MB / 8.403 GB, free: 36.43 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.00256/38.22, allocations: 186.2 kB / 8.404 GB, free: 36.4 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.009565/38.23, allocations: 5.545 MB / 8.409 GB, free: 35.27 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.004542/38.24, allocations: 2.202 MB / 8.411 GB, free: 34.15 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/38.24, allocations: 146 kB / 8.411 GB, free: 34.15 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0006094/38.24, allocations: 0.588 MB / 8.412 GB, free: 33.84 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009549/38.25, allocations: 3.042 MB / 8.415 GB, free: 33.82 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01272/38.26, allocations: 5.293 MB / 8.42 GB, free: 31.42 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01249/38.27, allocations: 3.883 MB / 8.424 GB, free: 31.29 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001165/38.27, allocations: 14.34 kB / 8.424 GB, free: 31.29 MB / 1.104 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.0394/38.31, allocations: 10.75 MB / 8.434 GB, free: 30.48 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 0.01137/38.32, allocations: 27.22 MB / 8.461 GB, free: 35.03 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002241/38.32, allocations: 48.59 kB / 8.461 GB, free: 35.03 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.023/38.35, allocations: 4.603 MB / 8.466 GB, free: 34.92 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01098/38.36, allocations: 1.283 MB / 8.467 GB, free: 34.92 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02894/38.39, allocations: 13.36 MB / 8.48 GB, free: 30.1 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02066/38.41, allocations: 1.023 MB / 8.481 GB, free: 30.07 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002703/38.41, allocations: 366.9 kB / 8.481 GB, free: 30.07 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/38.41, allocations: 8.188 kB / 8.481 GB, free: 30.07 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03457/38.44, allocations: 9.682 MB / 8.491 GB, free: 29.83 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002025/38.44, allocations: 48.19 kB / 8.491 GB, free: 29.83 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/38.47, allocations: 4.534 MB / 8.495 GB, free: 29.73 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/38.48, allocations: 1.254 MB / 8.496 GB, free: 29.73 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03617/38.52, allocations: 15.32 MB / 8.511 GB, free: 23.28 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02018/38.54, allocations: 0.9857 MB / 8.512 GB, free: 23.22 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002849/38.54, allocations: 357.8 kB / 8.513 GB, free: 23.22 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 209 * Number of states: 0 () * Number of discrete variables: 59 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$whenCondition1,triAndRes.uniDel1.sampleTrigger,$whenCondition2,triAndRes.sam.sampleTrigger,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTimMin.tNext,weaData.conTimMin.tNext,$PRE.weaData.conTim.tNext,weaData.conTim.tNext,greaterThreshold.y,mCWFlo.u,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,EIT.local_reset,EHVAC.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 724 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {19 158,4 16,1 2,2 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.005317/38.54, allocations: 0.5624 MB / 8.513 GB, free: 23.08 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005651/38.55, allocations: 1.066 MB / 8.514 GB, free: 22.52 MB / 1.135 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 737 equation(s) and 735 variable(s). Error: Internal error $cse15 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCHW$preSou.Medium.setState_phX(TCHWLeaCoi.port_b.p, TCHWLeaCoi.port_a.h_outflow, {}) has size size 2 but 1 variables ($cse20) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02335/38.57, allocations: 5.186 MB / 8.519 GB, free: 22.23 MB / 1.135 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.