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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.263/2.263, allocations: 254.9 MB / 269.9 MB, free: 9.645 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.0014/0.0014, allocations: 192.3 kB / 329.5 MB, free: 1.164 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.557/2.557, allocations: 225.6 MB / 0.6001 GB, free: 2.094 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.001053/0.001053, allocations: 103.2 kB / 0.7074 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004871, allocations: 15.53 kB / 0.8243 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2332, allocations: 109.1 MB / 0.9308 GB, free: 25.02 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002441/0.2357, allocations: 1.145 MB / 0.9319 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.007786/0.2435, allocations: 2.75 MB / 0.9346 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.2437, allocations: 0 / 0.9346 GB, free: 21.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.2438, allocations: 7.922 kB / 0.9346 GB, free: 21.09 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2439, allocations: 11.88 kB / 0.9346 GB, free: 21.08 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.007551/0.2515, allocations: 1.334 MB / 0.9359 GB, free: 19.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.2516, allocations: 39.75 kB / 0.936 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 6.831e-05/0.2517, allocations: 7.984 kB / 0.936 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.073e-05/0.2518, allocations: 15.92 kB / 0.936 GB, free: 19.69 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.16e-05/0.2518, allocations: 15.94 kB / 0.936 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.2519, allocations: 3.938 kB / 0.936 GB, free: 19.67 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00409/0.256, allocations: 1.26 MB / 0.9373 GB, free: 18.41 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.387e-05/0.2561, allocations: 7.922 kB / 0.9373 GB, free: 18.4 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.2561, allocations: 29.7 kB / 0.9373 GB, free: 18.36 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002461/0.2586, allocations: 0.7293 MB / 0.938 GB, free: 17.63 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.2587, allocations: 0 / 0.938 GB, free: 17.63 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.326e-06/0.2587, allocations: 0 / 0.938 GB, free: 17.63 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2587, allocations: 0 / 0.938 GB, free: 17.63 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.001058/0.2598, allocations: 0.5069 MB / 0.9385 GB, free: 17.08 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.2599, allocations: 8.031 kB / 0.9385 GB, free: 17.07 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.838e-05/0.26, allocations: 80.22 kB / 0.9386 GB, free: 16.99 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.2601, allocations: 251.5 kB / 0.9388 GB, free: 16.71 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.2602, allocations: 154.9 kB / 0.939 GB, free: 16.55 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.54e-05/0.2603, allocations: 150.9 kB / 0.9391 GB, free: 16.41 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.745e-05/0.2603, allocations: 105.1 kB / 0.9392 GB, free: 16.3 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.2604, allocations: 79.28 kB / 0.9393 GB, free: 16.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.635e-05/0.2604, allocations: 154.5 kB / 0.9394 GB, free: 16.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.2605, allocations: 154.6 kB / 0.9396 GB, free: 15.91 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.758e-05/0.2605, allocations: 154.6 kB / 0.9397 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/0.2609, allocations: 461.9 kB / 0.9402 GB, free: 15.26 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 7.256e-05/0.261, allocations: 165.1 kB / 0.9403 GB, free: 15.09 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.2611, allocations: 80.14 kB / 0.9404 GB, free: 15.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.2611, allocations: 87.16 kB / 0.9405 GB, free: 14.92 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.2612, allocations: 113.8 kB / 0.9406 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 2.695e-06/0.2612, allocations: 0 / 0.9406 GB, free: 14.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 0.0001178/0.2613, allocations: 41.59 kB / 0.9406 GB, free: 14.75 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2614, allocations: 126.7 kB / 0.9408 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/0.2616, allocations: 129.8 kB / 0.9409 GB, free: 14.48 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.2616, allocations: 25.7 kB / 0.9409 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.2617, allocations: 96.12 kB / 0.941 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-06/0.2617, allocations: 0 / 0.941 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.2617, allocations: 0 / 0.941 GB, free: 14.35 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.664e-05/0.2618, allocations: 322.8 kB / 0.9413 GB, free: 14.03 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.2619, allocations: 4 kB / 0.9413 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.2619, allocations: 7.938 kB / 0.9413 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.025e-05/0.262, allocations: 8 kB / 0.9413 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.262, allocations: 0 / 0.9413 GB, free: 14.01 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002121/0.2622, allocations: 57.47 kB / 0.9414 GB, free: 13.95 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.2623, allocations: 12.06 kB / 0.9414 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.332e-05/0.2623, allocations: 0 / 0.9414 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.2624, allocations: 4 kB / 0.9414 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.2624, allocations: 0 / 0.9414 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2624, allocations: 0 / 0.9414 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.444e-05/0.2625, allocations: 7.844 kB / 0.9414 GB, free: 13.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.2625, allocations: 0 / 0.9414 GB, free: 13.92 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.0001057/0.2626, allocations: 185.1 kB / 0.9416 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.137e-05/0.2627, allocations: 120.8 kB / 0.9417 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.751e-05/0.2628, allocations: 108.9 kB / 0.9418 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.597e-05/0.2629, allocations: 180.3 kB / 0.942 GB, free: 13.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.443e-05/0.2629, allocations: 184.2 kB / 0.9421 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/0.263, allocations: 176.3 kB / 0.9423 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2633, allocations: 421.2 kB / 0.9427 GB, free: 12.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.849e-05/0.2633, allocations: 112.9 kB / 0.9428 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.869e-05/0.2634, allocations: 101 kB / 0.9429 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-05/0.2634, allocations: 180.2 kB / 0.9431 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/0.2635, allocations: 176.3 kB / 0.9433 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.542e-05/0.2636, allocations: 192.2 kB / 0.9434 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.355e-05/0.2636, allocations: 180.5 kB / 0.9436 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.2638, allocations: 315.6 kB / 0.9439 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/0.2639, allocations: 193.9 kB / 0.9441 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.578e-05/0.264, allocations: 180.2 kB / 0.9443 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.2641, allocations: 101 kB / 0.9444 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.044e-05/0.2642, allocations: 188.2 kB / 0.9446 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/0.2642, allocations: 105 kB / 0.9447 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001019/0.2643, allocations: 103.9 kB / 0.9448 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.92e-07/0.2644, allocations: 0 / 0.9448 GB, free: 10.27 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001599/0.266, allocations: 279.8 kB / 0.945 GB, free: 9.992 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.002202/0.2682, allocations: 0.5267 MB / 0.9455 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001713/0.2684, allocations: 37.7 kB / 0.9456 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2685, allocations: 0 / 0.9456 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 7.383e-06/0.2685, allocations: 7.922 kB / 0.9456 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006547/0.2691, allocations: 0.5255 MB / 0.9461 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000422/0.2696, allocations: 251.8 kB / 0.9463 GB, free: 8.613 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.2698, allocations: 0.6848 MB / 0.947 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.2698, allocations: 7.938 kB / 0.947 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.2699, allocations: 11.44 kB / 0.947 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of SimCode: time 1.302e-06/0.2699, allocations: 0 / 0.947 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of Templates: time 0.01833/0.2882, allocations: 5.718 MB / 0.9526 GB, free: 2.207 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)