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.01022/0.01022, allocations: 221.7 kB / 15.17 MB, free: 5.934 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.001077/0.001077, allocations: 174.7 kB / 16.06 MB, free: 5.836 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.529/3.529, allocations: 389.1 MB / 405.9 MB, free: 13.32 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.941/3.941, allocations: 472.3 MB / 0.9018 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004823, allocations: 12 kB / 1.008 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4822/0.4827, allocations: 98.71 MB / 1.104 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.8011/1.284, allocations: 228 MB / 1.327 GB, free: 6.117 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0237/1.308, allocations: 16.94 MB / 1.343 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002703/1.31, allocations: 69.53 kB / 1.343 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002799/1.313, allocations: 0.8985 MB / 1.344 GB, free: 5.844 MB / 0.6823 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.01093/1.324, allocations: 3.43 MB / 1.348 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006469/1.331, allocations: 1.765 MB / 1.349 GB, free: 5.742 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.007878/1.338, allocations: 6.002 MB / 1.355 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/1.341, allocations: 1.316 MB / 1.356 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003763/1.345, allocations: 1.681 MB / 1.358 GB, free: 5.543 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/1.347, allocations: 1.41 MB / 1.359 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002993/1.347, allocations: 69.44 kB / 1.36 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/1.351, allocations: 1.153 MB / 1.361 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006272/1.352, allocations: 467.4 kB / 1.361 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007291/1.353, allocations: 432.3 kB / 1.362 GB, free: 5.508 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/1.356, allocations: 2.477 MB / 1.364 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.923e-06/1.356, allocations: 0 / 1.364 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.034e-06/1.356, allocations: 3.188 kB / 1.364 GB, free: 4.488 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.428e-05/1.356, allocations: 0 / 1.364 GB, free: 4.488 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.003899/1.36, allocations: 2.077 MB / 1.366 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/1.36, allocations: 12.02 kB / 1.366 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001978/1.362, allocations: 377.2 kB / 1.366 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002727/1.365, allocations: 1.378 MB / 1.368 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.645e-05/1.365, allocations: 107.4 kB / 1.368 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/1.365, allocations: 136.7 kB / 1.368 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/1.368, allocations: 1.503 MB / 1.369 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.779e-05/1.368, allocations: 6.531 kB / 1.369 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.368, allocations: 56.75 kB / 1.369 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/1.368, allocations: 66.86 kB / 1.37 GB, free: 1.867 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002848/1.371, allocations: 1.155 MB / 1.371 GB, free: 1.688 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.01052/1.382, allocations: 7.164 MB / 1.378 GB, free: 12.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/1.383, allocations: 0.8253 MB / 1.378 GB, free: 12.51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009045/1.384, allocations: 435.3 kB / 1.379 GB, free: 12.45 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/1.386, allocations: 0.7261 MB / 1.38 GB, free: 11.66 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/1.386, allocations: 44.38 kB / 1.38 GB, free: 11.62 MB / 0.698 GB Notification: Performance of pre-optimization done (n=72): time 3.759e-06/1.386, allocations: 4 kB / 1.38 GB, free: 11.62 MB / 0.698 GB Notification: Performance of matching and sorting (n=72): time 0.007822/1.393, allocations: 2.107 MB / 1.382 GB, free: 10.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/1.394, allocations: 58.56 kB / 1.382 GB, free: 10.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/1.396, allocations: 1.306 MB / 1.383 GB, free: 10.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/1.396, allocations: 42.05 kB / 1.383 GB, free: 10.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007219/1.397, allocations: 0.8102 MB / 1.384 GB, free: 9.918 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003021/1.397, allocations: 252.1 kB / 1.384 GB, free: 9.742 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/1.397, allocations: 16.19 kB / 1.384 GB, free: 9.742 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00019/1.397, allocations: 348.2 kB / 1.384 GB, free: 9.418 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/1.398, allocations: 326.8 kB / 1.385 GB, free: 9.367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001034/1.399, allocations: 0.5613 MB / 1.385 GB, free: 9.047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008969/1.4, allocations: 411.9 kB / 1.386 GB, free: 9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.256e-06/1.4, allocations: 4.484 kB / 1.386 GB, free: 9 MB / 0.698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003248/1.403, allocations: 1.265 MB / 1.387 GB, free: 8.688 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/1.403, allocations: 236.8 kB / 1.387 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.403, allocations: 3.375 kB / 1.387 GB, free: 8.422 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/1.406, allocations: 418.5 kB / 1.388 GB, free: 8.289 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/1.407, allocations: 163.9 kB / 1.388 GB, free: 8.266 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/1.409, allocations: 2.044 MB / 1.39 GB, free: 6.629 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.411, allocations: 189.7 kB / 1.39 GB, free: 6.543 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.411, allocations: 43.45 kB / 1.39 GB, free: 6.539 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.411, allocations: 3.344 kB / 1.39 GB, free: 6.539 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002464/1.413, allocations: 1.048 MB / 1.391 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/1.413, allocations: 5.75 kB / 1.391 GB, free: 6.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/1.415, allocations: 376.6 kB / 1.391 GB, free: 6.242 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/1.416, allocations: 156.7 kB / 1.391 GB, free: 6.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004753/1.421, allocations: 3.869 MB / 1.395 GB, free: 2.863 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/1.422, allocations: 177.8 kB / 1.395 GB, free: 2.785 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/1.422, allocations: 35.2 kB / 1.395 GB, free: 2.781 MB / 0.698 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.001005/1.423, allocations: 486.1 kB / 1.396 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/1.424, allocations: 155.2 kB / 1.396 GB, free: 2.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/1.427, allocations: 1.214 MB / 1.397 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.427, allocations: 7.5 kB / 1.397 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.1e-06/1.427, allocations: 2.75 kB / 1.397 GB, free: 2.148 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003173/1.43, allocations: 1.31 MB / 1.399 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/1.437, allocations: 2.69 MB / 1.401 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.437, allocations: 11.98 kB / 1.401 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/1.438, allocations: 93.48 kB / 1.401 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/1.439, allocations: 374.9 kB / 1.402 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/1.44, allocations: 17.5 kB / 1.402 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/1.442, allocations: 2.035 MB / 1.404 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.442, allocations: 2.625 kB / 1.404 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/1.445, allocations: 1.182 MB / 1.405 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008729/1.446, allocations: 339.8 kB / 1.405 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/1.446, allocations: 12.25 kB / 1.405 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001318/1.447, allocations: 128.8 kB / 1.405 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/1.447, allocations: 46.83 kB / 1.405 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/1.447, allocations: 29.17 kB / 1.405 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001659/1.449, allocations: 0.8822 MB / 1.406 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.63e-07/1.449, allocations: 0 / 1.406 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003429/1.452, allocations: 0.9087 MB / 1.407 GB, free: 10.04 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 simulation (47): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 20,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009001/1.453, allocations: 372.1 kB / 1.407 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004428/1.458, allocations: 1.65 MB / 1.409 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.547e-06/1.458, allocations: 448 / 1.409 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001406/1.459, allocations: 468.2 kB / 1.409 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/1.464, allocations: 0.7866 MB / 1.41 GB, free: 7.465 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/1.47, allocations: 3.231 MB / 1.413 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/1.471, allocations: 1.377 MB / 1.415 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001913/1.473, allocations: 320.1 kB / 1.415 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/1.474, allocations: 91.44 kB / 1.415 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of SimCode: time 1.653e-06/1.474, allocations: 0 / 1.415 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of Templates: time 0.07382/1.548, allocations: 30.25 MB / 1.445 GB, free: 5.012 MB / 0.7448 GB