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.Functions.Validation.InternalResistancesOneUTubeNegative.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.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") 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.487/1.487, allocations: 255.9 MB / 271.2 MB, free: 8.926 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.001004/0.001004, allocations: 181.7 kB / 330.8 MB, free: 500 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.682/1.682, allocations: 225.7 MB / 0.6016 GB, free: 15.9 MB / 442.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.001007/0.001007, allocations: 103.8 kB / 0.709 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 9.938 kB / 0.8262 GB, free: 123.6 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2013, allocations: 109.2 MB / 0.9328 GB, free: 24.05 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001259/0.2026, allocations: 1.145 MB / 0.9339 GB, free: 22.89 MB / 0.5886 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.003418/0.2061, allocations: 4.271 MB / 0.9381 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.661e-05/0.2061, allocations: 0 / 0.9381 GB, free: 18.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.576e-05/0.2061, allocations: 4 kB / 0.9381 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.189e-05/0.2062, allocations: 15.84 kB / 0.9381 GB, free: 18.24 MB / 0.5886 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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.00285/0.2091, allocations: 1.952 MB / 0.94 GB, free: 16.17 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.091e-05/0.2091, allocations: 31.81 kB / 0.9401 GB, free: 16.14 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.2092, allocations: 11.97 kB / 0.9401 GB, free: 16.12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.101e-05/0.2092, allocations: 15.94 kB / 0.9401 GB, free: 16.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.299e-05/0.2092, allocations: 19.88 kB / 0.9401 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.2092, allocations: 0 / 0.9401 GB, free: 16.09 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001562/0.2108, allocations: 1.38 MB / 0.9414 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.2108, allocations: 8 kB / 0.9415 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.2109, allocations: 37.58 kB / 0.9415 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.2119, allocations: 1.107 MB / 0.9426 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2119, allocations: 0 / 0.9426 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2119, allocations: 0 / 0.9426 GB, free: 13.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.212, allocations: 0 / 0.9426 GB, free: 13.55 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.0004038/0.2124, allocations: 0.5108 MB / 0.9431 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.2124, allocations: 8.031 kB / 0.9431 GB, free: 12.98 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.2124, allocations: 88.11 kB / 0.9432 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.108e-05/0.2125, allocations: 251.5 kB / 0.9434 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.2126, allocations: 154.9 kB / 0.9436 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.2126, allocations: 150.9 kB / 0.9437 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.995e-05/0.2127, allocations: 113 kB / 0.9438 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.2127, allocations: 79.22 kB / 0.9439 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.34e-05/0.2127, allocations: 154.6 kB / 0.944 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.2127, allocations: 150.6 kB / 0.9442 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.134e-05/0.2128, allocations: 150.6 kB / 0.9443 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001696/0.2129, allocations: 469.9 kB / 0.9448 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.501e-05/0.213, allocations: 169.1 kB / 0.9449 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.838e-05/0.213, allocations: 80.14 kB / 0.945 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.213, allocations: 79.28 kB / 0.9451 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.2131, allocations: 113.8 kB / 0.9452 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2131, allocations: 8 kB / 0.9452 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 6.608e-05/0.2131, allocations: 29.61 kB / 0.9452 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2132, allocations: 130.6 kB / 0.9453 GB, free: 10.52 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.2133, allocations: 125.8 kB / 0.9455 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.2133, allocations: 25.7 kB / 0.9455 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.2e-05/0.2133, allocations: 92.14 kB / 0.9456 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.2133, allocations: 0 / 0.9456 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.2133, allocations: 0 / 0.9456 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.2134, allocations: 326.8 kB / 0.9459 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.89e-05/0.2134, allocations: 0 / 0.9459 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.2134, allocations: 4 kB / 0.9459 GB, free: 9.926 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/0.2135, allocations: 12.86 kB / 0.9459 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.2135, allocations: 0 / 0.9459 GB, free: 9.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001036/0.2136, allocations: 61.47 kB / 0.946 GB, free: 9.844 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.2136, allocations: 4 kB / 0.946 GB, free: 9.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.2136, allocations: 4 kB / 0.946 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.2136, allocations: 0 / 0.946 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.2136, allocations: 0 / 0.946 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.2137, allocations: 4.062 kB / 0.946 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.2137, allocations: 0 / 0.946 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.2137, allocations: 4 kB / 0.946 GB, free: 9.828 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.2138, allocations: 185.8 kB / 0.9462 GB, free: 9.637 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.2138, allocations: 112.8 kB / 0.9463 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.467e-05/0.2138, allocations: 112.6 kB / 0.9464 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.2139, allocations: 184.3 kB / 0.9465 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/0.2139, allocations: 188.2 kB / 0.9467 GB, free: 9.02 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.359e-05/0.2139, allocations: 180.2 kB / 0.9469 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.214, allocations: 413.2 kB / 0.9473 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-05/0.2141, allocations: 108.9 kB / 0.9474 GB, free: 8.262 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.712e-05/0.2141, allocations: 105.1 kB / 0.9475 GB, free: 8.152 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.397e-05/0.2141, allocations: 192.3 kB / 0.9477 GB, free: 7.957 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.2142, allocations: 188.2 kB / 0.9479 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.482e-05/0.2142, allocations: 176.3 kB / 0.948 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.227e-05/0.2142, allocations: 180.2 kB / 0.9482 GB, free: 7.402 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.677e-05/0.2143, allocations: 311.8 kB / 0.9485 GB, free: 7.074 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.2143, allocations: 189.9 kB / 0.9487 GB, free: 6.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.666e-05/0.2144, allocations: 176.3 kB / 0.9488 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.914e-05/0.2144, allocations: 108.9 kB / 0.9489 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.2145, allocations: 180.3 kB / 0.9491 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.2145, allocations: 112.9 kB / 0.9492 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.735e-05/0.2145, allocations: 103.8 kB / 0.9493 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2145, allocations: 0 / 0.9493 GB, free: 6.168 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005729/0.2151, allocations: 279.8 kB / 0.9496 GB, free: 5.895 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 (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.0009472/0.2161, allocations: 0.5486 MB / 0.9501 GB, free: 5.344 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 8.337e-05/0.2162, allocations: 37.7 kB / 0.9502 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2162, allocations: 0 / 0.9502 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2162, allocations: 4 kB / 0.9502 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2165, allocations: 0.527 MB / 0.9507 GB, free: 4.766 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002453/0.2168, allocations: 259.7 kB / 0.9509 GB, free: 4.488 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.2169, allocations: 0.6848 MB / 0.9516 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 1.373e-05/0.2169, allocations: 0 / 0.9516 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.739e-06/0.2169, allocations: 11.44 kB / 0.9516 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of SimCode: time 2.1e-07/0.2169, allocations: 4 kB / 0.9516 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of Templates: time 0.007985/0.2249, allocations: 5.575 MB / 0.9571 GB, free: 14.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)