Running command: "" <> buildModelFMU(Buildings.Experimental.DistrictHeatingCooling.Validation.IdealSmallSystem,fileNamePrefix="Buildings_7_0_0_Buildings_Experimental_DistrictHeatingCooling_Validation_IdealSmallSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.282/4.282, allocations: 460.4 MB / 472.6 MB, free: 5.406 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.689e-05/3.7e-05, allocations: 4 kB / 0.5682 GB, free: 10.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2424, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.017/2.26, allocations: 478.7 MB / 1.139 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/2.26, allocations: 95.67 kB / 1.14 GB, free: 242.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 30.45/32.71, allocations: 5.238 GB / 6.377 GB, free: 54.93 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.214e-06/32.71, allocations: 0 / 6.377 GB, free: 54.93 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.002727/32.72, allocations: 314.5 kB / 6.378 GB, free: 54.87 MB / 1.151 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.04102/32.76, allocations: 10.63 MB / 6.388 GB, free: 50.36 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/32.76, allocations: 12.36 kB / 6.388 GB, free: 50.36 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004468/32.76, allocations: 0.9273 MB / 6.389 GB, free: 50.29 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02124/32.78, allocations: 2.469 MB / 6.391 GB, free: 49.57 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08186/32.87, allocations: 19.02 MB / 6.41 GB, free: 47.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001442/32.87, allocations: 0.5602 MB / 6.41 GB, free: 47.53 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004786/32.87, allocations: 0.7408 MB / 6.411 GB, free: 47.53 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04449/32.92, allocations: 8.168 MB / 6.419 GB, free: 46.35 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007009/32.92, allocations: 20.88 kB / 6.419 GB, free: 46.35 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003828/32.92, allocations: 304.3 kB / 6.419 GB, free: 46.35 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003881/32.92, allocations: 194.4 kB / 6.42 GB, free: 46.35 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02883/32.95, allocations: 5.807 MB / 6.425 GB, free: 46.32 MB / 1.151 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.1266/33.08, allocations: 46.2 MB / 6.47 GB, free: 20.34 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01778/33.1, allocations: 3.626 MB / 6.474 GB, free: 20.27 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008187/33.1, allocations: 2.063 MB / 6.476 GB, free: 20.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04466/33.15, allocations: 9.585 MB / 6.485 GB, free: 32.42 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008912/33.16, allocations: 1.931 MB / 6.487 GB, free: 32.32 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01155/33.17, allocations: 0.6274 MB / 6.488 GB, free: 32.13 MB / 1.167 GB Notification: Performance of pre-optimization done (n=339): time 3.739e-05/33.17, allocations: 0.9844 kB / 6.488 GB, free: 32.13 MB / 1.167 GB Notification: Performance of matching and sorting (n=339): time 0.02154/33.19, allocations: 4.164 MB / 6.492 GB, free: 31.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/33.19, allocations: 89.19 kB / 6.492 GB, free: 31.34 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03706/33.23, allocations: 8.227 MB / 6.5 GB, free: 30.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001672/33.23, allocations: 117.1 kB / 6.5 GB, free: 30.66 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01253/33.24, allocations: 5.546 MB / 6.505 GB, free: 29.12 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.003284/33.25, allocations: 1.177 MB / 6.507 GB, free: 28.38 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00142/33.25, allocations: 97.44 kB / 6.507 GB, free: 28.38 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0007679/33.25, allocations: 493.8 kB / 6.507 GB, free: 28.06 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007432/33.26, allocations: 1.502 MB / 6.509 GB, free: 28.05 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/33.27, allocations: 3.608 MB / 6.512 GB, free: 25.44 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009285/33.27, allocations: 2.11 MB / 6.514 GB, free: 25.37 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/33.27, allocations: 17.59 kB / 6.514 GB, free: 25.37 MB / 1.167 GB Notification: Performance of matching and sorting (n=612) (initialization): time 0.03008/33.3, allocations: 5.882 MB / 6.52 GB, free: 24.66 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.01799/33.32, allocations: 31.29 MB / 6.551 GB, free: 23.56 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003187/33.32, allocations: 53.78 kB / 6.551 GB, free: 23.56 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/33.33, allocations: 0.5185 MB / 6.551 GB, free: 23.48 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01311/33.34, allocations: 1.117 MB / 6.552 GB, free: 23.48 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/33.35, allocations: 8.299 MB / 6.56 GB, free: 16.67 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02198/33.37, allocations: 0.7126 MB / 6.561 GB, free: 16.62 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002033/33.38, allocations: 274.1 kB / 6.561 GB, free: 16.61 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/33.38, allocations: 5.219 kB / 6.561 GB, free: 16.61 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02339/33.4, allocations: 4.866 MB / 6.566 GB, free: 16.44 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002623/33.4, allocations: 56.59 kB / 6.566 GB, free: 16.44 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003819/33.4, allocations: 0.525 MB / 6.567 GB, free: 16.36 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01238/33.42, allocations: 1.081 MB / 6.568 GB, free: 16.36 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/33.43, allocations: 8.295 MB / 6.576 GB, free: 9.543 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0193/33.45, allocations: 0.702 MB / 6.576 GB, free: 9.492 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001852/33.45, allocations: 250.5 kB / 6.577 GB, free: 9.492 MB / 1.198 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.00347/33.45, allocations: 449.9 kB / 6.577 GB, free: 9.348 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004731/33.46, allocations: 0.9793 MB / 6.578 GB, free: 8.824 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0276/33.49, allocations: 5.052 MB / 6.583 GB, free: 8.453 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001078/33.49, allocations: 39.42 kB / 6.583 GB, free: 8.453 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/33.49, allocations: 0 / 6.583 GB, free: 8.453 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0131/33.5, allocations: 3.479 MB / 6.586 GB, free: 8.211 MB / 1.198 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.0426/33.54, allocations: 12.24 MB / 6.598 GB, free: 7.453 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-05/33.54, allocations: 4.156 kB / 6.598 GB, free: 7.453 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006918/33.55, allocations: 0.7051 MB / 6.599 GB, free: 7.453 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/33.55, allocations: 453.5 kB / 6.6 GB, free: 7.375 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008256/33.55, allocations: 112.3 kB / 6.6 GB, free: 7.375 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008318/33.56, allocations: 8.213 MB / 6.608 GB, free: 16.55 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/33.56, allocations: 0 / 6.608 GB, free: 16.55 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01976/33.58, allocations: 6.875 MB / 6.614 GB, free: 15.45 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007918/33.59, allocations: 1.709 MB / 6.616 GB, free: 14.82 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003847/33.59, allocations: 75.16 kB / 6.616 GB, free: 14.82 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0137/33.61, allocations: 0.6469 MB / 6.617 GB, free: 14.77 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009954/33.61, allocations: 227 kB / 6.617 GB, free: 14.76 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008013/33.61, allocations: 181.9 kB / 6.617 GB, free: 14.76 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01855/33.63, allocations: 6.304 MB / 6.623 GB, free: 14.43 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.082e-06/33.63, allocations: 0 / 6.623 GB, free: 14.43 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.032/33.66, allocations: 5.756 MB / 6.629 GB, free: 13.58 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.03662/33.7, allocations: 14.32 MB / 6.643 GB, free: 8.387 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02029/33.72, allocations: 7.393 MB / 6.65 GB, free: 7.832 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/33.72, allocations: 3.5 kB / 6.65 GB, free: 7.832 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.00621/33.72, allocations: 2.138 MB / 6.652 GB, free: 7.598 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0391/33.76, allocations: 4.856 MB / 6.657 GB, free: 7.355 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06352/33.82, allocations: 17.26 MB / 6.674 GB, free: 2.879 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/33.84, allocations: 5.665 MB / 6.679 GB, free: 1.816 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.0308/33.87, allocations: 3.802 MB / 6.683 GB, free: 1.32 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01104/33.88, allocations: 4.881 MB / 6.688 GB, free: 1.309 MB / 1.214 GB Notification: Performance of SimCode: time 1.563e-06/33.88, allocations: 0 / 6.688 GB, free: 1.309 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.003/35.88, allocations: 326 MB / 7.006 GB, free: 127.1 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002414/35.88, allocations: 253.9 kB / 7.006 GB, free: 126.7 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.53/55.41, allocations: 4 kB / 7.006 GB, free: 126.7 MB / 1.245 GB