Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(Buildings): time 4.235/4.235, allocations: 431.3 MB / 445.8 MB, free: 5.43 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.937e-05, allocations: 4 kB / 0.5354 GB, free: 14.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6282, allocations: 98.71 MB / 0.6318 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1091/0.7374, allocations: 64.87 MB / 0.6951 GB, free: 10.93 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.04217/0.7796, allocations: 18.02 MB / 0.7127 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003812/0.7835, allocations: 119.3 kB / 0.7128 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.005462/0.789, allocations: 1.205 MB / 0.714 GB, free: 7.551 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.801, allocations: 2.85 MB / 0.7168 GB, free: 4.691 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.8164, allocations: 3.693 MB / 0.7204 GB, free: 1 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0157/0.8321, allocations: 6.925 MB / 0.7272 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008448/0.8406, allocations: 3.969 MB / 0.7311 GB, free: 6.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009613/0.8503, allocations: 3.604 MB / 0.7346 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007986/0.8583, allocations: 3.104 MB / 0.7376 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00631/0.8647, allocations: 1.186 MB / 0.7388 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.002403/0.8671, allocations: 264 kB / 0.739 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.8702, allocations: 1.164 MB / 0.7402 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.003088/0.8733, allocations: 0.5586 MB / 0.7407 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.013/0.8864, allocations: 6.995 MB / 0.7475 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.8864, allocations: 0 / 0.7475 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.975e-06/0.8865, allocations: 0 / 0.7475 GB, free: 5.16 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003546/0.8868, allocations: 0 / 0.7475 GB, free: 5.16 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 848 * Number of variables: 848 Notification: Performance of Generate backend data structure: time 0.01501/0.9018, allocations: 4.556 MB / 0.752 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.9019, allocations: 12.03 kB / 0.752 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00648/0.9084, allocations: 0.8518 MB / 0.7528 GB, free: 15.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01597/0.9244, allocations: 4.808 MB / 0.7575 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003814/0.9248, allocations: 271.2 kB / 0.7578 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001514/0.9264, allocations: 355.9 kB / 0.7581 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.9442, allocations: 5.81 MB / 0.7638 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.9444, allocations: 11.88 kB / 0.7638 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009177/0.9453, allocations: 160 kB / 0.764 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.83e-05/0.9454, allocations: 80 kB / 0.764 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01776/0.9632, allocations: 5.601 MB / 0.7695 GB, free: 14.23 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.05913/1.022, allocations: 24.43 MB / 0.7934 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01048/1.033, allocations: 3.021 MB / 0.7963 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.563/1.596, allocations: 7.432 MB / 0.8036 GB, free: 150.3 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00618/1.602, allocations: 1.973 MB / 0.8055 GB, free: 149.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007449/1.61, allocations: 1.279 MB / 0.8067 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=162): time 1.496e-05/1.61, allocations: 1 kB / 0.8067 GB, free: 149.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=162): time 0.03609/1.646, allocations: 7.465 MB / 0.814 GB, free: 147.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.646, allocations: 307.7 kB / 0.8143 GB, free: 146.8 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res3.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res3.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Actuators/BaseClasses/ValveParameters.mo:29:3-35:74:writable] Warning: Parameter val.res1.dpValve_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Interfaces/PartialTwoPortInterface.mo:8:3-10:52:writable] Warning: Parameter val.res1.m_flow_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/1.657, allocations: 4.728 MB / 0.8189 GB, free: 144.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0007462/1.658, allocations: 74.3 kB / 0.819 GB, free: 144.4 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.003228/1.661, allocations: 2.537 MB / 0.8215 GB, free: 142.2 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.662, allocations: 0.5785 MB / 0.8221 GB, free: 141.8 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/1.663, allocations: 55.64 kB / 0.8221 GB, free: 141.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001932/1.663, allocations: 422 kB / 0.8225 GB, free: 141.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004838/1.668, allocations: 1.732 MB / 0.8242 GB, free: 140.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005833/1.674, allocations: 2.997 MB / 0.8271 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0058/1.68, allocations: 2.184 MB / 0.8293 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-05/1.68, allocations: 12 kB / 0.8293 GB, free: 136.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.01736/1.697, allocations: 6.114 MB / 0.8352 GB, free: 130.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.003122/1.7, allocations: 15.58 MB / 0.8505 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/1.7, allocations: 36 kB / 0.8505 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1368/1.837, allocations: 11.75 MB / 0.862 GB, free: 101.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005917/1.843, allocations: 0.7411 MB / 0.8627 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/1.856, allocations: 5.041 MB / 0.8676 GB, free: 95.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00822/1.865, allocations: 384.3 kB / 0.868 GB, free: 95.25 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009971/1.866, allocations: 171.9 kB / 0.8681 GB, free: 95.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.866, allocations: 0 / 0.8681 GB, free: 95.08 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01641/1.882, allocations: 5.562 MB / 0.8736 GB, free: 89.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.882, allocations: 39.98 kB / 0.8736 GB, free: 89.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1372/2.02, allocations: 11.67 MB / 0.885 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/2.025, allocations: 0.7368 MB / 0.8857 GB, free: 77.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01772/2.043, allocations: 8.138 MB / 0.8937 GB, free: 68.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007578/2.051, allocations: 367.1 kB / 0.894 GB, free: 68.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000887/2.052, allocations: 163.9 kB / 0.8942 GB, free: 68.15 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 292 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.004107/2.056, allocations: 1.501 MB / 0.8957 GB, free: 66.64 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001764/2.058, allocations: 474.1 kB / 0.8961 GB, free: 66.17 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/2.072, allocations: 4.957 MB / 0.9009 GB, free: 61.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-05/2.072, allocations: 23.98 kB / 0.901 GB, free: 61.18 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/2.072, allocations: 0 / 0.901 GB, free: 61.18 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02374/2.096, allocations: 6.654 MB / 0.9075 GB, free: 54.27 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04518/2.141, allocations: 13.22 MB / 0.9204 GB, free: 40.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.442e-05/2.141, allocations: 7.984 kB / 0.9204 GB, free: 40.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004692/2.146, allocations: 435.5 kB / 0.9208 GB, free: 40.55 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1333/2.279, allocations: 11.89 MB / 0.9324 GB, free: 28.71 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005743/2.28, allocations: 51.95 kB / 0.9325 GB, free: 28.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/2.291, allocations: 4.362 MB / 0.9367 GB, free: 24.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/2.291, allocations: 3.875 kB / 0.9367 GB, free: 24.23 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03165/2.322, allocations: 9.399 MB / 0.9459 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004185/2.327, allocations: 1.147 MB / 0.947 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0022/2.329, allocations: 36.22 kB / 0.9471 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00742/2.336, allocations: 311.2 kB / 0.9474 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008411/2.337, allocations: 117.7 kB / 0.9475 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004621/2.338, allocations: 87.92 kB / 0.9475 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.008763/2.347, allocations: 3.637 MB / 0.9511 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.72e-07/2.347, allocations: 0 / 0.9511 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0131/2.36, allocations: 2.779 MB / 0.9538 GB, free: 6.719 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (pump.vol.dynBal.U,hea.outCon.T,val.res1.filter.x[1],val.res1.filter.x[2],val.res3.filter.x[1],val.res3.filter.x[2],val.filter.x[1],val.filter.x[2]) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {10 3,1 6,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002279/2.362, allocations: 0.5492 MB / 0.9544 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.03039/2.392, allocations: 8.04 MB / 0.9622 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.748e-05/2.393, allocations: 8.516 kB / 0.9622 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/2.404, allocations: 2.562 MB / 0.9647 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02385/2.428, allocations: 2.783 MB / 0.9674 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03156/2.46, allocations: 11.84 MB / 0.979 GB, free: 12.95 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006034/2.466, allocations: 3.393 MB / 0.9823 GB, free: 9.527 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01758/2.483, allocations: 3.079 MB / 0.9853 GB, free: 6.441 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/2.485, allocations: 275.3 kB / 0.9856 GB, free: 6.172 MB / 0.698 GB Notification: Performance of SimCode: time 1.503e-06/2.485, allocations: 0 / 0.9856 GB, free: 6.172 MB / 0.698 GB Notification: Performance of Templates: time 0.9575/3.443, allocations: 120.1 MB / 1.103 GB, free: 278.3 MB / 0.8073 GB