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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.259/2.259, 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.001271/0.00127, allocations: 189.8 kB / 329.5 MB, free: 1.172 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.422/2.422, allocations: 225.6 MB / 0.6001 GB, free: 2.156 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.001022/0.001022, allocations: 103.6 kB / 0.7074 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0006885/0.0006888, allocations: 12.28 kB / 0.8243 GB, free: 124.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2442, allocations: 109.1 MB / 0.9308 GB, free: 25.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.0024/0.2467, allocations: 1.137 MB / 0.9319 GB, free: 23.95 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007678/0.2544, allocations: 2.692 MB / 0.9346 GB, free: 21.24 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.2e-05/0.2545, allocations: 8 kB / 0.9346 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.924e-05/0.2546, allocations: 3.984 kB / 0.9346 GB, free: 21.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.2547, allocations: 11.81 kB / 0.9346 GB, free: 21.22 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/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.007595/0.2623, allocations: 1.318 MB / 0.9359 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2625, allocations: 39.73 kB / 0.9359 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.061e-05/0.2626, allocations: 8 kB / 0.9359 GB, free: 19.86 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.03e-05/0.2626, allocations: 11.94 kB / 0.9359 GB, free: 19.84 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.673e-05/0.2627, allocations: 11.94 kB / 0.9359 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.2627, allocations: 4 kB / 0.9359 GB, free: 19.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004169/0.2669, allocations: 1.229 MB / 0.9371 GB, free: 18.6 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.632e-05/0.267, allocations: 7.938 kB / 0.9371 GB, free: 18.59 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.2671, allocations: 29.7 kB / 0.9372 GB, free: 18.55 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002307/0.2694, allocations: 0.6982 MB / 0.9379 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.2695, allocations: 0 / 0.9379 GB, free: 17.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.707e-06/0.2695, allocations: 4 kB / 0.9379 GB, free: 17.85 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.2695, allocations: 0 / 0.9379 GB, free: 17.85 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.0009478/0.2705, allocations: 0.5108 MB / 0.9384 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.2705, allocations: 8.031 kB / 0.9384 GB, free: 17.29 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.793e-05/0.2706, allocations: 80.16 kB / 0.9384 GB, free: 17.21 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001574/0.2708, allocations: 259.5 kB / 0.9387 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.2709, allocations: 150.9 kB / 0.9388 GB, free: 16.77 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.923e-05/0.2709, allocations: 154.9 kB / 0.939 GB, free: 16.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.033e-05/0.271, allocations: 105.1 kB / 0.9391 GB, free: 16.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.531e-05/0.2711, allocations: 75.28 kB / 0.9392 GB, free: 16.43 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.2711, allocations: 150.6 kB / 0.9393 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.381e-05/0.2712, allocations: 150.6 kB / 0.9394 GB, free: 16.13 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.093e-05/0.2712, allocations: 162.5 kB / 0.9396 GB, free: 15.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003403/0.2716, allocations: 457.9 kB / 0.94 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.954e-05/0.2717, allocations: 173.1 kB / 0.9402 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.97e-05/0.2718, allocations: 80.14 kB / 0.9403 GB, free: 15.21 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.2718, allocations: 75.28 kB / 0.9404 GB, free: 15.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.2718, allocations: 113.8 kB / 0.9405 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.334e-06/0.2719, allocations: 0 / 0.9405 GB, free: 15.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001146/0.272, allocations: 37.55 kB / 0.9405 GB, free: 14.98 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2721, allocations: 130.6 kB / 0.9406 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.2723, allocations: 133.8 kB / 0.9407 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.2723, allocations: 25.7 kB / 0.9408 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.165e-05/0.2724, allocations: 88.14 kB / 0.9409 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.486e-06/0.2724, allocations: 7.938 kB / 0.9409 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.2724, allocations: 0 / 0.9409 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2725, allocations: 318.8 kB / 0.9412 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.167e-05/0.2726, allocations: 4.047 kB / 0.9412 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.798e-05/0.2726, allocations: 8 kB / 0.9412 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.2727, allocations: 4 kB / 0.9412 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.2727, allocations: 0 / 0.9412 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002154/0.273, allocations: 53.48 kB / 0.9412 GB, free: 14.17 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.273, allocations: 7.984 kB / 0.9412 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.2731, allocations: 8.047 kB / 0.9412 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2731, allocations: 4 kB / 0.9413 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.605e-06/0.2731, allocations: 0 / 0.9413 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2731, allocations: 0 / 0.9413 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.816e-05/0.2732, allocations: 8 kB / 0.9413 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.2732, allocations: 0 / 0.9413 GB, free: 14.14 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 0.0001046/0.2734, allocations: 181.1 kB / 0.9414 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/0.2735, allocations: 112.8 kB / 0.9415 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.2735, allocations: 124.8 kB / 0.9417 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-05/0.2736, allocations: 176.3 kB / 0.9418 GB, free: 13.53 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.757e-05/0.2737, allocations: 180.2 kB / 0.942 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.561e-05/0.2737, allocations: 176.3 kB / 0.9422 GB, free: 13.16 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.274, allocations: 417.2 kB / 0.9426 GB, free: 12.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-05/0.2741, allocations: 108.9 kB / 0.9427 GB, free: 12.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.837e-05/0.2741, allocations: 105 kB / 0.9428 GB, free: 12.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.513e-05/0.2742, allocations: 184.2 kB / 0.9429 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.843e-05/0.2743, allocations: 176.3 kB / 0.9431 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.437e-05/0.2743, allocations: 176.3 kB / 0.9433 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.764e-05/0.2744, allocations: 184.2 kB / 0.9435 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.2745, allocations: 319.7 kB / 0.9438 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.2746, allocations: 182 kB / 0.9439 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.2747, allocations: 188.2 kB / 0.9441 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.2749, allocations: 108.9 kB / 0.9442 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.2749, allocations: 184.5 kB / 0.9444 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.275, allocations: 108.9 kB / 0.9445 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.696e-05/0.2751, allocations: 95.89 kB / 0.9446 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.42e-07/0.2751, allocations: 0 / 0.9446 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001521/0.2766, allocations: 283.8 kB / 0.9449 GB, free: 10.23 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.002053/0.2787, allocations: 0.5186 MB / 0.9454 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001647/0.2789, allocations: 41.7 kB / 0.9454 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.279, allocations: 0 / 0.9454 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 5.079e-06/0.279, allocations: 3.938 kB / 0.9454 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000606/0.2796, allocations: 0.5358 MB / 0.9459 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000403/0.28, allocations: 255.7 kB / 0.9462 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/0.2802, allocations: 0.6809 MB / 0.9468 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.25e-05/0.2803, allocations: 0 / 0.9468 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2803, allocations: 11.44 kB / 0.9469 GB, free: 8.125 MB / 0.5886 GB Notification: Performance of SimCode: time 1.363e-06/0.2803, allocations: 4 kB / 0.9469 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of Templates: time 0.01905/0.2994, allocations: 5.509 MB / 0.9522 GB, free: 2.617 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)