Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadModel(Buildings): time 3.868/3.868, allocations: 402 MB / 416.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.751e-05, allocations: 4 kB / 0.5009 GB, free: 8.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1958, allocations: 92.7 MB / 0.5915 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.6176/0.8135, allocations: 64.68 MB / 0.6546 GB, free: 5.605 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.04145/0.855, allocations: 17.68 MB / 0.6719 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004574/0.8596, allocations: 127.1 kB / 0.672 GB, free: 8.051 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.005929/0.8656, allocations: 1.196 MB / 0.6732 GB, free: 6.988 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.01269/0.8784, allocations: 2.791 MB / 0.6759 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.01469/0.8931, allocations: 3.336 MB / 0.6792 GB, free: 2.07 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.01616/0.9093, allocations: 6.689 MB / 0.6857 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009028/0.9183, allocations: 3.876 MB / 0.6895 GB, free: 10.12 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.9286, allocations: 3.491 MB / 0.6929 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008831/0.9375, allocations: 3.069 MB / 0.6959 GB, free: 3.543 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007615/0.9452, allocations: 1.155 MB / 0.697 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.002623/0.9478, allocations: 252 kB / 0.6972 GB, free: 2.141 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.003128/0.951, allocations: 1.137 MB / 0.6984 GB, free: 1 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.003603/0.9547, allocations: 0.5625 MB / 0.6989 GB, free: 448 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.01381/0.9685, allocations: 6.896 MB / 0.7056 GB, free: 9.527 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.9686, allocations: 0 / 0.7056 GB, free: 9.527 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9686, allocations: 0 / 0.7056 GB, free: 9.527 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0003019/0.9689, allocations: 4 kB / 0.7056 GB, free: 9.523 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 859 * Number of variables: 859 Notification: Performance of Generate backend data structure: time 0.0157/0.9846, allocations: 4.529 MB / 0.7101 GB, free: 4.918 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.9847, allocations: 8.031 kB / 0.7101 GB, free: 4.91 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006591/0.9913, allocations: 0.8518 MB / 0.7109 GB, free: 4.051 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01628/1.008, allocations: 4.423 MB / 0.7152 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004212/1.008, allocations: 271.3 kB / 0.7155 GB, free: 15.28 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001585/1.01, allocations: 352 kB / 0.7158 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0238/1.034, allocations: 6.131 MB / 0.7218 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001325/1.034, allocations: 15.88 kB / 0.7218 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001139/1.035, allocations: 148 kB / 0.722 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/1.035, allocations: 88 kB / 0.722 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/1.058, allocations: 5.851 MB / 0.7278 GB, free: 2.418 MB / 0.5886 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.0597/1.117, allocations: 24.26 MB / 0.7515 GB, free: 9.031 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/1.133, allocations: 3.262 MB / 0.7546 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0199/1.153, allocations: 6.593 MB / 0.7611 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01143/1.164, allocations: 2.329 MB / 0.7634 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007922/1.172, allocations: 1.418 MB / 0.7647 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=164): time 1.247e-05/1.172, allocations: 3.938 kB / 0.7647 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=164): time 0.05823/1.231, allocations: 8.385 MB / 0.7729 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/1.231, allocations: 381.1 kB / 0.7733 GB, free: 2.156 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/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 5.0.1/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 5.0.1/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 5.0.1/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.01157/1.242, allocations: 4.222 MB / 0.7774 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0008693/1.243, allocations: 69.7 kB / 0.7775 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.004325/1.248, allocations: 2.526 MB / 0.7799 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.001449/1.249, allocations: 0.5894 MB / 0.7805 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004017/1.25, allocations: 56 kB / 0.7806 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0003145/1.25, allocations: 419.9 kB / 0.781 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006385/1.256, allocations: 1.793 MB / 0.7827 GB, free: 8.461 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007979/1.264, allocations: 3.069 MB / 0.7857 GB, free: 4.797 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007923/1.272, allocations: 2.261 MB / 0.7879 GB, free: 2.527 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.473e-05/1.273, allocations: 8 kB / 0.7879 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=368) (initialization): time 0.03302/1.306, allocations: 6.67 MB / 0.7945 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.007111/1.313, allocations: 16.17 MB / 0.8102 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/1.313, allocations: 43.98 kB / 0.8103 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1478/1.461, allocations: 11.9 MB / 0.8219 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008291/1.469, allocations: 0.8542 MB / 0.8227 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/1.494, allocations: 6.494 MB / 0.8291 GB, free: 6.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007926/1.502, allocations: 311.1 kB / 0.8294 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009167/1.503, allocations: 179.9 kB / 0.8295 GB, free: 6.199 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/1.503, allocations: 8 kB / 0.8296 GB, free: 6.191 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01602/1.519, allocations: 5.604 MB / 0.835 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.519, allocations: 40.22 kB / 0.8351 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1455/1.665, allocations: 11.65 MB / 0.8464 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006293/1.671, allocations: 0.7489 MB / 0.8472 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01993/1.691, allocations: 8.112 MB / 0.8551 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006776/1.698, allocations: 279.1 kB / 0.8554 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009716/1.699, allocations: 171.9 kB / 0.8555 GB, free: 11.21 MB / 0.7292 GB Warning: Assuming fixed start value for the following 1 variables: pump.vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = pump.vol.V * pump.vol.rho_start unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 155 * 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 (313): * Single equations (assignments): 300 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {11 13,10 11,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.004997/1.704, allocations: 1.5 MB / 0.857 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002211/1.706, allocations: 474.1 kB / 0.8574 GB, free: 9.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03148/1.737, allocations: 5.848 MB / 0.8632 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06299/1.801, allocations: 7.482 MB / 0.8705 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.801, allocations: 0 / 0.8705 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005768/1.806, allocations: 1.057 MB / 0.8715 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002227/1.809, allocations: 40 kB / 0.8715 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009719/1.818, allocations: 263.3 kB / 0.8718 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/1.82, allocations: 133.7 kB / 0.8719 GB, free: 10.09 MB / 0.7448 GB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0419/1.862, allocations: 4.135 MB / 0.876 GB, free: 5.902 MB / 0.7448 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.