Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.Controller,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_Controller",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.523/4.523, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.729e-05, allocations: 4 kB / 0.5732 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.2401, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9504/1.191, allocations: 143.9 MB / 0.8183 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/1.191, allocations: 88.36 kB / 0.8184 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1286/1.32, allocations: 33.02 MB / 0.8507 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.024e-06/1.32, allocations: 0 / 0.8507 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002328/1.32, allocations: 43.53 kB / 0.8507 GB, free: 12.81 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004759/1.325, allocations: 1.555 MB / 0.8522 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.001e-05/1.325, allocations: 12.02 kB / 0.8522 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006011/1.325, allocations: 170.9 kB / 0.8524 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007254/1.326, allocations: 201.6 kB / 0.8526 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003492/1.33, allocations: 1.031 MB / 0.8536 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002351/1.33, allocations: 134.9 kB / 0.8537 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00037/1.33, allocations: 133.1 kB / 0.8539 GB, free: 9.988 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003541/1.334, allocations: 1.303 MB / 0.8551 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.225e-05/1.334, allocations: 3.938 kB / 0.8551 GB, free: 8.961 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/1.334, allocations: 49.69 kB / 0.8552 GB, free: 8.945 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.453e-05/1.334, allocations: 31.94 kB / 0.8552 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/1.337, allocations: 0.8595 MB / 0.8561 GB, free: 8.371 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/1.348, allocations: 5.538 MB / 0.8615 GB, free: 3.723 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/1.35, allocations: 0.6782 MB / 0.8621 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008684/1.351, allocations: 356 kB / 0.8625 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.884e-05/1.351, allocations: 16.69 kB / 0.8625 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.353, allocations: 476.1 kB / 0.8629 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=93): time 6.352e-06/1.353, allocations: 0 / 0.8629 GB, free: 2.727 MB / 0.6511 GB Notification: Performance of matching and sorting (n=93): time 0.002419/1.355, allocations: 0.7965 MB / 0.8637 GB, free: 2.105 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/1.355, allocations: 119.2 kB / 0.8638 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003647/1.359, allocations: 1.468 MB / 0.8653 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003329/1.359, allocations: 70.45 kB / 0.8653 GB, free: 0.8125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001011/1.36, allocations: 0.7458 MB / 0.8661 GB, free: 420 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/1.361, allocations: 228.4 kB / 0.8663 GB, free: 248 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/1.361, allocations: 25.38 kB / 0.8663 GB, free: 244 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001937/1.361, allocations: 361 kB / 0.8666 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001071/1.362, allocations: 378.5 kB / 0.867 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/1.364, allocations: 0.7335 MB / 0.8677 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.365, allocations: 392.6 kB / 0.8681 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.365, allocations: 7.938 kB / 0.8681 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.004352/1.369, allocations: 1.193 MB / 0.8693 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.963e-05/1.369, allocations: 16.03 kB / 0.8693 GB, free: 13.74 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/1.369, allocations: 8 kB / 0.8693 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.616e-05/1.369, allocations: 23.94 kB / 0.8693 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.371, allocations: 165.6 kB / 0.8695 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.327e-05/1.371, allocations: 20 kB / 0.8695 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.372, allocations: 118.3 kB / 0.8696 GB, free: 13.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/1.373, allocations: 62.17 kB / 0.8697 GB, free: 13.39 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 118 ($PRE.con.transition3.enableFire,$PRE.con.transition5.enableFire,$PRE.con.transition9.enableFire,$PRE.con.transition7.enableFire,$PRE.con.transition10.enableFire,$PRE.con.transition1.enableFire,$PRE.con.transition2.enableFire,$PRE.con.transition8.enableFire,$PRE.con.transition6.enableFire,$PRE.con.transition4.enableFire,$whenCondition10,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition9,$PRE.avaSig.combiTimeTable.nextTimeEvent,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,$PRE.con.staBy.localActive,con.staBy.localActive,con.staBy.outPort[2].available,$PRE.con.staBy.newActive,con.staBy.newActive,$PRE.con.staBy.oldActive,con.staBy.oldActive,con.staBy.active,$PRE.con.pumOn.localActive,con.pumOn.localActive,con.pumOn.outPort[2].available,$PRE.con.pumOn.newActive,con.pumOn.newActive,$PRE.con.pumOn.oldActive,con.pumOn.oldActive,con.pumOn.active,$PRE.con.warUp.localActive,con.warUp.localActive,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,$PRE.con.warUp.newActive,con.warUp.newActive,$PRE.con.warUp.oldActive,con.warUp.oldActive,con.warUp.active,$PRE.con.cooDow.localActive,con.cooDow.localActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,$PRE.con.cooDow.newActive,con.cooDow.newActive,$PRE.con.cooDow.oldActive,con.cooDow.oldActive,con.cooDow.active,$PRE.con.hys.y,con.hys.y,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,$PRE.con.assWatMas.hys.y,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,$PRE.con.nor.localActive,con.nor.localActive,$PRE.con.nor.newActive,con.nor.newActive,$PRE.con.nor.oldActive,con.nor.oldActive,con.nor.active,con.transition8.enableFire,$PRE.con.warUpCtr.timer.passed,con.warUpCtr.timer.passed,$PRE.con.warUpCtr.timer.entryTime,con.warUpCtr.timer.entryTime,con.transition6.enableFire,$PRE.con.plaOff.localActive,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,$PRE.con.plaOff.newActive,con.plaOff.newActive,$PRE.con.plaOff.oldActive,con.plaOff.oldActive,con.plaOff.active,con.transition4.enableFire,con.transition4.fire,$PRE.con.transition4.t_start,con.transition4.t_start,$PRE.con.timer.passed,con.timer.passed,$PRE.con.timer.entryTime,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,$PRE.avaSig.combiTimeTable.nextTimeEventScaled,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 173 * 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.0005553/1.373, allocations: 255.4 kB / 0.8699 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005077/1.374, allocations: 154.1 kB / 0.8701 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/1.376, allocations: 0.956 MB / 0.871 GB, free: 12.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-05/1.377, allocations: 11.98 kB / 0.871 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/1.377, allocations: 4 kB / 0.871 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/1.377, allocations: 3.984 kB / 0.871 GB, free: 12.31 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/1.383, allocations: 2.434 MB / 0.8734 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.383, allocations: 0 / 0.8734 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/1.384, allocations: 61.97 kB / 0.8734 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/1.384, allocations: 7.953 kB / 0.8735 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001317/1.384, allocations: 28.28 kB / 0.8735 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.245e-05/1.384, allocations: 4 kB / 0.8735 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.384, allocations: 0 / 0.8735 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/1.386, allocations: 0.998 MB / 0.8745 GB, free: 9.617 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005877/1.387, allocations: 251.5 kB / 0.8747 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003335/1.387, allocations: 37 kB / 0.8747 GB, free: 9.352 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008324/1.388, allocations: 54.52 kB / 0.8748 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004631/1.389, allocations: 137.9 kB / 0.8749 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.389, allocations: 38.67 kB / 0.875 GB, free: 9.172 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002447/1.391, allocations: 1.001 MB / 0.8759 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.31e-07/1.391, allocations: 0 / 0.8759 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001882/1.393, allocations: 285 kB / 0.8762 GB, free: 8.195 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 86 (con.transition4.enableFire,con.plaOff.active,con.nor.active,con.cooDow.active,con.cooDow.localActive,con.warUp.active,con.warUp.localActive,con.pumOn.localActive,con.staBy.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$whenCondition10,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,con.runSig,con.opeMod,con.staBy.outPort[2].available,con.staBy.newActive,con.staBy.oldActive,con.staBy.active,con.pumOn.outPort[2].available,con.pumOn.newActive,con.pumOn.oldActive,con.pumOn.active,con.warUp.inPort[2].occupied,con.warUp.outPort[2].available,con.warUp.newActive,con.warUp.oldActive,con.cooDow.inPort[2].occupied,con.cooDow.outPort[2].available,con.cooDow.newActive,con.cooDow.oldActive,con.hys.y,con.and1.y,con.transition3.enableFire,con.transition5.enableFire,con.transition9.enableFire,con.transition7.enableFire,con.and3.y,con.transition10.enableFire,con.and4.u2,con.and4.y,con.assWatMas.assMes.u,con.assWatMas.hys.y,con.transition1.enableFire,con.transition2.enableFire,con.nor.localActive,con.nor.newActive,con.nor.oldActive,con.transition8.enableFire,con.warUpCtr.timer.passed,con.warUpCtr.timer.entryTime,con.transition6.enableFire,con.plaOff.localActive,con.plaOff.inPort[2].occupied,con.plaOff.inPort[3].occupied,con.plaOff.newActive,con.plaOff.oldActive,con.transition4.fire,con.transition4.t_start,con.timer.passed,con.timer.entryTime,avaSig.y,avaSig.combiTimeTable.nextTimeEvent,avaSig.combiTimeTable.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 16 (mWat_flow.tab.nextTimeEvent,avaSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,con.staBy.newActive,con.pumOn.newActive,con.warUp.newActive,con.warUpCtr.timer.entryTime,con.cooDow.newActive,con.timer.entryTime,con.nor.newActive,con.plaOff.newActive,mWat_flow.tab.nextTimeEventScaled,con.assWatMas.hys.y,con.hys.y,avaSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.00428/1.398, allocations: 1.967 MB / 0.8781 GB, free: 6.57 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002769/1.4, allocations: 0.922 MB / 0.879 GB, free: 5.922 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/1.4, allocations: 3.938 kB / 0.879 GB, free: 5.918 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/1.402, allocations: 446.5 kB / 0.8795 GB, free: 5.629 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.404, allocations: 216.2 kB / 0.8797 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007817/1.411, allocations: 2.351 MB / 0.882 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/1.413, allocations: 1.343 MB / 0.8833 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001254/1.414, allocations: 222 kB / 0.8835 GB, free: 1.902 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00127/1.415, allocations: 0.6338 MB / 0.8841 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of SimCode: time 1.072e-06/1.415, allocations: 0 / 0.8841 GB, free: 1.754 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09302/1.509, allocations: 29.79 MB / 0.9132 GB, free: 4.195 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/1.509, allocations: 206.7 kB / 0.9134 GB, free: 3.965 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.952/5.46, allocations: 3.938 kB / 0.9134 GB, free: 3.961 MB / 0.698 GB