Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.45/1.45, allocations: 255.9 MB / 271.2 MB, free: 8.91 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.0009753/0.0009756, allocations: 183 kB / 330.8 MB, free: 484 kB / 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 1.543/1.543, allocations: 225.7 MB / 0.6016 GB, free: 1.66 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.0009278/0.0009274, allocations: 109.5 kB / 0.709 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003108/0.0003109, allocations: 8 kB / 0.8261 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.173, allocations: 109.2 MB / 0.9328 GB, free: 6.246 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.0007612/0.1738, allocations: 281.2 kB / 0.933 GB, free: 5.977 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0002722/0.1741, allocations: 180.9 kB / 0.9332 GB, free: 5.781 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.651e-05/0.1741, allocations: 0 / 0.9332 GB, free: 5.781 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 9.153e-05/0.1742, allocations: 15.98 kB / 0.9332 GB, free: 5.766 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.1742, allocations: 0 / 0.9332 GB, free: 5.766 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001182/0.1744, allocations: 35.84 kB / 0.9333 GB, free: 5.73 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.609e-05/0.1744, allocations: 19.98 kB / 0.9333 GB, free: 5.711 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.1745, allocations: 8 kB / 0.9333 GB, free: 5.703 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.307e-05/0.1745, allocations: 15.98 kB / 0.9333 GB, free: 5.688 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.1745, allocations: 11.98 kB / 0.9333 GB, free: 5.676 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1746, allocations: 7.938 kB / 0.9333 GB, free: 5.668 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.1746, allocations: 8 kB / 0.9333 GB, free: 5.66 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.468e-06/0.1746, allocations: 0 / 0.9333 GB, free: 5.66 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.1747, allocations: 37.67 kB / 0.9334 GB, free: 5.617 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 8.414e-05/0.1747, allocations: 35.95 kB / 0.9334 GB, free: 5.582 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1748, allocations: 0 / 0.9334 GB, free: 5.582 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.744e-06/0.1748, allocations: 3.938 kB / 0.9334 GB, free: 5.578 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.517e-06/0.1748, allocations: 0 / 0.9334 GB, free: 5.578 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002566/0.175, allocations: 345.3 kB / 0.9337 GB, free: 5.184 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1751, allocations: 13.11 kB / 0.9337 GB, free: 5.172 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.1751, allocations: 8.938 kB / 0.9338 GB, free: 5.164 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.66e-05/0.1752, allocations: 164.4 kB / 0.9339 GB, free: 4.965 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1752, allocations: 4.375 kB / 0.9339 GB, free: 4.961 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1752, allocations: 8.312 kB / 0.9339 GB, free: 4.953 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.1754, allocations: 54.23 kB / 0.934 GB, free: 4.895 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1754, allocations: 192 / 0.934 GB, free: 4.895 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.1754, allocations: 3.938 kB / 0.934 GB, free: 4.891 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1754, allocations: 0 / 0.934 GB, free: 4.891 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.1754, allocations: 11.98 kB / 0.934 GB, free: 4.879 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.898e-05/0.1755, allocations: 157.7 kB / 0.9341 GB, free: 4.676 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 4.569e-05/0.1756, allocations: 26.59 kB / 0.9342 GB, free: 4.641 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.1756, allocations: 20.86 kB / 0.9342 GB, free: 4.617 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.1756, allocations: 4 kB / 0.9342 GB, free: 4.613 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.1757, allocations: 30.56 kB / 0.9342 GB, free: 4.574 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.1757, allocations: 0 / 0.9342 GB, free: 4.574 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0002001/0.1759, allocations: 115.3 kB / 0.9343 GB, free: 4.449 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.1759, allocations: 81.11 kB / 0.9344 GB, free: 4.352 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.176, allocations: 93.86 kB / 0.9345 GB, free: 4.25 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.176, allocations: 25.7 kB / 0.9345 GB, free: 4.219 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 1.501e-05/0.176, allocations: 80.14 kB / 0.9346 GB, free: 4.137 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.176, allocations: 11.91 kB / 0.9346 GB, free: 4.125 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.162e-06/0.176, allocations: 0 / 0.9346 GB, free: 4.125 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.47e-05/0.1761, allocations: 314.8 kB / 0.9349 GB, free: 3.809 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.1761, allocations: 16.19 kB / 0.9349 GB, free: 3.793 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.336e-05/0.1761, allocations: 15.98 kB / 0.9349 GB, free: 3.777 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.824e-05/0.1762, allocations: 76.27 kB / 0.935 GB, free: 3.688 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1762, allocations: 0 / 0.935 GB, free: 3.688 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001069/0.1763, allocations: 99.38 kB / 0.9351 GB, free: 3.578 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1764, allocations: 29.7 kB / 0.9351 GB, free: 3.543 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1764, allocations: 3.938 kB / 0.9351 GB, free: 3.539 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.1764, allocations: 0 / 0.9351 GB, free: 3.539 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.553e-06/0.1764, allocations: 96 / 0.9351 GB, free: 3.539 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1764, allocations: 15.92 kB / 0.9352 GB, free: 3.523 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.1765, allocations: 4 kB / 0.9352 GB, free: 3.52 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1766, allocations: 0 / 0.9352 GB, free: 3.52 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.711e-05/0.1766, allocations: 148.4 kB / 0.9353 GB, free: 3.359 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.1766, allocations: 4 kB / 0.9353 GB, free: 3.355 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.177e-05/0.1767, allocations: 11.06 kB / 0.9353 GB, free: 3.34 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1767, allocations: 3.938 kB / 0.9353 GB, free: 3.336 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.1767, allocations: 0 / 0.9353 GB, free: 3.336 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1767, allocations: 4 kB / 0.9353 GB, free: 3.332 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.177e-05/0.1767, allocations: 149.7 kB / 0.9355 GB, free: 3.137 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1767, allocations: 0 / 0.9355 GB, free: 3.137 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.1767, allocations: 4 kB / 0.9355 GB, free: 3.133 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.083e-06/0.1767, allocations: 0 / 0.9355 GB, free: 3.133 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.1768, allocations: 15.91 kB / 0.9355 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.1768, allocations: 0 / 0.9355 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1768, allocations: 0 / 0.9355 GB, free: 3.117 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.1769, allocations: 126.8 kB / 0.9356 GB, free: 2.969 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.1769, allocations: 81.05 kB / 0.9357 GB, free: 2.871 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.1769, allocations: 7.938 kB / 0.9357 GB, free: 2.863 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.177, allocations: 4 kB / 0.9357 GB, free: 2.859 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.954e-05/0.1771, allocations: 7.984 kB / 0.9357 GB, free: 2.852 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-06/0.1771, allocations: 4 kB / 0.9357 GB, free: 2.848 MB / 0.573 GB Notification: Performance of sorting global known variables: time 1.971e-05/0.1771, allocations: 83.22 kB / 0.9358 GB, free: 2.766 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1771, allocations: 0 / 0.9358 GB, free: 2.766 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.000188/0.1773, allocations: 12.12 kB / 0.9358 GB, free: 2.754 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001947/0.1775, allocations: 127.4 kB / 0.9359 GB, free: 2.629 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001196/0.1776, allocations: 79.39 kB / 0.936 GB, free: 2.539 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1776, allocations: 0 / 0.936 GB, free: 2.539 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 4.392e-05/0.1777, allocations: 71.39 kB / 0.9361 GB, free: 2.457 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001269/0.1778, allocations: 12.12 kB / 0.9361 GB, free: 2.445 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002514/0.1781, allocations: 114.6 kB / 0.9362 GB, free: 2.305 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.1782, allocations: 0.6692 MB / 0.9368 GB, free: 1.609 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 7.211e-05/0.1783, allocations: 4 kB / 0.9368 GB, free: 1.605 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.306e-06/0.1783, allocations: 11.38 kB / 0.9368 GB, free: 1.594 MB / 0.573 GB Notification: Performance of SimCode: time 3.01e-07/0.1783, allocations: 0 / 0.9368 GB, free: 1.594 MB / 0.573 GB Notification: Performance of Templates: time 0.002749/0.181, allocations: 1.044 MB / 0.9379 GB, free: 0.5547 MB / 0.573 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)