Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_latest_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.354/4.354, allocations: 464.6 MB / 476.8 MB, free: 2.211 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.561e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2444, allocations: 107.1 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.086/2.331, allocations: 479.1 MB / 1.146 GB, free: 258.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/2.331, allocations: 84.31 kB / 1.146 GB, free: 258.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 30.15/32.48, allocations: 5.238 GB / 6.384 GB, free: 23.13 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.734e-06/32.48, allocations: 0 / 6.384 GB, free: 23.13 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.002792/32.48, allocations: 311.7 kB / 6.384 GB, free: 22.83 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1809 * Number of variables: 1809 Notification: Performance of Generate backend data structure: time 0.03827/32.52, allocations: 10.62 MB / 6.394 GB, free: 12.08 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/32.52, allocations: 12.03 kB / 6.394 GB, free: 12.07 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004328/32.52, allocations: 0.9185 MB / 6.395 GB, free: 11.14 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02068/32.54, allocations: 2.479 MB / 6.398 GB, free: 8.648 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08721/32.63, allocations: 19.03 MB / 6.416 GB, free: 5.574 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001638/32.63, allocations: 0.5645 MB / 6.417 GB, free: 5.008 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004766/32.64, allocations: 0.7382 MB / 6.417 GB, free: 4.27 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04379/32.68, allocations: 8.148 MB / 6.425 GB, free: 11.73 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004103/32.68, allocations: 31.72 kB / 6.425 GB, free: 11.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002926/32.68, allocations: 308 kB / 6.426 GB, free: 11.39 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003095/32.68, allocations: 196 kB / 6.426 GB, free: 11.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02508/32.71, allocations: 5.804 MB / 6.432 GB, free: 5.391 MB / 1.167 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.252/33.96, allocations: 46.05 MB / 6.477 GB, free: 38.21 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01268/33.97, allocations: 3.631 MB / 6.48 GB, free: 38.16 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005937/33.98, allocations: 2.053 MB / 6.482 GB, free: 38.12 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03/34.01, allocations: 9.617 MB / 6.491 GB, free: 34.41 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00534/34.02, allocations: 1.921 MB / 6.493 GB, free: 34.31 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009166/34.02, allocations: 0.6233 MB / 6.494 GB, free: 34.21 MB / 1.167 GB Notification: Performance of pre-optimization done (n=339): time 2.634e-05/34.02, allocations: 0.5312 kB / 6.494 GB, free: 34.21 MB / 1.167 GB Notification: Performance of matching and sorting (n=339): time 0.01681/34.04, allocations: 4.18 MB / 6.498 GB, free: 33.48 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/34.04, allocations: 86.27 kB / 6.498 GB, free: 33.41 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02661/34.07, allocations: 8.229 MB / 6.506 GB, free: 32.81 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.00143/34.07, allocations: 114.3 kB / 6.506 GB, free: 32.78 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.009341/34.08, allocations: 5.545 MB / 6.512 GB, free: 31.68 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002437/34.08, allocations: 1.173 MB / 6.513 GB, free: 31.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006908/34.08, allocations: 97.5 kB / 6.513 GB, free: 31.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0004511/34.08, allocations: 494 kB / 6.513 GB, free: 30.79 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005028/34.09, allocations: 1.502 MB / 6.515 GB, free: 30.77 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0071/34.1, allocations: 3.609 MB / 6.518 GB, free: 28.16 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0066/34.1, allocations: 2.12 MB / 6.52 GB, free: 28.09 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.432e-05/34.1, allocations: 15.91 kB / 6.52 GB, free: 28.09 MB / 1.167 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.02145/34.12, allocations: 5.874 MB / 6.526 GB, free: 27.38 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01607/34.14, allocations: 31.29 MB / 6.557 GB, free: 26.29 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002459/34.14, allocations: 56.7 kB / 6.557 GB, free: 26.29 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/34.14, allocations: 0.5248 MB / 6.557 GB, free: 26.21 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009049/34.15, allocations: 1.112 MB / 6.558 GB, free: 26.21 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/34.16, allocations: 8.294 MB / 6.567 GB, free: 35.4 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01486/34.18, allocations: 0.7201 MB / 6.567 GB, free: 35.37 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001565/34.18, allocations: 267.2 kB / 6.567 GB, free: 35.37 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/34.18, allocations: 5.25 kB / 6.567 GB, free: 35.37 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0148/34.19, allocations: 4.878 MB / 6.572 GB, free: 35.2 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/34.19, allocations: 54.06 kB / 6.572 GB, free: 35.2 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00227/34.2, allocations: 0.5191 MB / 6.573 GB, free: 35.12 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008451/34.2, allocations: 1.089 MB / 6.574 GB, free: 35.11 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008875/34.21, allocations: 8.297 MB / 6.582 GB, free: 28.29 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01604/34.23, allocations: 0.6932 MB / 6.583 GB, free: 28.27 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002049/34.23, allocations: 252.1 kB / 6.583 GB, free: 28.27 MB / 1.214 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.QCoo2.nextTimeEvent,$whenCondition3,$PRE.QCoo1.nextTimeEvent,$whenCondition2,$PRE.QHea2.nextTimeEvent,$whenCondition1,$PRE.QHea1.nextTimeEvent,QHea1.nextTimeEvent,$PRE.QHea1.nextTimeEventScaled,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,$PRE.QHea2.nextTimeEventScaled,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,$PRE.QCoo1.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,$PRE.QCoo2.nextTimeEventScaled,QCoo2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (580): * Single equations (assignments): 566 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.003951/34.24, allocations: 449.8 kB / 6.583 GB, free: 28.16 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005221/34.24, allocations: 0.9785 MB / 6.584 GB, free: 27.63 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02578/34.27, allocations: 5.048 MB / 6.589 GB, free: 27.28 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.703e-05/34.27, allocations: 41.06 kB / 6.589 GB, free: 27.28 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/34.27, allocations: 6.422 kB / 6.589 GB, free: 27.28 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01146/34.28, allocations: 3.478 MB / 6.593 GB, free: 27.04 MB / 1.214 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 postOpt removeSimpleEquations (simulation): time 0.0473/34.33, allocations: 12.26 MB / 6.605 GB, free: 26.29 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/34.33, allocations: 2.812 kB / 6.605 GB, free: 26.29 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006709/34.33, allocations: 0.705 MB / 6.605 GB, free: 26.29 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00217/34.33, allocations: 460.1 kB / 6.606 GB, free: 26.21 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005969/34.33, allocations: 109.9 kB / 6.606 GB, free: 26.21 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008284/34.34, allocations: 8.201 MB / 6.614 GB, free: 19.38 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/34.34, allocations: 2.688 kB / 6.614 GB, free: 19.38 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/34.36, allocations: 6.874 MB / 6.621 GB, free: 18.29 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007865/34.37, allocations: 1.713 MB / 6.622 GB, free: 17.66 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003644/34.37, allocations: 69.95 kB / 6.622 GB, free: 17.66 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01436/34.39, allocations: 0.6458 MB / 6.623 GB, free: 17.64 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001028/34.39, allocations: 232.2 kB / 6.623 GB, free: 17.64 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008421/34.39, allocations: 185.4 kB / 6.623 GB, free: 17.64 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01863/34.41, allocations: 6.301 MB / 6.63 GB, free: 17.3 MB / 1.214 GB Notification: Performance of sort global known variables: time 8.91e-07/34.41, allocations: 0 / 6.63 GB, free: 17.3 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.03229/34.44, allocations: 5.825 MB / 6.635 GB, free: 16.98 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (pla.coo.outCon.T,pla.hea.outCon.T,pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,spl.vol.dynBal.U,spl1.vol.dynBal.U,spl2.vol.dynBal.U,spl3.vol.dynBal.U,spl4.vol.dynBal.U,spl5.vol.dynBal.U) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,QHea1.nextTimeEvent,QHea1.nextTimeEventScaled,QHea2.nextTimeEvent,QHea2.nextTimeEventScaled,QCoo1.nextTimeEvent,QCoo1.nextTimeEventScaled,QCoo2.nextTimeEvent,QCoo2.nextTimeEventScaled) * Number of discrete states: 8 (QCoo2.nextTimeEvent,QCoo1.nextTimeEvent,QHea2.nextTimeEvent,QHea1.nextTimeEvent,QCoo2.nextTimeEventScaled,QCoo1.nextTimeEventScaled,QHea2.nextTimeEventScaled,QHea1.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (342): * Single equations (assignments): 311 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 8 {1 2,1 2,1 2,1 2,1 2,1 2,1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.03558/34.48, allocations: 14.37 MB / 6.649 GB, free: 28.43 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.02078/34.5, allocations: 7.398 MB / 6.656 GB, free: 27.9 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/34.5, allocations: 3.344 kB / 6.656 GB, free: 27.9 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.005993/34.5, allocations: 2.129 MB / 6.659 GB, free: 27.67 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03908/34.54, allocations: 4.857 MB / 6.663 GB, free: 27.6 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06171/34.6, allocations: 17.29 MB / 6.68 GB, free: 23.66 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01172/34.62, allocations: 5.663 MB / 6.686 GB, free: 22.6 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.0304/34.65, allocations: 3.804 MB / 6.689 GB, free: 22.13 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01086/34.66, allocations: 4.883 MB / 6.694 GB, free: 22.12 MB / 1.229 GB Notification: Performance of SimCode: time 1.523e-06/34.66, allocations: 0 / 6.694 GB, free: 22.12 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.91/36.57, allocations: 326.6 MB / 7.013 GB, free: 151.4 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/36.57, allocations: 253.8 kB / 7.013 GB, free: 151.1 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.3/55.87, allocations: 0 / 7.013 GB, free: 151.1 MB / 1.26 GB