Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(Buildings): time 4.219/4.219, allocations: 458.9 MB / 473.4 MB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.972e-05, allocations: 3.938 kB / 0.5697 GB, free: 9.844 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2255, allocations: 106.2 MB / 0.6734 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.1089/0.3344, allocations: 65.61 MB / 0.7375 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04116/0.3756, allocations: 18.04 MB / 0.7551 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003784/0.3795, allocations: 119.4 kB / 0.7552 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.005276/0.3848, allocations: 1.213 MB / 0.7564 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.01184/0.3967, allocations: 2.858 MB / 0.7592 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.01482/0.4115, allocations: 3.677 MB / 0.7628 GB, free: 6.906 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.01525/0.4268, allocations: 6.956 MB / 0.7696 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008068/0.4349, allocations: 3.985 MB / 0.7735 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009352/0.4443, allocations: 3.608 MB / 0.777 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007978/0.4523, allocations: 3.111 MB / 0.78 GB, free: 5.191 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00618/0.4586, allocations: 1.19 MB / 0.7812 GB, free: 4 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001936/0.4606, allocations: 264 kB / 0.7815 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.463, allocations: 1.172 MB / 0.7826 GB, free: 2.566 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00283/0.4659, allocations: 0.5624 MB / 0.7832 GB, free: 2.004 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01293/0.4789, allocations: 6.995 MB / 0.79 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.4789, allocations: 0 / 0.79 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.776e-06/0.4789, allocations: 0 / 0.79 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002921/0.4792, allocations: 0 / 0.79 GB, free: 10.99 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 851 * Number of variables: 851 Notification: Performance of Generate backend data structure: time 0.01669/0.4959, allocations: 4.56 MB / 0.7944 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/0.496, allocations: 8.031 kB / 0.7944 GB, free: 6.348 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009761/0.5058, allocations: 0.8556 MB / 0.7953 GB, free: 5.484 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02355/0.5294, allocations: 4.785 MB / 0.7999 GB, free: 0.6211 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/0.5299, allocations: 275.1 kB / 0.8002 GB, free: 356 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001659/0.5316, allocations: 355.9 kB / 0.8006 GB, free: 0 / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5719/1.103, allocations: 5.817 MB / 0.8062 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001448/1.104, allocations: 9.859 kB / 0.8062 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001359/1.105, allocations: 150.1 kB / 0.8064 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001205/1.105, allocations: 84.78 kB / 0.8065 GB, free: 115.1 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01885/1.124, allocations: 5.607 MB / 0.8119 GB, free: 113.4 MB / 0.6667 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.05545/1.18, allocations: 24.46 MB / 0.8358 GB, free: 95.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009815/1.189, allocations: 3.021 MB / 0.8388 GB, free: 94.15 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02118/1.211, allocations: 7.434 MB / 0.846 GB, free: 88.56 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005663/1.216, allocations: 1.969 MB / 0.848 GB, free: 87.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008002/1.224, allocations: 1.284 MB / 0.8492 GB, free: 86.81 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=163): time 2.405e-05/1.225, allocations: 2.656 kB / 0.8492 GB, free: 86.81 MB / 0.6667 GB Notification: Performance of matching and sorting (n=163): time 0.048/1.273, allocations: 7.484 MB / 0.8565 GB, free: 79.62 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001507/1.273, allocations: 304 kB / 0.8568 GB, free: 79.26 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.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 7.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 7.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 7.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.0175/1.29, allocations: 4.729 MB / 0.8614 GB, free: 74.55 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/1.291, allocations: 69.7 kB / 0.8615 GB, free: 74.48 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.005041/1.296, allocations: 2.523 MB / 0.864 GB, free: 71.94 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001786/1.298, allocations: 0.5776 MB / 0.8645 GB, free: 71.36 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008054/1.299, allocations: 56.86 kB / 0.8646 GB, free: 71.31 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003507/1.3, allocations: 415.8 kB / 0.865 GB, free: 70.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007616/1.307, allocations: 1.731 MB / 0.8667 GB, free: 69.16 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/1.316, allocations: 3.001 MB / 0.8696 GB, free: 65.58 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007302/1.323, allocations: 2.189 MB / 0.8717 GB, free: 63.38 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-05/1.323, allocations: 8 kB / 0.8718 GB, free: 63.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=360) (initialization): time 0.0253/1.349, allocations: 6.117 MB / 0.8777 GB, free: 57.23 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.003866/1.353, allocations: 15.54 MB / 0.8929 GB, free: 40.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001553/1.353, allocations: 39.95 kB / 0.8929 GB, free: 40.18 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1541/1.507, allocations: 11.75 MB / 0.9044 GB, free: 28.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005692/1.513, allocations: 0.7515 MB / 0.9052 GB, free: 27.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.526, allocations: 5.026 MB / 0.9101 GB, free: 22.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007736/1.534, allocations: 395.5 kB / 0.9104 GB, free: 22.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007648/1.535, allocations: 164.8 kB / 0.9106 GB, free: 22.06 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.535, allocations: 4 kB / 0.9106 GB, free: 22.05 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01697/1.552, allocations: 5.552 MB / 0.916 GB, free: 16.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.552, allocations: 39.98 kB / 0.9161 GB, free: 16.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1457/1.698, allocations: 11.68 MB / 0.9275 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005524/1.703, allocations: 0.7333 MB / 0.9282 GB, free: 4.066 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01904/1.722, allocations: 8.128 MB / 0.9361 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007441/1.73, allocations: 364.4 kB / 0.9365 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008278/1.731, allocations: 167.9 kB / 0.9366 GB, free: 11.12 MB / 0.6823 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.004554/1.735, allocations: 1.497 MB / 0.9381 GB, free: 9.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001774/1.737, allocations: 482 kB / 0.9385 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/1.752, allocations: 4.963 MB / 0.9434 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.35e-05/1.753, allocations: 16 kB / 0.9434 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.753, allocations: 0 / 0.9434 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03704/1.79, allocations: 7.159 MB / 0.9504 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0564/1.846, allocations: 13.51 MB / 0.9636 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.339e-05/1.846, allocations: 0 / 0.9636 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005005/1.851, allocations: 439.5 kB / 0.964 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1361/1.987, allocations: 11.91 MB / 0.9756 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006432/1.988, allocations: 51.95 kB / 0.9757 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/2, allocations: 4.37 MB / 0.98 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2, allocations: 3.875 kB / 0.98 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04624/2.046, allocations: 9.928 MB / 0.9897 GB, free: 4.383 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0046/2.051, allocations: 1.155 MB / 0.9908 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001877/2.053, allocations: 40 kB / 0.9908 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00722/2.06, allocations: 307.2 kB / 0.9911 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007501/2.061, allocations: 113.8 kB / 0.9912 GB, free: 2.754 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004957/2.061, allocations: 83.92 kB / 0.9913 GB, free: 2.672 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.008766/2.07, allocations: 3.646 MB / 0.9949 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.022e-06/2.07, allocations: 0 / 0.9949 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0131/2.083, allocations: 2.786 MB / 0.9976 GB, free: 12.29 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (135): * Single equations (assignments): 126 * 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.002324/2.086, allocations: 0.5622 MB / 0.9981 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.03098/2.117, allocations: 8.042 MB / 1.006 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.351e-05/2.117, allocations: 5.875 kB / 1.006 GB, free: 3.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.01089/2.128, allocations: 2.572 MB / 1.009 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02317/2.151, allocations: 2.781 MB / 1.011 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0294/2.18, allocations: 11.88 MB / 1.023 GB, free: 2.453 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005296/2.186, allocations: 3.392 MB / 1.026 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.017/2.203, allocations: 3.167 MB / 1.029 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001778/2.205, allocations: 271.3 kB / 1.029 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of SimCode: time 4.409e-06/2.205, allocations: 0 / 1.029 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of Templates: time 0.8771/3.082, allocations: 119.8 MB / 1.147 GB, free: 281 MB / 0.8542 GB