Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.313/4.313, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.522e-05, allocations: 7.938 kB / 0.5732 GB, free: 5.637 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2391, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.373/8.612, allocations: 2.555 GB / 3.233 GB, free: 221 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/8.612, allocations: 84.89 kB / 3.233 GB, free: 221 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 28.39/37, allocations: 5.01 GB / 8.243 GB, free: 42.63 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.326e-06/37, allocations: 0 / 8.243 GB, free: 42.63 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.002968/37.01, allocations: 332.7 kB / 8.243 GB, free: 42.55 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.05194/37.06, allocations: 11.69 MB / 8.255 GB, free: 37.14 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/37.06, allocations: 10.94 kB / 8.255 GB, free: 37.14 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006217/37.07, allocations: 1.151 MB / 8.256 GB, free: 37.04 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03692/37.1, allocations: 3.399 MB / 8.259 GB, free: 36.18 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06139/37.16, allocations: 14.74 MB / 8.274 GB, free: 33.82 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001567/37.17, allocations: 0.7678 MB / 8.274 GB, free: 33.74 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005469/37.17, allocations: 0.9235 MB / 8.275 GB, free: 33.72 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04429/37.22, allocations: 10.96 MB / 8.286 GB, free: 32.21 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006233/37.22, allocations: 19.78 kB / 8.286 GB, free: 32.19 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004296/37.22, allocations: 374.5 kB / 8.286 GB, free: 32.04 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004559/37.22, allocations: 363 kB / 8.287 GB, free: 31.7 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03529/37.26, allocations: 9.621 MB / 8.296 GB, free: 23.03 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 0.1379/37.39, allocations: 50.19 MB / 8.345 GB, free: 7.594 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 1.196/38.59, allocations: 8.668 MB / 8.354 GB, free: 79.32 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01326/38.6, allocations: 3.886 MB / 8.357 GB, free: 79.25 MB / 1.12 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.06924/38.67, allocations: 18.57 MB / 8.376 GB, free: 74.49 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01452/38.69, allocations: 3.819 MB / 8.379 GB, free: 74.29 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01553/38.7, allocations: 1.912 MB / 8.381 GB, free: 74.29 MB / 1.12 GB Notification: Performance of pre-optimization done (n=601): time 5e-05/38.7, allocations: 0 / 8.381 GB, free: 74.29 MB / 1.12 GB Notification: Performance of matching and sorting (n=650): time 0.09232/38.8, allocations: 20.49 MB / 8.401 GB, free: 70.73 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001931/38.8, allocations: 390.3 kB / 8.401 GB, free: 70.34 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02862/38.83, allocations: 8.596 MB / 8.41 GB, free: 69.75 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.002762/38.83, allocations: 183.1 kB / 8.41 GB, free: 69.71 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.01041/38.84, allocations: 5.549 MB / 8.415 GB, free: 68.59 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.004825/38.84, allocations: 2.2 MB / 8.418 GB, free: 67.48 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001961/38.85, allocations: 149.9 kB / 8.418 GB, free: 67.48 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0008462/38.85, allocations: 0.589 MB / 8.418 GB, free: 67.16 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/38.86, allocations: 3.043 MB / 8.421 GB, free: 67.14 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01309/38.87, allocations: 5.298 MB / 8.426 GB, free: 64.75 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/38.88, allocations: 3.883 MB / 8.43 GB, free: 64.62 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001147/38.88, allocations: 13.53 kB / 8.43 GB, free: 64.62 MB / 1.12 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.04194/38.92, allocations: 10.76 MB / 8.441 GB, free: 63.82 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.005843/38.93, allocations: 27.22 MB / 8.467 GB, free: 36.36 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002657/38.93, allocations: 47.94 kB / 8.467 GB, free: 36.36 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02317/38.95, allocations: 4.598 MB / 8.472 GB, free: 36.28 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01108/38.97, allocations: 1.286 MB / 8.473 GB, free: 36.28 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02926/38.99, allocations: 13.37 MB / 8.486 GB, free: 31.45 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0208/39.02, allocations: 1.024 MB / 8.487 GB, free: 31.39 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002811/39.02, allocations: 370.4 kB / 8.488 GB, free: 31.39 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/39.02, allocations: 4.188 kB / 8.488 GB, free: 31.39 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03704/39.06, allocations: 9.688 MB / 8.497 GB, free: 31.16 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002177/39.06, allocations: 46.53 kB / 8.497 GB, free: 31.16 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02347/39.08, allocations: 4.535 MB / 8.502 GB, free: 31.06 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/39.09, allocations: 1.249 MB / 8.503 GB, free: 31.06 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03297/39.12, allocations: 15.32 MB / 8.518 GB, free: 24.61 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02002/39.14, allocations: 0.9817 MB / 8.519 GB, free: 24.56 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002662/39.15, allocations: 359.2 kB / 8.519 GB, free: 24.56 MB / 1.12 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.004514/39.15, allocations: 0.5569 MB / 8.52 GB, free: 24.42 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005281/39.16, allocations: 1.06 MB / 8.521 GB, free: 23.86 MB / 1.12 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.02302/39.18, allocations: 5.195 MB / 8.526 GB, free: 23.57 MB / 1.12 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.