Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_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.1/package.mo): time 2.159/2.159, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001383/0.001383, allocations: 201.3 kB / 329.5 MB, free: 1.152 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.403/2.403, allocations: 225.6 MB / 0.6001 GB, free: 444 kB / 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.0009856/0.0009854, allocations: 102.2 kB / 0.7074 GB, free: 6.129 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004638, allocations: 15.45 kB / 0.8243 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2016/0.2021, allocations: 109.1 MB / 0.9308 GB, free: 24.83 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004657/0.2068, allocations: 3.598 MB / 0.9343 GB, free: 21.21 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.00379/0.2107, allocations: 2.198 MB / 0.9365 GB, free: 19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004079/0.2111, allocations: 12 kB / 0.9365 GB, free: 18.99 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.2128, allocations: 465.9 kB / 0.9369 GB, free: 18.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0006952/0.2135, allocations: 210.5 kB / 0.9371 GB, free: 18.33 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2138, allocations: 87.91 kB / 0.9372 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0008885/0.2148, allocations: 0.7552 MB / 0.9379 GB, free: 17.48 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004744/0.2152, allocations: 265.5 kB / 0.9382 GB, free: 17.22 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000352/0.2156, allocations: 227.1 kB / 0.9384 GB, free: 17 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.216, allocations: 278.8 kB / 0.9387 GB, free: 16.72 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 7.519e-05/0.2161, allocations: 36 kB / 0.9387 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2163, allocations: 47.88 kB / 0.9388 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2164, allocations: 119.5 kB / 0.9389 GB, free: 16.52 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.2165, allocations: 165.3 kB / 0.939 GB, free: 16.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0007825/0.2173, allocations: 0.7906 MB / 0.9398 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.2174, allocations: 0 / 0.9398 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2174, allocations: 0 / 0.9398 GB, free: 15.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2174, allocations: 0 / 0.9398 GB, free: 15.56 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.001709/0.2191, allocations: 0.8413 MB / 0.9406 GB, free: 14.67 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.2192, allocations: 19.98 kB / 0.9406 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.2193, allocations: 72.09 kB / 0.9407 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.22, allocations: 442 kB / 0.9411 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.468e-05/0.2201, allocations: 33.38 kB / 0.9412 GB, free: 14.08 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.2202, allocations: 48.38 kB / 0.9412 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.2213, allocations: 438.7 kB / 0.9416 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.2213, allocations: 0 / 0.9416 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.007e-05/0.2214, allocations: 19.98 kB / 0.9416 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.2214, allocations: 16 kB / 0.9417 GB, free: 13.56 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.2225, allocations: 367.8 kB / 0.942 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002735/0.2252, allocations: 1.543 MB / 0.9435 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007769/0.2261, allocations: 351.4 kB / 0.9439 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007038/0.2268, allocations: 356.4 kB / 0.9442 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.175e-05/0.2268, allocations: 4 kB / 0.9442 GB, free: 10.88 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.2269, allocations: 46.5 kB / 0.9442 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=42): time 3.016e-06/0.2269, allocations: 0 / 0.9442 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=42): time 0.001395/0.2283, allocations: 0.5009 MB / 0.9447 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.2283, allocations: 59.34 kB / 0.9448 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007057/0.2291, allocations: 481.9 kB / 0.9453 GB, free: 9.766 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.2291, allocations: 33.7 kB / 0.9453 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.2293, allocations: 284.3 kB / 0.9456 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.2294, allocations: 149.8 kB / 0.9457 GB, free: 9.297 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.596e-05/0.2295, allocations: 8.766 kB / 0.9457 GB, free: 9.289 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.571e-05/0.2296, allocations: 358.8 kB / 0.946 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.23, allocations: 124.7 kB / 0.9462 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003784/0.2304, allocations: 133.4 kB / 0.9463 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.2308, allocations: 146.4 kB / 0.9464 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2308, allocations: 0 / 0.9464 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009934/0.2318, allocations: 404 kB / 0.9468 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.2319, allocations: 11.94 kB / 0.9468 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.2319, allocations: 0 / 0.9468 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.2319, allocations: 0 / 0.9468 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/0.2328, allocations: 131.8 kB / 0.947 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2328, allocations: 0 / 0.947 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004722/0.2333, allocations: 55.59 kB / 0.947 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.998e-05/0.2334, allocations: 12 kB / 0.947 GB, free: 7.926 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003058/0.2337, allocations: 195.5 kB / 0.9472 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.2338, allocations: 59.28 kB / 0.9473 GB, free: 7.668 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.2339, allocations: 61.11 kB / 0.9473 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.234, allocations: 4 kB / 0.9473 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.234, allocations: 0 / 0.9473 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.234, allocations: 3.984 kB / 0.9473 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007918/0.2348, allocations: 0.5635 MB / 0.9479 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2348, allocations: 0 / 0.9479 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009582/0.2358, allocations: 131.8 kB / 0.948 GB, free: 6.855 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2358, allocations: 4 kB / 0.948 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.2358, allocations: 8 kB / 0.948 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2358, allocations: 8 kB / 0.948 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2359, allocations: 0 / 0.948 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.2373, allocations: 0.671 MB / 0.9487 GB, free: 6.148 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.2375, allocations: 144.3 kB / 0.9488 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.2376, allocations: 8 kB / 0.9488 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.238, allocations: 23.98 kB / 0.9488 GB, free: 5.957 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.241e-05/0.2381, allocations: 23.95 kB / 0.9489 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.77e-05/0.2381, allocations: 12 kB / 0.9489 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005163/0.2387, allocations: 355.1 kB / 0.9492 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-07/0.2387, allocations: 0 / 0.9492 GB, free: 5.574 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005303/0.2392, allocations: 139.6 kB / 0.9494 GB, free: 5.438 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001481/0.2394, allocations: 123.7 kB / 0.9495 GB, free: 5.309 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008737/0.2403, allocations: 327.7 kB / 0.9498 GB, free: 4.988 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2403, allocations: 4 kB / 0.9498 GB, free: 4.984 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.2407, allocations: 187.5 kB / 0.95 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.2418, allocations: 126.4 kB / 0.9501 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.2444, allocations: 1.437 MB / 0.9515 GB, free: 3.211 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.2448, allocations: 0.8707 MB / 0.9523 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003293/0.2451, allocations: 52.39 kB / 0.9524 GB, free: 2.262 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.2453, allocations: 35.44 kB / 0.9524 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of SimCode: time 1.282e-06/0.2453, allocations: 0 / 0.9524 GB, free: 2.227 MB / 0.5886 GB Notification: Performance of Templates: time 0.01711/0.2624, allocations: 5.388 MB / 0.9577 GB, free: 12.9 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)