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.009168/0.009168, allocations: 112.9 kB / 15.06 MB, free: 5.559 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.001134/0.001135, allocations: 181.1 kB / 15.95 MB, free: 5.52 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 1.899/1.899, allocations: 194.6 MB / 211.3 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.246/2.246, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008657/0.0008663, allocations: 12 kB / 0.5869 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5407/0.5416, allocations: 98.71 MB / 0.6833 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 0.3055/0.8472, allocations: 209.4 MB / 0.8879 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03455/0.8818, allocations: 15.78 MB / 0.9033 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.8844, allocations: 63.56 kB / 0.9033 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003614/0.888, allocations: 0.9952 MB / 0.9043 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.8995, allocations: 3.233 MB / 0.9075 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006734/0.9063, allocations: 1.775 MB / 0.9092 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006662/0.913, allocations: 3.101 MB / 0.9122 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00266/0.9157, allocations: 1.337 MB / 0.9135 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004159/0.9199, allocations: 1.596 MB / 0.9151 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.5631/1.483, allocations: 0.9785 MB / 0.9161 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005534/1.484, allocations: 69.16 kB / 0.9161 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/1.488, allocations: 1.296 MB / 0.9174 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008702/1.489, allocations: 437.2 kB / 0.9178 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0008714/1.49, allocations: 437.3 kB / 0.9182 GB, free: 27.54 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.00547/1.496, allocations: 2.448 MB / 0.9206 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.47e-06/1.496, allocations: 4.094 kB / 0.9206 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.883e-06/1.496, allocations: 0.5625 kB / 0.9206 GB, free: 27.35 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.178e-05/1.496, allocations: 2.125 kB / 0.9206 GB, free: 27.35 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: 350 * Number of variables: 350 Notification: Performance of Generate backend data structure: time 0.005938/1.502, allocations: 2.078 MB / 0.9226 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/1.502, allocations: 8.656 kB / 0.9227 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/1.505, allocations: 379.6 kB / 0.923 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/1.509, allocations: 1.336 MB / 0.9243 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/1.509, allocations: 107.4 kB / 0.9244 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003349/1.509, allocations: 138.8 kB / 0.9246 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004179/1.513, allocations: 1.49 MB / 0.926 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-05/1.513, allocations: 3.344 kB / 0.926 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/1.514, allocations: 59.19 kB / 0.9261 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/1.514, allocations: 57.88 kB / 0.9261 GB, free: 25.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/1.517, allocations: 1.165 MB / 0.9273 GB, free: 25.53 MB / 0.7292 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.01143/1.529, allocations: 7.285 MB / 0.9344 GB, free: 21.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002081/1.531, allocations: 0.8691 MB / 0.9352 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007091/1.531, allocations: 0.5542 MB / 0.9358 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/1.531, allocations: 39.88 kB / 0.9358 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=72): time 3.932e-06/1.531, allocations: 0.9375 kB / 0.9358 GB, free: 20.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.008886/1.54, allocations: 2.169 MB / 0.9379 GB, free: 20.22 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/1.54, allocations: 59.75 kB / 0.938 GB, free: 20.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002518/1.543, allocations: 1.326 MB / 0.9393 GB, free: 19.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/1.543, allocations: 43.14 kB / 0.9393 GB, free: 19.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006392/1.544, allocations: 0.8084 MB / 0.9401 GB, free: 19.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/1.544, allocations: 253.4 kB / 0.9404 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.396e-05/1.544, allocations: 18.97 kB / 0.9404 GB, free: 19.49 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/1.544, allocations: 337.2 kB / 0.9407 GB, free: 19.19 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008806/1.545, allocations: 329 kB / 0.941 GB, free: 19.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001026/1.546, allocations: 0.5632 MB / 0.9416 GB, free: 18.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/1.547, allocations: 409.6 kB / 0.9419 GB, free: 18.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.877e-06/1.547, allocations: 4.875 kB / 0.9419 GB, free: 18.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003627/1.551, allocations: 1.264 MB / 0.9432 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000399/1.551, allocations: 1.977 MB / 0.9451 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/1.551, allocations: 5.219 kB / 0.9451 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/1.554, allocations: 416 kB / 0.9455 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009199/1.555, allocations: 158.9 kB / 0.9457 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/1.557, allocations: 2.06 MB / 0.9477 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/1.559, allocations: 195.8 kB / 0.9479 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/1.559, allocations: 37.66 kB / 0.9479 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/1.559, allocations: 4.781 kB / 0.9479 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002718/1.562, allocations: 1.059 MB / 0.9489 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/1.562, allocations: 8.766 kB / 0.9489 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/1.564, allocations: 373 kB / 0.9493 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008575/1.564, allocations: 156 kB / 0.9495 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003899/1.568, allocations: 3.879 MB / 0.9532 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/1.57, allocations: 180 kB / 0.9534 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/1.57, allocations: 37.88 kB / 0.9534 GB, free: 11.64 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.001051/1.572, allocations: 472.8 kB / 0.9539 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/1.572, allocations: 160.1 kB / 0.9541 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/1.575, allocations: 1.217 MB / 0.9552 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.575, allocations: 6.094 kB / 0.9552 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-06/1.575, allocations: 2.031 kB / 0.9552 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002865/1.578, allocations: 1.313 MB / 0.9565 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005943/1.584, allocations: 2.666 MB / 0.9591 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.584, allocations: 0 / 0.9591 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005668/1.585, allocations: 100.3 kB / 0.9592 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001806/1.587, allocations: 381.7 kB / 0.9596 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.193e-05/1.587, allocations: 15.03 kB / 0.9596 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/1.589, allocations: 2.044 MB / 0.9616 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.448e-06/1.589, allocations: 5.844 kB / 0.9616 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/1.592, allocations: 1.338 MB / 0.9629 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.593, allocations: 340.6 kB / 0.9632 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003654/1.593, allocations: 16.44 kB / 0.9633 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/1.595, allocations: 124.3 kB / 0.9634 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/1.595, allocations: 49.42 kB / 0.9634 GB, free: 7.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.931e-05/1.595, allocations: 33.39 kB / 0.9635 GB, free: 7.914 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001574/1.596, allocations: 0.8941 MB / 0.9643 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.46e-07/1.596, allocations: 0 / 0.9643 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003899/1.6, allocations: 0.9205 MB / 0.9652 GB, free: 7.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (46): * Single equations (assignments): 41 * 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 21,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009399/1.601, allocations: 384.8 kB / 0.9656 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004322/1.606, allocations: 1.65 MB / 0.9672 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/1.606, allocations: 6.062 kB / 0.9672 GB, free: 7.258 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002385/1.608, allocations: 476.7 kB / 0.9677 GB, free: 7.238 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007737/1.616, allocations: 0.7753 MB / 0.9684 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009095/1.625, allocations: 3.229 MB / 0.9716 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001686/1.627, allocations: 1.386 MB / 0.9729 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003243/1.63, allocations: 311 kB / 0.9732 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/1.631, allocations: 100.1 kB / 0.9733 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of SimCode: time 2.354e-06/1.631, allocations: 0 / 0.9733 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of Templates: time 0.1206/1.751, allocations: 30.61 MB / 1.003 GB, free: 8.418 MB / 0.7449 GB