Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01033/0.01033, allocations: 221.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001112/0.001112, allocations: 179.6 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.683/3.683, allocations: 389.1 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.847/3.847, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004795, allocations: 16 kB / 1.008 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4777/0.4782, allocations: 98.71 MB / 1.104 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlow): time 0.2291/0.7074, allocations: 171.3 MB / 1.271 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01176/0.7192, allocations: 5.986 MB / 1.277 GB, free: 8.91 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.7205, allocations: 35.75 kB / 1.277 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.7222, allocations: 0.5241 MB / 1.278 GB, free: 8.348 MB / 0.6823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006346/0.7286, allocations: 1.869 MB / 1.28 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004622/0.7332, allocations: 1.217 MB / 1.281 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.005406/0.7387, allocations: 3.693 MB / 1.284 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.4974/1.236, allocations: 0.754 MB / 1.285 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002203/1.238, allocations: 0.909 MB / 1.286 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/1.24, allocations: 0.9038 MB / 1.287 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001627/1.24, allocations: 41.75 kB / 1.287 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/1.242, allocations: 0.5395 MB / 1.287 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005872/1.243, allocations: 415.4 kB / 1.288 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004653/1.243, allocations: 270.4 kB / 1.288 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/1.245, allocations: 1.468 MB / 1.29 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.811e-06/1.245, allocations: 0 / 1.29 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.909e-06/1.245, allocations: 0 / 1.29 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.848e-05/1.245, allocations: 0 / 1.29 GB, free: 7.695 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002679/1.248, allocations: 1.298 MB / 1.291 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/1.248, allocations: 9.438 kB / 1.291 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002704/1.251, allocations: 317 kB / 1.291 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/1.253, allocations: 0.8126 MB / 1.292 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.908e-05/1.253, allocations: 67.78 kB / 1.292 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/1.253, allocations: 87 kB / 1.292 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/1.255, allocations: 0.94 MB / 1.293 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/1.255, allocations: 0 / 1.293 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/1.256, allocations: 40.33 kB / 1.293 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.233e-05/1.256, allocations: 36.44 kB / 1.293 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/1.258, allocations: 0.8353 MB / 1.294 GB, free: 6.508 MB / 0.6823 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.00756/1.265, allocations: 3.694 MB / 1.297 GB, free: 20.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/1.266, allocations: 0.4883 MB / 1.298 GB, free: 20.95 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005915/1.267, allocations: 277.6 kB / 1.298 GB, free: 20.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/1.267, allocations: 104.2 kB / 1.298 GB, free: 20.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/1.267, allocations: 42.38 kB / 1.298 GB, free: 20.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 3.57e-06/1.267, allocations: 0.6875 kB / 1.298 GB, free: 20.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.005213/1.272, allocations: 1.875 MB / 1.3 GB, free: 20.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/1.272, allocations: 56.28 kB / 1.3 GB, free: 20.06 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/1.274, allocations: 0.7272 MB / 1.301 GB, free: 19.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.894e-05/1.274, allocations: 38.7 kB / 1.301 GB, free: 19.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003684/1.274, allocations: 495 kB / 1.301 GB, free: 19.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/1.274, allocations: 174.7 kB / 1.302 GB, free: 19.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.055e-05/1.274, allocations: 15.75 kB / 1.302 GB, free: 19.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.275, allocations: 339.2 kB / 1.302 GB, free: 19.24 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000557/1.275, allocations: 218.1 kB / 1.302 GB, free: 19.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006942/1.276, allocations: 446 kB / 1.303 GB, free: 18.98 MB / 0.698 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002751/1.279, allocations: 0.8668 MB / 1.303 GB, free: 18.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.485e-06/1.279, allocations: 2.562 kB / 1.303 GB, free: 18.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001705/1.28, allocations: 0.7963 MB / 1.304 GB, free: 18.75 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.28, allocations: 12 kB / 1.304 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/1.28, allocations: 6.406 kB / 1.304 GB, free: 18.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003436/1.281, allocations: 92 kB / 1.304 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007677/1.282, allocations: 174 kB / 1.304 GB, free: 18.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003425/1.285, allocations: 3.042 MB / 1.307 GB, free: 16.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/1.286, allocations: 72.61 kB / 1.308 GB, free: 16.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/1.286, allocations: 35.36 kB / 1.308 GB, free: 16.2 MB / 0.698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006668/1.287, allocations: 314.5 kB / 1.308 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/1.287, allocations: 88.97 kB / 1.308 GB, free: 16.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/1.287, allocations: 99.66 kB / 1.308 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.965e-06/1.287, allocations: 10.12 kB / 1.308 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.373e-06/1.287, allocations: 0 / 1.308 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/1.289, allocations: 0.8139 MB / 1.309 GB, free: 15.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003541/1.292, allocations: 1.75 MB / 1.311 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.567e-06/1.292, allocations: 7.125 kB / 1.311 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/1.293, allocations: 141.1 kB / 1.311 GB, free: 15.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002713/1.293, allocations: 65.83 kB / 1.311 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.834e-05/1.293, allocations: 16.14 kB / 1.311 GB, free: 15.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.295, allocations: 1.628 MB / 1.312 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.339e-06/1.295, allocations: 6.188 kB / 1.312 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/1.297, allocations: 1.049 MB / 1.313 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005411/1.298, allocations: 231.2 kB / 1.314 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/1.298, allocations: 13 kB / 1.314 GB, free: 13.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/1.299, allocations: 76.86 kB / 1.314 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/1.299, allocations: 49.33 kB / 1.314 GB, free: 13.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.413e-05/1.299, allocations: 26.97 kB / 1.314 GB, free: 13.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008162/1.3, allocations: 0.4959 MB / 1.314 GB, free: 13.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.74e-07/1.3, allocations: 0 / 1.314 GB, free: 13.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001282/1.301, allocations: 282.1 kB / 1.315 GB, free: 13.29 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.0004713/1.302, allocations: 186.6 kB / 1.315 GB, free: 13.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001527/1.303, allocations: 0.7923 MB / 1.315 GB, free: 12.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.906e-06/1.303, allocations: 0 / 1.315 GB, free: 12.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007067/1.304, allocations: 408.7 kB / 1.316 GB, free: 12.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002957/1.307, allocations: 0.534 MB / 1.316 GB, free: 12.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003288/1.31, allocations: 2.213 MB / 1.319 GB, free: 11.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008923/1.311, allocations: 1.119 MB / 1.32 GB, free: 10.94 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001167/1.312, allocations: 205.3 kB / 1.32 GB, free: 10.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/1.313, allocations: 61.53 kB / 1.32 GB, free: 10.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.517e-06/1.313, allocations: 4 kB / 1.32 GB, free: 10.87 MB / 0.698 GB Notification: Performance of Templates: time 0.03842/1.351, allocations: 17.46 MB / 1.337 GB, free: 7.492 MB / 0.698 GB