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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") 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.338/1.338, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.001129/0.001129, allocations: 186.6 kB / 330.8 MB, free: 476 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.568/1.568, allocations: 225.7 MB / 0.6016 GB, free: 1.594 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.0007453/0.0007453, allocations: 103.6 kB / 0.709 GB, free: 7.023 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003146/0.0003147, allocations: 8 kB / 0.8262 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 109.2 MB / 0.9328 GB, free: 6.191 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003501/0.1796, allocations: 3.609 MB / 0.9363 GB, free: 2.562 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.1821, allocations: 2.24 MB / 0.9385 GB, free: 320 kB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.1824, allocations: 11.94 kB / 0.9385 GB, free: 308 kB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001341/0.1837, allocations: 0.4941 MB / 0.939 GB, free: 15.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0004889/0.1842, allocations: 214.5 kB / 0.9392 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.1845, allocations: 123.9 kB / 0.9393 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0007549/0.1853, allocations: 0.8019 MB / 0.9401 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003972/0.1857, allocations: 272.1 kB / 0.9404 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.186, allocations: 239 kB / 0.9406 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003172/0.1863, allocations: 294.6 kB / 0.9409 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.705e-05/0.1863, allocations: 35.94 kB / 0.9409 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.418e-05/0.1864, allocations: 36 kB / 0.941 GB, free: 13.8 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.1866, allocations: 127.4 kB / 0.9411 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.1869, allocations: 360 kB / 0.9414 GB, free: 13.32 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.1876, allocations: 0.9379 MB / 0.9423 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1876, allocations: 4 kB / 0.9423 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.046e-06/0.1876, allocations: 4 kB / 0.9423 GB, free: 12.37 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1876, allocations: 0 / 0.9423 GB, free: 12.37 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001184/0.1888, allocations: 0.8412 MB / 0.9432 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1889, allocations: 8.031 kB / 0.9432 GB, free: 11.47 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.189, allocations: 72.09 kB / 0.9432 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005214/0.1895, allocations: 457.6 kB / 0.9437 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.271e-05/0.1895, allocations: 41.38 kB / 0.9437 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.13e-05/0.1896, allocations: 48.38 kB / 0.9438 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007904/0.1904, allocations: 426.7 kB / 0.9442 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.1905, allocations: 0 / 0.9442 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.911e-05/0.1905, allocations: 23.98 kB / 0.9442 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.1905, allocations: 12 kB / 0.9442 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.1912, allocations: 375.8 kB / 0.9446 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001973/0.1932, allocations: 1.539 MB / 0.9461 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.1938, allocations: 348 kB / 0.9464 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005303/0.1943, allocations: 360 kB / 0.9467 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1944, allocations: 4 kB / 0.9467 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1944, allocations: 46.48 kB / 0.9468 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.1944, allocations: 0 / 0.9468 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42): time 0.0009448/0.1954, allocations: 0.5009 MB / 0.9473 GB, free: 7.117 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1954, allocations: 59.34 kB / 0.9473 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/0.196, allocations: 481.9 kB / 0.9478 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.196, allocations: 37.7 kB / 0.9478 GB, free: 6.531 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1962, allocations: 272.4 kB / 0.9481 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001162/0.1963, allocations: 141.9 kB / 0.9482 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.806e-05/0.1963, allocations: 12 kB / 0.9482 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1965, allocations: 358.8 kB / 0.9486 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002526/0.1968, allocations: 128.7 kB / 0.9487 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.197, allocations: 125.5 kB / 0.9488 GB, free: 5.496 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005185/0.1975, allocations: 306.5 kB / 0.9491 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1975, allocations: 0 / 0.9491 GB, free: 5.195 MB / 0.5886 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006315/0.1982, allocations: 412.6 kB / 0.9495 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.1982, allocations: 4 kB / 0.9495 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.1982, allocations: 0 / 0.9495 GB, free: 4.781 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.1982, allocations: 4 kB / 0.9495 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005064/0.1988, allocations: 123.9 kB / 0.9496 GB, free: 4.656 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/0.1988, allocations: 8.703 kB / 0.9496 GB, free: 4.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.1991, allocations: 59.5 kB / 0.9497 GB, free: 4.59 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1991, allocations: 12 kB / 0.9497 GB, free: 4.578 MB / 0.5886 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0002219/0.1993, allocations: 199.3 kB / 0.9499 GB, free: 4.375 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.1994, allocations: 51.38 kB / 0.9499 GB, free: 4.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.1995, allocations: 57.11 kB / 0.95 GB, free: 4.266 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1995, allocations: 4 kB / 0.95 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1995, allocations: 3.938 kB / 0.95 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1995, allocations: 3.984 kB / 0.95 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.2002, allocations: 0.5749 MB / 0.9506 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2002, allocations: 0 / 0.9506 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/0.2007, allocations: 131.8 kB / 0.9507 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.2007, allocations: 4 kB / 0.9507 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.2008, allocations: 12 kB / 0.9507 GB, free: 3.484 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.2008, allocations: 4 kB / 0.9507 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2008, allocations: 0 / 0.9507 GB, free: 3.48 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009758/0.2018, allocations: 0.6712 MB / 0.9514 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.2019, allocations: 144.5 kB / 0.9515 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.015e-05/0.202, allocations: 8 kB / 0.9515 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.2022, allocations: 23.89 kB / 0.9515 GB, free: 2.602 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.2023, allocations: 23.97 kB / 0.9516 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.2023, allocations: 12 kB / 0.9516 GB, free: 2.566 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003905/0.2027, allocations: 351.1 kB / 0.9519 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2027, allocations: 0 / 0.9519 GB, free: 2.223 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000364/0.2031, allocations: 135.7 kB / 0.952 GB, free: 2.09 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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.0001588/0.2033, allocations: 123.2 kB / 0.9522 GB, free: 1.961 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0006075/0.2039, allocations: 331.6 kB / 0.9525 GB, free: 1.637 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.2039, allocations: 3.938 kB / 0.9525 GB, free: 1.633 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000288/0.2042, allocations: 179.8 kB / 0.9526 GB, free: 1.457 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006874/0.2049, allocations: 123.2 kB / 0.9528 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.2069, allocations: 1.511 MB / 0.9542 GB, free: 15.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004208/0.2073, allocations: 0.8707 MB / 0.9551 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.2075, allocations: 48.39 kB / 0.9551 GB, free: 14.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.405e-05/0.2076, allocations: 35.44 kB / 0.9552 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of SimCode: time 5.01e-07/0.2076, allocations: 0 / 0.9552 GB, free: 14.82 MB / 0.6042 GB Notification: Performance of Templates: time 0.01079/0.2184, allocations: 5.557 MB / 0.9606 GB, free: 9.324 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)