Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.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.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006687/0.006686, allocations: 234.9 kB / 15.8 MB, free: 6.281 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.00184/0.00184, allocations: 184.2 kB / 16.69 MB, free: 5.449 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.776/3.776, allocations: 389.1 MB / 406.5 MB, free: 6.711 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.65/4.65, allocations: 472.3 MB / 0.9023 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004825/0.0004826, allocations: 12 kB / 1.008 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2704, allocations: 98.7 MB / 1.105 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.9099/1.18, allocations: 228 MB / 1.327 GB, free: 113.1 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.02726/1.208, allocations: 16.93 MB / 1.344 GB, free: 96.22 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003007/1.211, allocations: 71.5 kB / 1.344 GB, free: 96.15 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/1.215, allocations: 0.8927 MB / 1.345 GB, free: 95.25 MB / 0.7917 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/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.01252/1.228, allocations: 3.43 MB / 1.348 GB, free: 91.8 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.00725/1.235, allocations: 1.768 MB / 1.35 GB, free: 90.09 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.008707/1.244, allocations: 6.012 MB / 1.356 GB, free: 84.06 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002706/1.246, allocations: 1.313 MB / 1.357 GB, free: 82.79 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004583/1.251, allocations: 1.676 MB / 1.359 GB, free: 81.1 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/1.254, allocations: 1.416 MB / 1.36 GB, free: 79.68 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0005064/1.255, allocations: 68 kB / 1.36 GB, free: 79.61 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/1.259, allocations: 1.157 MB / 1.361 GB, free: 78.45 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0008923/1.26, allocations: 462.2 kB / 1.362 GB, free: 78 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008516/1.261, allocations: 440.6 kB / 1.362 GB, free: 77.56 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.004268/1.265, allocations: 2.47 MB / 1.364 GB, free: 75.09 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.265, allocations: 1.969 kB / 1.365 GB, free: 75.09 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.557e-06/1.265, allocations: 0 / 1.365 GB, free: 75.09 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.233e-05/1.265, allocations: 3.938 kB / 1.365 GB, free: 75.08 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.005324/1.271, allocations: 2.086 MB / 1.367 GB, free: 72.94 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/1.271, allocations: 11.22 kB / 1.367 GB, free: 72.93 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/1.273, allocations: 369.9 kB / 1.367 GB, free: 72.57 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003599/1.277, allocations: 1.368 MB / 1.368 GB, free: 71.15 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.994e-05/1.277, allocations: 106.7 kB / 1.368 GB, free: 71.04 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002766/1.277, allocations: 136 kB / 1.368 GB, free: 70.91 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/1.281, allocations: 1.515 MB / 1.37 GB, free: 69.33 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/1.281, allocations: 0 / 1.37 GB, free: 69.33 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/1.281, allocations: 59.56 kB / 1.37 GB, free: 69.27 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.702e-05/1.282, allocations: 54.66 kB / 1.37 GB, free: 69.22 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003664/1.285, allocations: 1.158 MB / 1.371 GB, free: 68.05 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 0.01168/1.297, allocations: 7.177 MB / 1.378 GB, free: 60.33 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/1.299, allocations: 0.8323 MB / 1.379 GB, free: 59.48 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/1.3, allocations: 433.4 kB / 1.379 GB, free: 59.05 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.301, allocations: 0.73 MB / 1.38 GB, free: 58.18 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/1.302, allocations: 43.22 kB / 1.38 GB, free: 58.13 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=72): time 4.198e-06/1.302, allocations: 0 / 1.38 GB, free: 58.13 MB / 0.7917 GB Notification: Performance of matching and sorting (n=72): time 0.01148/1.313, allocations: 2.092 MB / 1.382 GB, free: 55.98 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/1.313, allocations: 60.06 kB / 1.382 GB, free: 55.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002404/1.316, allocations: 1.321 MB / 1.384 GB, free: 54.57 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/1.316, allocations: 45.69 kB / 1.384 GB, free: 54.52 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/1.316, allocations: 0.8108 MB / 1.384 GB, free: 53.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/1.317, allocations: 248.4 kB / 1.385 GB, free: 53.46 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/1.317, allocations: 16 kB / 1.385 GB, free: 53.44 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/1.317, allocations: 341.9 kB / 1.385 GB, free: 53.1 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009254/1.318, allocations: 325.8 kB / 1.385 GB, free: 52.78 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/1.319, allocations: 0.5591 MB / 1.386 GB, free: 52.13 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/1.32, allocations: 406.8 kB / 1.386 GB, free: 51.74 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/1.32, allocations: 7.938 kB / 1.386 GB, free: 51.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003727/1.324, allocations: 1.264 MB / 1.387 GB, free: 50.46 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.324, allocations: 232.5 kB / 1.388 GB, free: 50.16 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/1.324, allocations: 4 kB / 1.388 GB, free: 50.16 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003177/1.327, allocations: 421.7 kB / 1.388 GB, free: 49.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.328, allocations: 163.7 kB / 1.388 GB, free: 49.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002008/1.33, allocations: 2.051 MB / 1.39 GB, free: 47.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.333, allocations: 192.5 kB / 1.39 GB, free: 47.27 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/1.333, allocations: 36 kB / 1.39 GB, free: 47.24 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/1.333, allocations: 4 kB / 1.39 GB, free: 47.23 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002862/1.336, allocations: 1.047 MB / 1.392 GB, free: 46.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/1.336, allocations: 8 kB / 1.392 GB, free: 46.17 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/1.338, allocations: 378.4 kB / 1.392 GB, free: 45.79 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.339, allocations: 151.8 kB / 1.392 GB, free: 45.64 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/1.343, allocations: 3.868 MB / 1.396 GB, free: 41.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002118/1.346, allocations: 179.6 kB / 1.396 GB, free: 41.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/1.346, allocations: 36 kB / 1.396 GB, free: 41.29 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (79): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 3 {2 21,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0009473/1.347, allocations: 472.8 kB / 1.396 GB, free: 40.81 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003757/1.347, allocations: 154.1 kB / 1.397 GB, free: 40.66 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004308/1.351, allocations: 1.216 MB / 1.398 GB, free: 39.44 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003691/1.355, allocations: 1.307 MB / 1.399 GB, free: 38.04 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.574e-06/1.355, allocations: 0 / 1.399 GB, free: 38.04 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009406/1.356, allocations: 335 kB / 1.399 GB, free: 37.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.356, allocations: 12 kB / 1.399 GB, free: 37.68 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.358, allocations: 127 kB / 1.4 GB, free: 37.56 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/1.358, allocations: 48.58 kB / 1.4 GB, free: 37.52 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004139/1.362, allocations: 1.167 MB / 1.401 GB, free: 36.33 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003286/1.366, allocations: 1.434 MB / 1.402 GB, free: 34.88 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008887/1.367, allocations: 345 kB / 1.402 GB, free: 34.54 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001635/1.368, allocations: 0.8782 MB / 1.403 GB, free: 33.66 MB / 0.7917 GB Notification: Performance of Backend: time 5.71e-07/1.368, allocations: 0 / 1.403 GB, free: 33.66 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.006348/1.375, allocations: 1.944 MB / 1.405 GB, free: 31.73 MB / 0.7917 GB Notification: Performance of SimCode: time 0.009639/1.384, allocations: 4.366 MB / 1.409 GB, free: 27.36 MB / 0.7917 GB Notification: Performance of Templates: time 0.08313/1.468, allocations: 34.1 MB / 1.443 GB, free: 10.52 MB / 0.8073 GB