Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.TerminalUnits.Reheat.Validation.DamperValves,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_TerminalUnits_Reheat_Validation_DamperValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.14/4.14, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.808e-05, allocations: 8.031 kB / 0.5338 GB, free: 12.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2162, allocations: 98.73 MB / 0.6302 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2447/0.4609, allocations: 133.8 MB / 0.761 GB, free: 60 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/0.4613, allocations: 83.94 kB / 0.761 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6794/1.141, allocations: 21.03 MB / 0.7816 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.225e-06/1.141, allocations: 0 / 0.7816 GB, free: 132.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001194/1.141, allocations: 39.88 kB / 0.7816 GB, free: 132.8 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.003691/1.145, allocations: 1.323 MB / 0.7829 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.145, allocations: 16.3 kB / 0.7829 GB, free: 132.1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003604/1.145, allocations: 177.2 kB / 0.7831 GB, free: 132 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000413/1.145, allocations: 154.2 kB / 0.7832 GB, free: 131.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/1.147, allocations: 0.7419 MB / 0.784 GB, free: 131.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001314/1.147, allocations: 99.22 kB / 0.7841 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002848/1.148, allocations: 129.4 kB / 0.7842 GB, free: 131.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003258/1.151, allocations: 1.209 MB / 0.7854 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/1.151, allocations: 4.656 kB / 0.7854 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001983/1.151, allocations: 57.78 kB / 0.7854 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/1.151, allocations: 27.53 kB / 0.7854 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00314/1.154, allocations: 0.8566 MB / 0.7863 GB, free: 131.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/1.165, allocations: 3.931 MB / 0.7901 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/1.167, allocations: 0.8569 MB / 0.791 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009657/1.168, allocations: 365.5 kB / 0.7913 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 9.46e-05/1.168, allocations: 14.28 kB / 0.7913 GB, free: 130.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001388/1.17, allocations: 0.5474 MB / 0.7919 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=90): time 3.937e-06/1.17, allocations: 0 / 0.7919 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=90): time 0.0026/1.172, allocations: 0.8521 MB / 0.7927 GB, free: 130.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.173, allocations: 243.6 kB / 0.7929 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/1.175, allocations: 0.7886 MB / 0.7937 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003524/1.175, allocations: 66.12 kB / 0.7937 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/1.176, allocations: 0.5224 MB / 0.7943 GB, free: 129.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003928/1.176, allocations: 255 kB / 0.7945 GB, free: 129 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/1.176, allocations: 20.88 kB / 0.7945 GB, free: 129 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/1.176, allocations: 349.6 kB / 0.7949 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000956/1.177, allocations: 307.8 kB / 0.7951 GB, free: 128.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/1.178, allocations: 0.5634 MB / 0.7957 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009335/1.179, allocations: 337.5 kB / 0.796 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.179, allocations: 5.188 kB / 0.796 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002652/1.182, allocations: 0.9323 MB / 0.7969 GB, free: 127.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005169/1.182, allocations: 1.84 MB / 0.7987 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.357e-05/1.183, allocations: 4.438 kB / 0.7987 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.645e-05/1.183, allocations: 10.09 kB / 0.7987 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/1.185, allocations: 184.8 kB / 0.7989 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.727e-05/1.185, allocations: 8.938 kB / 0.7989 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/1.187, allocations: 186.4 kB / 0.7991 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.187, allocations: 35.47 kB / 0.7991 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/1.187, allocations: 6.125 kB / 0.7992 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002238/1.189, allocations: 0.8014 MB / 0.7999 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/1.189, allocations: 7.938 kB / 0.7999 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.189, allocations: 10.88 kB / 0.8 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/1.191, allocations: 166 kB / 0.8001 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.609e-05/1.191, allocations: 15.78 kB / 0.8001 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/1.192, allocations: 160.4 kB / 0.8003 GB, free: 125 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/1.192, allocations: 39.89 kB / 0.8003 GB, free: 125 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 61 ($PRE.damVal.truHol2.onDelay.u,$PRE.damVal.truHol2.toOutputTrue.enableFire,$PRE.damVal.truHol2.toInitial.enableFire,$PRE.damVal.truDel3.u,$PRE.damVal.truDel4.u,$whenCondition7,$PRE.damVal.truDel4.t_next,$whenCondition4,$PRE.damVal.truDel3.t_next,$whenCondition1,$PRE.damVal.truHol2.onDelay.t_next,damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.truHol2.stateGraphRoot.resume,damVal.truHol2.stateGraphRoot.suspend,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,$PRE.damVal.hys2.y,damVal.hys2.y,$PRE.damVal.hys3.y,damVal.hys3.y,$PRE.damVal.hys4.y,damVal.hys4.y,$PRE.damVal.hys6.y,damVal.hys6.y,$PRE.damVal.hys7.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.u,damVal.truHol2.onDelay.y,$PRE.damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.localActive,$PRE.damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.newActive,$PRE.damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.initialStep.active,$PRE.damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.localActive,$PRE.damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.newActive,$PRE.damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.outputTrue.active,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.u,damVal.truDel3.y,damVal.truDel4.u,damVal.truDel4.y,damVal.or2.y,damVal.and1.y,damVal.conDam.trigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 129 * 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.0004305/1.193, allocations: 214.2 kB / 0.8005 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/1.193, allocations: 108.4 kB / 0.8006 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002762/1.196, allocations: 0.9465 MB / 0.8015 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/1.196, allocations: 10.22 kB / 0.8016 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/1.196, allocations: 0 / 0.8016 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/1.196, allocations: 6.422 kB / 0.8016 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/1.201, allocations: 2.358 MB / 0.8039 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/1.201, allocations: 8.094 kB / 0.8039 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.202, allocations: 136.4 kB / 0.804 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.498e-05/1.203, allocations: 3.75 kB / 0.804 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001101/1.203, allocations: 25.16 kB / 0.804 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/1.203, allocations: 11.09 kB / 0.804 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.203, allocations: 7.594 kB / 0.804 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003506/1.206, allocations: 1.521 MB / 0.8055 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008192/1.207, allocations: 284.7 kB / 0.8058 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/1.207, allocations: 30.02 kB / 0.8058 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.209, allocations: 100.2 kB / 0.8059 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003189/1.209, allocations: 112.2 kB / 0.806 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.209, allocations: 39.25 kB / 0.8061 GB, free: 122.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001079/1.21, allocations: 0.5762 MB / 0.8066 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/1.21, allocations: 0 / 0.8066 GB, free: 121.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002167/1.212, allocations: 398.2 kB / 0.807 GB, free: 121.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (damVal.conVal.I.y,damVal.conDam.I.y) * Number of discrete variables: 41 (damVal.truDel4.u,damVal.truHol2.onDelay.u,damVal.truHol2.outputTrue.localActive,damVal.truHol2.outputTrue.active,damVal.truHol2.initialStep.active,damVal.truDel3.u,$cse1,$cse2,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,damVal.and2.y,damVal.and4.y,damVal.hys2.y,damVal.hys3.y,damVal.hys4.y,damVal.hys6.y,damVal.hys7.y,damVal.truHol2.stateGraphRoot.activeSteps,damVal.truHol2.onDelay.y,damVal.truHol2.onDelay.t_next,damVal.truHol2.initialStep.localActive,damVal.truHol2.initialStep.newActive,damVal.truHol2.initialStep.oldActive,damVal.truHol2.outputTrue.newActive,damVal.truHol2.outputTrue.oldActive,damVal.truHol2.toOutputTrue.enableFire,damVal.truHol2.toInitial.enableFire,damVal.truDel3.y,damVal.truDel3.t_next,damVal.truDel4.y,damVal.truDel4.t_next,damVal.or2.y,damVal.and1.y) * Number of discrete states: 10 (damVal.truDel4.t_next,damVal.truDel3.t_next,damVal.truHol2.onDelay.t_next,damVal.hys4.y,damVal.hys6.y,damVal.truHol2.initialStep.newActive,damVal.truHol2.outputTrue.newActive,damVal.hys3.y,damVal.hys7.y,damVal.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003814/1.216, allocations: 2.413 MB / 0.8094 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003225/1.219, allocations: 1.288 MB / 0.8106 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.219, allocations: 3.156 kB / 0.8106 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001168/1.221, allocations: 459.3 kB / 0.8111 GB, free: 119.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.222, allocations: 218 kB / 0.8113 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/1.227, allocations: 1.639 MB / 0.8129 GB, free: 118.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006151/1.228, allocations: 1.109 MB / 0.814 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001566/1.23, allocations: 212.7 kB / 0.8142 GB, free: 117.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009839/1.231, allocations: 463.3 kB / 0.8146 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.123e-06/1.231, allocations: 3.938 kB / 0.8146 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06734/1.298, allocations: 23.25 MB / 0.8373 GB, free: 97.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/1.299, allocations: 183.8 kB / 0.8375 GB, free: 97.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/4.924, allocations: 0 / 0.8375 GB, free: 97.59 MB / 0.6511 GB