Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.719/1.719, allocations: 297.4 MB / 312.6 MB, free: 2.926 MB / 234.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.001093/0.001093, allocations: 182 kB / 382.3 MB, free: 14.85 MB / 314.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.366/1.366, allocations: 225.7 MB / 0.6617 GB, free: 7.266 MB / 490.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.0007237/0.0007241, allocations: 94.03 kB / 0.7789 GB, free: 46.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003663/0.0003669, allocations: 13.22 kB / 0.9059 GB, free: 4.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6132/0.6136, allocations: 119.2 MB / 1.022 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001552/0.6152, allocations: 1.09 MB / 1.023 GB, free: 57.19 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.002784/0.618, allocations: 2.639 MB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.637e-05/0.6181, allocations: 1.656 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.6182, allocations: 12.77 kB / 1.026 GB, free: 55.14 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.6184, allocations: 33.75 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002594/0.621, allocations: 1.55 MB / 1.028 GB, free: 53.96 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.6211, allocations: 86.91 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.335e-05/0.6212, allocations: 2.109 kB / 1.028 GB, free: 53.95 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.6213, allocations: 37.81 kB / 1.028 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.6214, allocations: 36.64 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.6214, allocations: 3.625 kB / 1.028 GB, free: 53.92 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001123/0.6225, allocations: 0.8005 MB / 1.028 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.903e-05/0.6227, allocations: 66.53 kB / 1.029 GB, free: 53.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 7.423e-05/0.6227, allocations: 90.97 kB / 1.029 GB, free: 53.58 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.6238, allocations: 0.8795 MB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.6238, allocations: 9.734 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.262e-06/0.6238, allocations: 0 / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6238, allocations: 2.406 kB / 1.029 GB, free: 53.34 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005445/0.6243, allocations: 0.5626 MB / 1.03 GB, free: 52.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.6244, allocations: 8.844 kB / 1.03 GB, free: 52.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.616e-05/0.6244, allocations: 21.81 kB / 1.03 GB, free: 52.81 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.6246, allocations: 227.4 kB / 1.03 GB, free: 52.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.6247, allocations: 6.562 kB / 1.03 GB, free: 52.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.6247, allocations: 1.938 kB / 1.03 GB, free: 52.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.6248, allocations: 111.1 kB / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6249, allocations: 0 / 1.03 GB, free: 52.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.6249, allocations: 4.438 kB / 1.03 GB, free: 52.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.6249, allocations: 1.344 kB / 1.03 GB, free: 52.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.262e-05/0.625, allocations: 74.92 kB / 1.03 GB, free: 52.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002606/0.6252, allocations: 275.4 kB / 1.031 GB, free: 52.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.6254, allocations: 124 kB / 1.031 GB, free: 52.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.6255, allocations: 108.5 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.6255, allocations: 6.219 kB / 1.031 GB, free: 52.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.6255, allocations: 30.56 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.062e-06/0.6256, allocations: 1 kB / 1.031 GB, free: 52.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0003989/0.626, allocations: 332.5 kB / 1.031 GB, free: 52.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.626, allocations: 57.5 kB / 1.031 GB, free: 51.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.6262, allocations: 257.2 kB / 1.032 GB, free: 51.81 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.208e-06/0.6262, allocations: 25.7 kB / 1.032 GB, free: 51.78 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.6263, allocations: 128.1 kB / 1.032 GB, free: 51.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.981e-05/0.6264, allocations: 105.7 kB / 1.032 GB, free: 51.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-06/0.6264, allocations: 0 / 1.032 GB, free: 51.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.6265, allocations: 342.9 kB / 1.032 GB, free: 51.26 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.79e-05/0.6266, allocations: 72.84 kB / 1.032 GB, free: 51.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.6266, allocations: 76.7 kB / 1.032 GB, free: 51.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.6268, allocations: 199.7 kB / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6268, allocations: 4.031 kB / 1.033 GB, free: 51.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002173/0.6271, allocations: 228 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6271, allocations: 5.406 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.6271, allocations: 3.75 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6271, allocations: 3.656 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.6271, allocations: 0 / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.6272, allocations: 0 / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.437e-05/0.6272, allocations: 7.844 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.6272, allocations: 4.938 kB / 1.033 GB, free: 51.09 MB / 0.698 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 0.0001105/0.6273, allocations: 158.8 kB / 1.033 GB, free: 50.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.6274, allocations: 28.8 kB / 1.033 GB, free: 50.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.6276, allocations: 256.1 kB / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.6276, allocations: 0 / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.6277, allocations: 0 / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.6277, allocations: 0 / 1.033 GB, free: 50.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.6278, allocations: 278.3 kB / 1.033 GB, free: 50.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6278, allocations: 16.53 kB / 1.033 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6278, allocations: 0 / 1.033 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.6279, allocations: 0 / 1.033 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.6279, allocations: 4.781 kB / 1.033 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.6279, allocations: 0 / 1.033 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.6279, allocations: 0 / 1.033 GB, free: 50.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.6281, allocations: 259.9 kB / 1.034 GB, free: 50.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.6281, allocations: 104.9 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.778e-05/0.6282, allocations: 0 / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.571e-05/0.6282, allocations: 4.641 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.6282, allocations: 3 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.6282, allocations: 0.5625 kB / 1.034 GB, free: 50.38 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001423/0.6284, allocations: 186.7 kB / 1.034 GB, free: 50.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6284, allocations: 0 / 1.034 GB, free: 50.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005905/0.629, allocations: 216.8 kB / 1.034 GB, free: 50.24 MB / 0.698 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 (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 Backend phase and start with SimCode phase: time 0.0007226/0.6297, allocations: 344.8 kB / 1.035 GB, free: 50.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003038/0.63, allocations: 268.3 kB / 1.035 GB, free: 49.98 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.63, allocations: 4.062 kB / 1.035 GB, free: 49.98 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.6302, allocations: 176 kB / 1.035 GB, free: 49.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.6305, allocations: 20.36 kB / 1.035 GB, free: 49.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.6311, allocations: 0.5662 MB / 1.036 GB, free: 49.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.6313, allocations: 0.7721 MB / 1.036 GB, free: 48.89 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.6313, allocations: 5.625 kB / 1.036 GB, free: 48.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.113e-05/0.6313, allocations: 7.438 kB / 1.036 GB, free: 48.88 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6313, allocations: 0 / 1.036 GB, free: 48.88 MB / 0.698 GB Notification: Performance of Templates: time 0.008389/0.6397, allocations: 4.55 MB / 1.041 GB, free: 48.5 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)