Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics.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.Storage.Validation.HeatExchangerDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Validation.HeatExchangerDynamics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004344/0.00435, allocations: 234.9 kB / 15.8 MB, free: 6.316 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.001169/0.001169, allocations: 180.5 kB / 16.69 MB, free: 5.473 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.955/3.955, allocations: 389.1 MB / 406.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.87/3.87, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004703/0.0004705, allocations: 15.41 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1644, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.HeatExchangerDynamics): time 0.6565/0.821, allocations: 102.2 MB / 1.204 GB, free: 32.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.04855/0.8696, allocations: 29.39 MB / 1.233 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005892/0.8755, allocations: 131.8 kB / 1.233 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0068/0.8824, allocations: 1.478 MB / 1.235 GB, free: 10.72 MB / 0.6198 GB [/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/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/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:96:13-96:26:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:97:13-97:86:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:99:13-99:92:writable] Warning: 'each' used when modifying non-array element der_T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:96:13-96:26:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:97:13-97:86:writable] Warning: 'each' used when modifying non-array element T. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Storage/BaseClasses/IndirectTankHeatExchanger.mo:99:13-99:92:writable] Warning: 'each' used when modifying non-array element der_T. [/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/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/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/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. Notification: Performance of NFTyping.typeBindings: time 0.01717/0.8996, allocations: 4.395 MB / 1.239 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.9119, allocations: 2.954 MB / 1.242 GB, free: 6.859 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.06659/0.9785, allocations: 50.38 MB / 1.291 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03216/1.011, allocations: 15.56 MB / 1.306 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02794/1.039, allocations: 11.04 MB / 1.317 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02777/1.067, allocations: 11.7 MB / 1.328 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.005085/1.072, allocations: 0.75 MB / 1.329 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/1.087, allocations: 2.149 MB / 1.331 GB, free: 468 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.008483/1.096, allocations: 3.218 MB / 1.334 GB, free: 13.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.01012/1.106, allocations: 3.689 MB / 1.338 GB, free: 9.523 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.04485/1.151, allocations: 27.11 MB / 1.365 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.086e-05/1.151, allocations: 4 kB / 1.365 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.855e-06/1.151, allocations: 0 / 1.365 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.001021/1.152, allocations: 4 kB / 1.365 GB, free: 14.34 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3345 * Number of variables: 3345 Notification: Performance of Generate backend data structure: time 0.05953/1.211, allocations: 15.93 MB / 1.38 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/1.211, allocations: 8.031 kB / 1.38 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0122/1.224, allocations: 1.944 MB / 1.382 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04598/1.27, allocations: 15.4 MB / 1.397 GB, free: 12.83 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00154/1.271, allocations: 1.01 MB / 1.398 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005867/1.277, allocations: 1.34 MB / 1.399 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06454/1.342, allocations: 19.87 MB / 1.419 GB, free: 6.043 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006808/1.342, allocations: 43.64 kB / 1.419 GB, free: 6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004451/1.347, allocations: 0.5429 MB / 1.419 GB, free: 5.457 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005723/1.348, allocations: 383.9 kB / 1.42 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05703/1.405, allocations: 18.07 MB / 1.437 GB, free: 2.98 MB / 0.7917 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 1.264/2.669, allocations: 85.99 MB / 1.521 GB, free: 204.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02996/2.699, allocations: 12.88 MB / 1.534 GB, free: 199.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01865/2.718, allocations: 7.377 MB / 1.541 GB, free: 196.6 MB / 0.823 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 evalFunc (simulation): time 0.07866/2.796, allocations: 26.53 MB / 1.567 GB, free: 179.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01517/2.812, allocations: 5.769 MB / 1.573 GB, free: 176.5 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008666/2.82, allocations: 0.7966 MB / 1.573 GB, free: 176 MB / 0.823 GB Notification: Performance of pre-optimization done (n=766): time 2.598e-05/2.82, allocations: 0 / 1.573 GB, free: 176 MB / 0.823 GB Notification: Performance of matching and sorting (n=766): time 0.2021/3.023, allocations: 32.38 MB / 1.605 GB, free: 155.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.59e-05/3.023, allocations: 156.8 kB / 1.605 GB, free: 155.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02708/3.05, allocations: 12.06 MB / 1.617 GB, free: 143.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.002188/3.052, allocations: 197.7 kB / 1.617 GB, free: 143 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.009047/3.061, allocations: 6.946 MB / 1.624 GB, free: 136.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.004549/3.066, allocations: 2.682 MB / 1.627 GB, free: 133.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00168/3.067, allocations: 228 kB / 1.627 GB, free: 133.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0008584/3.068, allocations: 0.7776 MB / 1.627 GB, free: 132.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01596/3.084, allocations: 6.231 MB / 1.634 GB, free: 126.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0191/3.103, allocations: 9.54 MB / 1.643 GB, free: 115.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01953/3.123, allocations: 8.106 MB / 1.651 GB, free: 107.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.825e-05/3.123, allocations: 28 kB / 1.651 GB, free: 107.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=1474) (initialization): time 0.05165/3.175, allocations: 18.74 MB / 1.669 GB, free: 88.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001733/3.177, allocations: 3.096 MB / 1.672 GB, free: 83.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001751/3.177, allocations: 104 kB / 1.672 GB, free: 83.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1233/3.3, allocations: 9.083 MB / 1.681 GB, free: 74.65 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01853/3.319, allocations: 2.465 MB / 1.684 GB, free: 72.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01711/3.336, allocations: 10.35 MB / 1.694 GB, free: 61.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01946/3.355, allocations: 1.095 MB / 1.695 GB, free: 60.45 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002795/3.358, allocations: 0.5194 MB / 1.695 GB, free: 59.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/3.358, allocations: 7.953 kB / 1.695 GB, free: 59.92 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04453/3.403, allocations: 17.75 MB / 1.713 GB, free: 42.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/3.403, allocations: 96 kB / 1.713 GB, free: 41.97 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.123/3.526, allocations: 9.064 MB / 1.722 GB, free: 32.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01879/3.545, allocations: 2.453 MB / 1.724 GB, free: 30.44 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02367/3.569, allocations: 10.35 MB / 1.734 GB, free: 19.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01998/3.589, allocations: 1.079 MB / 1.735 GB, free: 18.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003086/3.592, allocations: 0.5161 MB / 1.736 GB, free: 18.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.mHex_flow_in.T_start,mHex_flow_in.T_start,$PRE.mHex_flow_in.count,mHex_flow_in.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1286): * Single equations (assignments): 1282 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 1 {16 144} Notification: Performance of prepare postOptimizeDAE: time 0.01525/3.607, allocations: 5.935 MB / 1.741 GB, free: 12.25 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004892/3.612, allocations: 1.138 MB / 1.742 GB, free: 11.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04177/3.654, allocations: 13.28 MB / 1.755 GB, free: 13.79 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03542/3.689, allocations: 10.99 MB / 1.766 GB, free: 2.715 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.314e-05/3.689, allocations: 0 / 1.766 GB, free: 2.715 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01169/3.701, allocations: 2.802 MB / 1.769 GB, free: 15.88 MB / 0.8543 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005255/3.706, allocations: 152 kB / 1.769 GB, free: 15.73 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01651/3.723, allocations: 0.794 MB / 1.77 GB, free: 14.95 MB / 0.8543 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002432/3.725, allocations: 465.5 kB / 1.77 GB, free: 14.49 MB / 0.8543 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05473/3.78, allocations: 14.41 MB / 1.784 GB, free: 184 kB / 0.8543 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 1.216/4.996, allocations: 18.76 MB / 1.803 GB, free: 273.8 MB / 0.87 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0142/5.01, allocations: 5.455 MB / 1.808 GB, free: 273.7 MB / 0.87 GB Notification: Performance of sorting global known variables: time 0.02226/5.033, allocations: 8.308 MB / 1.816 GB, free: 270.9 MB / 0.87 GB Notification: Performance of Backend: time 7.51e-07/5.033, allocations: 0 / 1.816 GB, free: 270.9 MB / 0.87 GB Notification: Performance of simCode: created initialization part: time 0.07843/5.111, allocations: 19.56 MB / 1.835 GB, free: 263.9 MB / 0.87 GB Notification: Performance of SimCode: time 0.128/5.239, allocations: 40.69 MB / 1.875 GB, free: 245.6 MB / 0.87 GB Notification: Performance of Templates: time 1.42/6.659, allocations: 299.8 MB / 2.168 GB, free: 256.3 MB / 0.87 GB