Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex.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.Examples.StratifiedEnhancedInternalHex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004268/0.004273, allocations: 233.4 kB / 15.8 MB, free: 6.32 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.001162/0.001162, allocations: 180.3 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.876/3.876, allocations: 389.1 MB / 406.5 MB, free: 11.84 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 4.067/4.067, allocations: 472.3 MB / 0.9024 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006408/0.0006411, allocations: 8 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1679, allocations: 98.73 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex): time 0.7387/0.9067, allocations: 138.5 MB / 1.24 GB, free: 6.816 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.07726/0.984, allocations: 40.59 MB / 1.28 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008428/0.9925, allocations: 176.3 kB / 1.28 GB, free: 9.875 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.009789/1.002, allocations: 1.97 MB / 1.282 GB, free: 8.836 MB / 0.6511 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/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/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. Notification: Performance of NFTyping.typeBindings: time 0.02606/1.028, allocations: 5.947 MB / 1.287 GB, free: 4.152 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01758/1.046, allocations: 3.789 MB / 1.291 GB, free: 1.488 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.06867/1.115, allocations: 46.39 MB / 1.336 GB, free: 10.99 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0334/1.148, allocations: 15.21 MB / 1.351 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02815/1.176, allocations: 10.74 MB / 1.362 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02725/1.204, allocations: 10.95 MB / 1.372 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.005316/1.209, allocations: 0.7305 MB / 1.373 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01516/1.224, allocations: 2.215 MB / 1.375 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.007915/1.232, allocations: 3.05 MB / 1.378 GB, free: 136 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.009754/1.242, allocations: 3.634 MB / 1.382 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.04387/1.286, allocations: 24.86 MB / 1.406 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/1.286, allocations: 0 / 1.406 GB, free: 3.562 MB / 0.7605 GB Notification: Performance of FrontEnd: time 5.911e-06/1.286, allocations: 4 kB / 1.406 GB, free: 3.559 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.001017/1.287, allocations: 0 / 1.406 GB, free: 3.559 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.06004/1.347, allocations: 15.77 MB / 1.422 GB, free: 3.668 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/1.347, allocations: 8.031 kB / 1.422 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/1.359, allocations: 1.916 MB / 1.423 GB, free: 1.723 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04599/1.405, allocations: 14.6 MB / 1.438 GB, free: 3.039 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001439/1.406, allocations: 0.9699 MB / 1.439 GB, free: 2.066 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005446/1.412, allocations: 1.289 MB / 1.44 GB, free: 0.7773 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06152/1.473, allocations: 18.94 MB / 1.458 GB, free: 13.2 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006652/1.474, allocations: 51.55 kB / 1.458 GB, free: 13.14 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004335/1.478, allocations: 0.5234 MB / 1.459 GB, free: 12.62 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005178/1.479, allocations: 347.9 kB / 1.459 GB, free: 12.28 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.142/2.621, allocations: 16.55 MB / 1.475 GB, free: 246.5 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 removeSimpleEquations (simulation): time 0.171/2.792, allocations: 84.92 MB / 1.558 GB, free: 188.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02875/2.821, allocations: 12.17 MB / 1.57 GB, free: 181.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01594/2.837, allocations: 6.227 MB / 1.576 GB, free: 178.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07966/2.917, allocations: 28.02 MB / 1.604 GB, free: 158.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.255e-05/2.917, allocations: 118.6 kB / 1.604 GB, free: 158.1 MB / 0.823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007576/2.924, allocations: 0.7216 MB / 1.605 GB, free: 157.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=648): time 2.044e-05/2.924, allocations: 0 / 1.605 GB, free: 157.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=648): time 0.06123/2.986, allocations: 17.84 MB / 1.622 GB, free: 141.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.825e-05/2.986, allocations: 117.2 kB / 1.622 GB, free: 141 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02676/3.012, allocations: 12.57 MB / 1.634 GB, free: 128.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001967/3.014, allocations: 173.7 kB / 1.635 GB, free: 128.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.007738/3.022, allocations: 7.203 MB / 1.642 GB, free: 121.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.003387/3.026, allocations: 2.284 MB / 1.644 GB, free: 118.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001285/3.027, allocations: 230.4 kB / 1.644 GB, free: 118.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0007317/3.028, allocations: 0.7784 MB / 1.645 GB, free: 117.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01434/3.042, allocations: 5.723 MB / 1.65 GB, free: 112.1 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01739/3.059, allocations: 9.664 MB / 1.66 GB, free: 100.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0181/3.078, allocations: 7.622 MB / 1.667 GB, free: 93.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001391/3.078, allocations: 36 kB / 1.667 GB, free: 93.26 MB / 0.823 GB Notification: Performance of matching and sorting (n=1476) (initialization): time 0.05092/3.129, allocations: 18.65 MB / 1.685 GB, free: 74.62 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.002368/3.131, allocations: 3.79 MB / 1.689 GB, free: 69.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002573/3.131, allocations: 127.9 kB / 1.689 GB, free: 68.97 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1802/3.312, allocations: 11.94 MB / 1.701 GB, free: 57 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01738/3.329, allocations: 2.395 MB / 1.703 GB, free: 54.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02329/3.352, allocations: 20.33 MB / 1.723 GB, free: 33.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01913/3.372, allocations: 1.117 MB / 1.724 GB, free: 32.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002843/3.375, allocations: 0.5469 MB / 1.725 GB, free: 31.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/3.375, allocations: 0 / 1.725 GB, free: 31.86 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04634/3.421, allocations: 17.65 MB / 1.742 GB, free: 14.14 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002825/3.421, allocations: 120 kB / 1.742 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1795/3.601, allocations: 11.94 MB / 1.754 GB, free: 2.043 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01685/3.618, allocations: 2.352 MB / 1.756 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02786/3.646, allocations: 18.55 MB / 1.774 GB, free: 12.45 MB / 0.8543 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01846/3.664, allocations: 1.058 MB / 1.775 GB, free: 11.39 MB / 0.8543 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003106/3.667, allocations: 0.5351 MB / 1.776 GB, free: 10.86 MB / 0.8543 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 561 * 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 (1242): * Single equations (assignments): 1224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.01634/3.684, allocations: 5.771 MB / 1.781 GB, free: 5.066 MB / 0.8543 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004428/3.688, allocations: 1.15 MB / 1.782 GB, free: 3.902 MB / 0.8543 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.153/4.842, allocations: 11.52 MB / 1.794 GB, free: 262.1 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02742/4.869, allocations: 9.541 MB / 1.803 GB, free: 258.8 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/4.869, allocations: 0 / 1.803 GB, free: 258.8 MB / 0.8544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009621/4.879, allocations: 2.588 MB / 1.806 GB, free: 258 MB / 0.8544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004061/4.883, allocations: 136.3 kB / 1.806 GB, free: 257.9 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01477/4.898, allocations: 0.7279 MB / 1.806 GB, free: 257.8 MB / 0.8544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001681/4.899, allocations: 385.7 kB / 1.807 GB, free: 257.8 MB / 0.8544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.03867/4.938, allocations: 12.24 MB / 1.819 GB, free: 253.8 MB / 0.8544 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03845/4.977, allocations: 15.6 MB / 1.834 GB, free: 247.8 MB / 0.8544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01107/4.988, allocations: 4.487 MB / 1.838 GB, free: 246.1 MB / 0.8544 GB Notification: Performance of sorting global known variables: time 0.02467/5.012, allocations: 8.561 MB / 1.847 GB, free: 243.2 MB / 0.8544 GB Notification: Performance of Backend: time 1.092e-06/5.012, allocations: 1.125 kB / 1.847 GB, free: 243.2 MB / 0.8544 GB Notification: Performance of simCode: created initialization part: time 0.06265/5.075, allocations: 19.41 MB / 1.866 GB, free: 235.9 MB / 0.8544 GB Notification: Performance of SimCode: time 0.09968/5.175, allocations: 39.48 MB / 1.904 GB, free: 199.3 MB / 0.8544 GB Notification: Performance of Templates: time 1.274/6.449, allocations: 280.7 MB / 2.178 GB, free: 236.3 MB / 0.87 GB