Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.283/2.283, allocations: 255 MB / 269.9 MB, free: 9.645 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 196.3 kB / 329.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.612/2.612, allocations: 225.6 MB / 0.6001 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001027, allocations: 102.2 kB / 0.7074 GB, free: 6.273 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004952, allocations: 11.69 kB / 0.8242 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2524, allocations: 109.1 MB / 0.9308 GB, free: 24.89 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent): time 1.007/1.26, allocations: 232.2 MB / 1.158 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03588/1.296, allocations: 16.87 MB / 1.174 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003273/1.299, allocations: 67.56 kB / 1.174 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004009/1.303, allocations: 0.7257 MB / 1.175 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01268/1.316, allocations: 2.822 MB / 1.178 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006754/1.323, allocations: 1.365 MB / 1.179 GB, free: 5.758 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.01133/1.334, allocations: 5.897 MB / 1.185 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/1.338, allocations: 1.4 MB / 1.186 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006107/1.344, allocations: 1.77 MB / 1.188 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003967/1.348, allocations: 1.408 MB / 1.189 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006456/1.349, allocations: 68 kB / 1.189 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006943/1.356, allocations: 1.547 MB / 1.191 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/1.357, allocations: 466.2 kB / 1.191 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0012/1.358, allocations: 440.6 kB / 1.192 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.006319/1.365, allocations: 2.615 MB / 1.194 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/1.365, allocations: 3.938 kB / 1.194 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of FrontEnd: time 3.326e-06/1.365, allocations: 0 / 1.194 GB, free: 6.086 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001267/1.365, allocations: 0 / 1.194 GB, free: 6.086 MB / 0.7448 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.007316/1.372, allocations: 2.129 MB / 1.196 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/1.372, allocations: 8.031 kB / 1.196 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/1.375, allocations: 377.2 kB / 1.197 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004196/1.379, allocations: 1.352 MB / 1.198 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/1.38, allocations: 110.7 kB / 1.198 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/1.38, allocations: 140 kB / 1.198 GB, free: 1.871 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004622/1.384, allocations: 1.519 MB / 1.2 GB, free: 292 kB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/1.385, allocations: 0 / 1.2 GB, free: 292 kB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002074/1.385, allocations: 56 kB / 1.2 GB, free: 236 kB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.861e-05/1.385, allocations: 50.66 kB / 1.2 GB, free: 184 kB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/1.389, allocations: 1.154 MB / 1.201 GB, free: 15.02 MB / 0.7605 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.01341/1.402, allocations: 7.208 MB / 1.208 GB, free: 7.238 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00217/1.404, allocations: 0.8256 MB / 1.209 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/1.406, allocations: 439.9 kB / 1.209 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001402/1.407, allocations: 0.7396 MB / 1.21 GB, free: 5.07 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.048e-05/1.407, allocations: 43.22 kB / 1.21 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=74): time 3.477e-06/1.407, allocations: 0 / 1.21 GB, free: 5.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=74): time 0.01187/1.419, allocations: 2.114 MB / 1.212 GB, free: 2.836 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/1.419, allocations: 64 kB / 1.212 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/1.422, allocations: 1.305 MB / 1.213 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002111/1.422, allocations: 41.7 kB / 1.213 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009249/1.423, allocations: 0.8016 MB / 1.214 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000358/1.423, allocations: 264.3 kB / 1.214 GB, free: 328 kB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/1.424, allocations: 12 kB / 1.214 GB, free: 316 kB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001688/1.424, allocations: 338 kB / 1.215 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.425, allocations: 325.8 kB / 1.215 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/1.426, allocations: 0.563 MB / 1.215 GB, free: 15 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/1.427, allocations: 418.8 kB / 1.216 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.427, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004274/1.432, allocations: 1.255 MB / 1.217 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001841/1.432, allocations: 248.6 kB / 1.217 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/1.432, allocations: 4 kB / 1.217 GB, free: 13 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003345/1.435, allocations: 408.1 kB / 1.218 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/1.437, allocations: 163.7 kB / 1.218 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/1.439, allocations: 2.059 MB / 1.22 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.441, allocations: 184 kB / 1.22 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.442, allocations: 43.97 kB / 1.22 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.442, allocations: 4 kB / 1.22 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0033/1.445, allocations: 1.056 MB / 1.221 GB, free: 9.004 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/1.445, allocations: 8 kB / 1.221 GB, free: 8.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002617/1.448, allocations: 369.5 kB / 1.222 GB, free: 8.629 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/1.449, allocations: 159.7 kB / 1.222 GB, free: 8.473 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004901/1.454, allocations: 3.861 MB / 1.225 GB, free: 4.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/1.456, allocations: 179.1 kB / 1.226 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/1.456, allocations: 32 kB / 1.226 GB, free: 4.117 MB / 0.7761 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.001183/1.458, allocations: 478.8 kB / 1.226 GB, free: 3.641 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004731/1.458, allocations: 158.1 kB / 1.226 GB, free: 3.484 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/1.463, allocations: 1.202 MB / 1.227 GB, free: 2.254 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/1.463, allocations: 12 kB / 1.227 GB, free: 2.242 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/1.463, allocations: 3.938 kB / 1.227 GB, free: 2.238 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004251/1.467, allocations: 1.294 MB / 1.229 GB, free: 0.8516 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007597/1.475, allocations: 2.77 MB / 1.231 GB, free: 13.99 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/1.475, allocations: 4 kB / 1.231 GB, free: 13.98 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/1.476, allocations: 107.8 kB / 1.232 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/1.479, allocations: 368.8 kB / 1.232 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/1.479, allocations: 20 kB / 1.232 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/1.481, allocations: 2.032 MB / 1.234 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/1.481, allocations: 3.938 kB / 1.234 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003583/1.485, allocations: 1.221 MB / 1.235 GB, free: 10.1 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.486, allocations: 342.9 kB / 1.235 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003284/1.486, allocations: 19.98 kB / 1.235 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.488, allocations: 118.8 kB / 1.236 GB, free: 9.613 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/1.489, allocations: 60.41 kB / 1.236 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/1.489, allocations: 31.98 kB / 1.236 GB, free: 9.523 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001947/1.491, allocations: 0.8702 MB / 1.236 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5.61e-07/1.491, allocations: 0 / 1.236 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004/1.495, allocations: 0.9116 MB / 1.237 GB, free: 7.742 MB / 0.7917 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 (49): * Single equations (assignments): 44 * 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.00113/1.496, allocations: 378.2 kB / 1.238 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.005499/1.502, allocations: 1.65 MB / 1.239 GB, free: 5.695 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.502, allocations: 4.062 kB / 1.239 GB, free: 5.691 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001797/1.503, allocations: 474.2 kB / 1.24 GB, free: 5.23 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006963/1.51, allocations: 0.7897 MB / 1.241 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006904/1.517, allocations: 3.245 MB / 1.244 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/1.519, allocations: 1.348 MB / 1.245 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002246/1.521, allocations: 316.1 kB / 1.245 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003771/1.521, allocations: 99.36 kB / 1.245 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of SimCode: time 1.002e-06/1.521, allocations: 4 kB / 1.245 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of Templates: time 0.08961/1.611, allocations: 30.28 MB / 1.275 GB, free: 1.465 MB / 0.823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementLatent.pipe 2>&1)