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.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.183/2.183, allocations: 254.9 MB / 269.9 MB, free: 9.648 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.001351/0.001351, allocations: 192 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.267/2.267, allocations: 225.6 MB / 0.6001 GB, free: 2.281 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.001028, allocations: 91.75 kB / 0.7074 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004767/0.000477, allocations: 11.5 kB / 0.8243 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2328, allocations: 109.1 MB / 0.9308 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.0016/0.2344, allocations: 1.141 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004896/0.2394, allocations: 2.746 MB / 0.9346 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.728e-05/0.2395, allocations: 0 / 0.9346 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2396, allocations: 7.922 kB / 0.9346 GB, free: 21.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.2396, allocations: 11.92 kB / 0.9346 GB, free: 21.17 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.00495/0.2446, allocations: 1.335 MB / 0.9359 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.816e-05/0.2447, allocations: 39.73 kB / 0.936 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.2448, allocations: 4 kB / 0.936 GB, free: 19.8 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.2448, allocations: 15.94 kB / 0.936 GB, free: 19.78 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 3.596e-05/0.2449, allocations: 11.92 kB / 0.936 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2449, allocations: 7.938 kB / 0.936 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.2477, allocations: 1.264 MB / 0.9373 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.156e-05/0.2478, allocations: 7.938 kB / 0.9373 GB, free: 18.49 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.258e-05/0.2478, allocations: 29.7 kB / 0.9373 GB, free: 18.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.2494, allocations: 0.7254 MB / 0.938 GB, free: 17.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.2495, allocations: 4 kB / 0.938 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2495, allocations: 0 / 0.938 GB, free: 17.72 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.2495, allocations: 0 / 0.938 GB, free: 17.72 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006226/0.2501, allocations: 0.5069 MB / 0.9385 GB, free: 17.17 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.2502, allocations: 8.031 kB / 0.9385 GB, free: 17.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.2502, allocations: 80.2 kB / 0.9386 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.2504, allocations: 251.5 kB / 0.9388 GB, free: 16.8 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.2504, allocations: 154.9 kB / 0.939 GB, free: 16.64 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.587e-05/0.2504, allocations: 158.9 kB / 0.9391 GB, free: 16.49 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.926e-05/0.2505, allocations: 105.1 kB / 0.9392 GB, free: 16.38 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.2505, allocations: 75.28 kB / 0.9393 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.608e-05/0.2506, allocations: 150.6 kB / 0.9394 GB, free: 16.16 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.2506, allocations: 154.5 kB / 0.9396 GB, free: 16 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.841e-05/0.2506, allocations: 158.6 kB / 0.9397 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.2509, allocations: 461.9 kB / 0.9402 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.24e-05/0.2509, allocations: 165.1 kB / 0.9403 GB, free: 15.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.163e-05/0.251, allocations: 80.14 kB / 0.9404 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.251, allocations: 87.2 kB / 0.9405 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.251, allocations: 121.7 kB / 0.9406 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.251, allocations: 0 / 0.9406 GB, free: 14.88 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.677e-05/0.2511, allocations: 33.61 kB / 0.9406 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.2512, allocations: 126.7 kB / 0.9408 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.2513, allocations: 129.8 kB / 0.9409 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.2513, allocations: 29.7 kB / 0.9409 GB, free: 14.53 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.2514, allocations: 92.12 kB / 0.941 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.2514, allocations: 0 / 0.941 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.2514, allocations: 0 / 0.941 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.863e-05/0.2515, allocations: 318.8 kB / 0.9413 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.963e-05/0.2515, allocations: 4 kB / 0.9413 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.689e-05/0.2515, allocations: 4 kB / 0.9413 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.2516, allocations: 11.94 kB / 0.9413 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2516, allocations: 0 / 0.9413 GB, free: 14.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001419/0.2518, allocations: 53.59 kB / 0.9414 GB, free: 14.04 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2518, allocations: 12 kB / 0.9414 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/0.2518, allocations: 0 / 0.9414 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2518, allocations: 0 / 0.9414 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.373e-06/0.2518, allocations: 4 kB / 0.9414 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.2519, allocations: 3.938 kB / 0.9414 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.825e-05/0.2519, allocations: 7.844 kB / 0.9414 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.2519, allocations: 0 / 0.9414 GB, free: 14.01 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.31e-05/0.252, allocations: 193.1 kB / 0.9416 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.2521, allocations: 112.9 kB / 0.9417 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.2521, allocations: 108.9 kB / 0.9418 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/0.2522, allocations: 180.3 kB / 0.942 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-05/0.2522, allocations: 184.2 kB / 0.9421 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.217e-05/0.2522, allocations: 184.2 kB / 0.9423 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.2524, allocations: 413.2 kB / 0.9427 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.11e-05/0.2525, allocations: 108.9 kB / 0.9428 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.2525, allocations: 101 kB / 0.9429 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.485e-05/0.2525, allocations: 188.2 kB / 0.9431 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.598e-05/0.2526, allocations: 176.3 kB / 0.9433 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.244e-05/0.2526, allocations: 184.2 kB / 0.9434 GB, free: 11.78 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-05/0.2527, allocations: 180.5 kB / 0.9436 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.138e-05/0.2528, allocations: 323.6 kB / 0.9439 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.963e-05/0.2528, allocations: 189.9 kB / 0.9441 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.2529, allocations: 180.2 kB / 0.9443 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.253, allocations: 101 kB / 0.9444 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.253, allocations: 184.2 kB / 0.9445 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.2531, allocations: 113 kB / 0.9447 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.463e-05/0.2532, allocations: 103.8 kB / 0.9448 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2532, allocations: 0 / 0.9448 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0009367/0.2541, allocations: 275.8 kB / 0.945 GB, free: 10.08 MB / 0.5886 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 (0): * Single equations (assignments): 0 * 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.001364/0.2555, allocations: 0.5314 MB / 0.9455 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.2556, allocations: 41.69 kB / 0.9456 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2556, allocations: 0 / 0.9456 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.027e-06/0.2557, allocations: 3.938 kB / 0.9456 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.2561, allocations: 0.5302 MB / 0.9461 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.2564, allocations: 253.2 kB / 0.9463 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.2565, allocations: 0.6809 MB / 0.947 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.974e-05/0.2566, allocations: 4 kB / 0.947 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.264e-05/0.2566, allocations: 7.438 kB / 0.947 GB, free: 7.973 MB / 0.5886 GB Notification: Performance of SimCode: time 1.703e-06/0.2566, allocations: 4 kB / 0.947 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of Templates: time 0.01267/0.2693, allocations: 5.706 MB / 0.9526 GB, free: 2.27 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)