Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.436/4.436, allocations: 464.6 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.541e-05/5.561e-05, allocations: 9.188 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2556, allocations: 107.2 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9063/1.162, allocations: 139.6 MB / 0.8142 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/1.162, allocations: 87.47 kB / 0.8143 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0565/1.219, allocations: 14.22 MB / 0.8282 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.984e-06/1.219, allocations: 0 / 0.8282 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.317e-05/1.219, allocations: 23.47 kB / 0.8282 GB, free: 8.488 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001589/1.221, allocations: 0.8226 MB / 0.829 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.221, allocations: 7.781 kB / 0.829 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000174/1.221, allocations: 96.02 kB / 0.8291 GB, free: 7.773 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002127/1.221, allocations: 89.14 kB / 0.8292 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009332/1.222, allocations: 438.8 kB / 0.8296 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.271e-05/1.222, allocations: 44.38 kB / 0.8296 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.222, allocations: 54.41 kB / 0.8297 GB, free: 7.418 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/1.223, allocations: 0.5992 MB / 0.8303 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/1.223, allocations: 0 / 0.8303 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.493e-05/1.224, allocations: 22.25 kB / 0.8303 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/1.224, allocations: 18.52 kB / 0.8303 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008802/1.224, allocations: 356.1 kB / 0.8307 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00348/1.228, allocations: 2.553 MB / 0.8331 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/1.229, allocations: 282.6 kB / 0.8334 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/1.229, allocations: 132.1 kB / 0.8335 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/1.229, allocations: 3.906 kB / 0.8335 GB, free: 5.066 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004784/1.23, allocations: 211.2 kB / 0.8337 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=39): time 3.677e-06/1.23, allocations: 0 / 0.8337 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=39): time 0.0009072/1.231, allocations: 346.5 kB / 0.8341 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/1.231, allocations: 88.78 kB / 0.8342 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/1.232, allocations: 0.563 MB / 0.8347 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.827e-05/1.232, allocations: 50.28 kB / 0.8348 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005369/1.232, allocations: 366.7 kB / 0.8351 GB, free: 20.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/1.232, allocations: 92.34 kB / 0.8352 GB, free: 20.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/1.232, allocations: 17.5 kB / 0.8352 GB, free: 20.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002057/1.233, allocations: 378.3 kB / 0.8356 GB, free: 19.97 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/1.233, allocations: 125.9 kB / 0.8357 GB, free: 19.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/1.233, allocations: 317.8 kB / 0.836 GB, free: 19.72 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/1.234, allocations: 147.3 kB / 0.8361 GB, free: 19.69 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/1.234, allocations: 3.844 kB / 0.8361 GB, free: 19.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001106/1.235, allocations: 492.9 kB / 0.8366 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/1.235, allocations: 7.562 kB / 0.8366 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.235, allocations: 11.55 kB / 0.8366 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/1.235, allocations: 11.25 kB / 0.8366 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/1.236, allocations: 83.67 kB / 0.8367 GB, free: 19.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.979e-05/1.236, allocations: 7.531 kB / 0.8367 GB, free: 19.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/1.236, allocations: 46.05 kB / 0.8368 GB, free: 19.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.26e-05/1.236, allocations: 28.78 kB / 0.8368 GB, free: 19.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * 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.0002241/1.236, allocations: 169.3 kB / 0.837 GB, free: 19.36 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/1.236, allocations: 65 kB / 0.837 GB, free: 19.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/1.237, allocations: 399.7 kB / 0.8374 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/1.237, allocations: 11.78 kB / 0.8374 GB, free: 19.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/1.238, allocations: 7.656 kB / 0.8374 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.238, allocations: 4 kB / 0.8374 GB, free: 19.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/1.24, allocations: 1.063 MB / 0.8385 GB, free: 18.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/1.24, allocations: 0 / 0.8385 GB, free: 18.67 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/1.24, allocations: 26.67 kB / 0.8385 GB, free: 18.66 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/1.24, allocations: 0 / 0.8385 GB, free: 18.66 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/1.24, allocations: 10.34 kB / 0.8385 GB, free: 18.66 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/1.24, allocations: 7.938 kB / 0.8385 GB, free: 18.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/1.24, allocations: 0 / 0.8385 GB, free: 18.65 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008476/1.241, allocations: 476.7 kB / 0.839 GB, free: 18.45 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/1.241, allocations: 146.3 kB / 0.8391 GB, free: 18.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.241, allocations: 14.39 kB / 0.8391 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/1.242, allocations: 10.69 kB / 0.8391 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.242, allocations: 49.45 kB / 0.8392 GB, free: 18.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.58e-05/1.242, allocations: 26.2 kB / 0.8392 GB, free: 18.27 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007027/1.242, allocations: 419.5 kB / 0.8396 GB, free: 18.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.242, allocations: 0 / 0.8396 GB, free: 18.14 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008328/1.243, allocations: 124.3 kB / 0.8397 GB, free: 18.13 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.002425/1.246, allocations: 1.349 MB / 0.841 GB, free: 17.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001001/1.247, allocations: 360.2 kB / 0.8414 GB, free: 17.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/1.247, allocations: 3.844 kB / 0.8414 GB, free: 17.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003679/1.247, allocations: 169.5 kB / 0.8415 GB, free: 17.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007942/1.248, allocations: 81.41 kB / 0.8416 GB, free: 17.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/1.251, allocations: 0.9408 MB / 0.8425 GB, free: 16.76 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/1.251, allocations: 0.9495 MB / 0.8435 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004557/1.252, allocations: 74.77 kB / 0.8435 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004388/1.252, allocations: 257.3 kB / 0.8438 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/1.252, allocations: 0 / 0.8438 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04876/1.301, allocations: 12.15 MB / 0.8557 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003561/1.302, allocations: 203.4 kB / 0.8558 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/4.376, allocations: 0 / 0.8558 GB, free: 4.477 MB / 0.6511 GB