Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvePressureIndependent",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.702/4.702, allocations: 404.1 MB / 411.3 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.039e-05/3.039e-05, allocations: 4 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6818/0.6819, allocations: 92.69 MB / 0.5851 GB, free: 2.297 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.905, allocations: 371.5 MB / 0.9478 GB, free: 8.512 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003989/1.906, allocations: 95.89 kB / 0.9479 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.572/3.478, allocations: 220.7 MB / 1.163 GB, free: 224.4 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.653e-06/3.478, allocations: 0 / 1.163 GB, free: 224.4 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.195e-05/3.478, allocations: 20 kB / 1.163 GB, free: 224.4 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 132 * Number of variables: 132 Notification: Performance of Generate backend data structure: time 0.002628/3.481, allocations: 0.985 MB / 1.164 GB, free: 223.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/3.481, allocations: 20 kB / 1.164 GB, free: 223.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/3.484, allocations: 254.8 kB / 1.165 GB, free: 223.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/3.486, allocations: 0.5349 MB / 1.165 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.461e-05/3.486, allocations: 19 kB / 1.165 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/3.486, allocations: 32 kB / 1.165 GB, free: 222.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001412/3.488, allocations: 430.5 kB / 1.166 GB, free: 222 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/3.489, allocations: 0.656 MB / 1.166 GB, free: 221.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/3.489, allocations: 3.938 kB / 1.166 GB, free: 221.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.346e-05/3.489, allocations: 4 kB / 1.166 GB, free: 221.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/3.489, allocations: 16 kB / 1.166 GB, free: 221.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007564/3.497, allocations: 4.315 MB / 1.171 GB, free: 216.7 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/3.498, allocations: 361.8 kB / 1.171 GB, free: 216.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005406/3.498, allocations: 212.9 kB / 1.171 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/3.499, allocations: 23.97 kB / 1.171 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/3.499, allocations: 38.84 kB / 1.171 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=38): time 4.568e-06/3.499, allocations: 4 kB / 1.171 GB, free: 216.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=38): time 0.01128/3.51, allocations: 1.128 MB / 1.172 GB, free: 214.9 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/3.51, allocations: 166.3 kB / 1.172 GB, free: 214.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/3.511, allocations: 451.2 kB / 1.173 GB, free: 214.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001532/3.511, allocations: 25.7 kB / 1.173 GB, free: 214.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002946/3.511, allocations: 379.5 kB / 1.173 GB, free: 213.9 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/3.512, allocations: 126.2 kB / 1.173 GB, free: 213.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.259e-05/3.512, allocations: 0 / 1.173 GB, free: 213.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001413/3.512, allocations: 370.7 kB / 1.174 GB, free: 213.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000762/3.513, allocations: 245.5 kB / 1.174 GB, free: 213.1 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009029/3.514, allocations: 476.4 kB / 1.174 GB, free: 212.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004877/3.518, allocations: 0.5947 MB / 1.175 GB, free: 212 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/3.518, allocations: 4 kB / 1.175 GB, free: 211.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.006783/3.525, allocations: 1.099 MB / 1.176 GB, free: 210.8 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006367/3.526, allocations: 2.793 MB / 1.179 GB, free: 207.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/3.526, allocations: 4 kB / 1.179 GB, free: 207.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/3.527, allocations: 191.3 kB / 1.179 GB, free: 207.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00263/3.53, allocations: 227.6 kB / 1.179 GB, free: 207.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004314/3.534, allocations: 0.8645 MB / 1.18 GB, free: 206.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/3.537, allocations: 175.2 kB / 1.18 GB, free: 206.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/3.537, allocations: 47.95 kB / 1.18 GB, free: 206.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/3.537, allocations: 4 kB / 1.18 GB, free: 206.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006266/3.544, allocations: 0.9601 MB / 1.181 GB, free: 205.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/3.544, allocations: 7.953 kB / 1.181 GB, free: 205.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/3.544, allocations: 16.12 kB / 1.181 GB, free: 205.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/3.547, allocations: 266.4 kB / 1.181 GB, free: 205.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/3.547, allocations: 19.92 kB / 1.182 GB, free: 205 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/3.55, allocations: 155.4 kB / 1.182 GB, free: 204.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001751/3.55, allocations: 43.95 kB / 1.182 GB, free: 204.8 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.000347/3.55, allocations: 128.7 kB / 1.182 GB, free: 204.7 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00781/3.558, allocations: 0.8605 MB / 1.183 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/3.559, allocations: 75.2 kB / 1.183 GB, free: 203.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00858/3.567, allocations: 0.9173 MB / 1.184 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/3.567, allocations: 8 kB / 1.184 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/3.567, allocations: 0 / 1.184 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/3.567, allocations: 0 / 1.184 GB, free: 202.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02024/3.588, allocations: 2.444 MB / 1.186 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/3.588, allocations: 4.125 kB / 1.186 GB, free: 200.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002717/3.59, allocations: 159.8 kB / 1.186 GB, free: 200.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009821/3.591, allocations: 164.5 kB / 1.186 GB, free: 200 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/3.592, allocations: 15.97 kB / 1.186 GB, free: 200 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005649/3.597, allocations: 0.8411 MB / 1.187 GB, free: 199.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/3.597, allocations: 0 / 1.187 GB, free: 199.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01485/3.612, allocations: 1.392 MB / 1.189 GB, free: 197.7 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009725/3.613, allocations: 204.1 kB / 1.189 GB, free: 197.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/3.614, allocations: 7.984 kB / 1.189 GB, free: 197.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003586/3.617, allocations: 135.8 kB / 1.189 GB, free: 197.3 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002171/3.617, allocations: 27.95 kB / 1.189 GB, free: 197.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/3.618, allocations: 27.91 kB / 1.189 GB, free: 197.3 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0008856/3.619, allocations: 335.2 kB / 1.189 GB, free: 196.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.72e-07/3.619, allocations: 0 / 1.189 GB, free: 196.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003431/3.622, allocations: 395.2 kB / 1.19 GB, free: 196.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01515/3.637, allocations: 2.438 MB / 1.192 GB, free: 194.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.006078/3.643, allocations: 1.077 MB / 1.193 GB, free: 193 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/3.643, allocations: 4.25 kB / 1.193 GB, free: 193 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003356/3.647, allocations: 379.6 kB / 1.193 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/3.65, allocations: 231.3 kB / 1.194 GB, free: 192.4 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/3.654, allocations: 0.9649 MB / 1.195 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004729/3.655, allocations: 0.9199 MB / 1.195 GB, free: 190.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002345/3.657, allocations: 204.9 kB / 1.196 GB, free: 190.2 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008274/3.658, allocations: 255.3 kB / 1.196 GB, free: 190 MB / 0.7761 GB Notification: Performance of SimCode: time 1.242e-06/3.658, allocations: 0 / 1.196 GB, free: 190 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09232/3.75, allocations: 19.7 MB / 1.215 GB, free: 170.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003218/3.751, allocations: 204.9 kB / 1.215 GB, free: 170.2 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.028/7.779, allocations: 0 / 1.215 GB, free: 170.2 MB / 0.7761 GB