Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_latest_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_latest_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 9.0.0-master/package.mo): time 1.777/1.777, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001214/0.001215, allocations: 175 kB / 393.1 MB, free: 4.074 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.378/1.378, allocations: 225.7 MB / 0.6743 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007676/0.0007677, allocations: 93.66 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003504, allocations: 8 kB / 0.9225 GB, free: 8.594 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5723/0.5726, allocations: 121.3 MB / 1.041 GB, free: 58.9 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001434/0.5741, allocations: 1.095 MB / 1.042 GB, free: 58.18 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.002548/0.5767, allocations: 2.633 MB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.5768, allocations: 0 / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.789e-05/0.5769, allocations: 13.33 kB / 1.045 GB, free: 55.91 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001724/0.577, allocations: 31.58 kB / 1.045 GB, free: 55.89 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002334/0.5794, allocations: 1.559 MB / 1.046 GB, free: 54.72 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.5795, allocations: 90.91 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.5796, allocations: 1.906 kB / 1.046 GB, free: 54.7 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.295e-05/0.5797, allocations: 36.06 kB / 1.046 GB, free: 54.69 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.5798, allocations: 39.86 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.5798, allocations: 1.344 kB / 1.046 GB, free: 54.68 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.5809, allocations: 0.8008 MB / 1.047 GB, free: 54.42 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.648e-05/0.581, allocations: 61.7 kB / 1.047 GB, free: 54.41 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.282e-05/0.581, allocations: 95.2 kB / 1.047 GB, free: 54.33 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009859/0.582, allocations: 0.8876 MB / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.582, allocations: 0 / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.873e-06/0.582, allocations: 4.719 kB / 1.048 GB, free: 54.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.582, allocations: 0 / 1.048 GB, free: 54.09 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.0004949/0.5825, allocations: 0.553 MB / 1.049 GB, free: 53.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5826, allocations: 9.5 kB / 1.049 GB, free: 53.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.723e-05/0.5826, allocations: 30.5 kB / 1.049 GB, free: 53.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.5828, allocations: 227.5 kB / 1.049 GB, free: 53.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-06/0.5828, allocations: 2.75 kB / 1.049 GB, free: 53.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.5828, allocations: 384 / 1.049 GB, free: 53.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.583, allocations: 106.6 kB / 1.049 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.583, allocations: 4.969 kB / 1.049 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-06/0.583, allocations: 0.5156 kB / 1.049 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.583, allocations: 0 / 1.049 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.5831, allocations: 80.91 kB / 1.049 GB, free: 53.26 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002178/0.5833, allocations: 273.7 kB / 1.049 GB, free: 53.03 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.5834, allocations: 123.1 kB / 1.049 GB, free: 52.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.723e-05/0.5835, allocations: 106.2 kB / 1.05 GB, free: 52.92 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.5835, allocations: 6.766 kB / 1.05 GB, free: 52.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.501e-05/0.5835, allocations: 32.16 kB / 1.05 GB, free: 52.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=32): time 1.393e-06/0.5835, allocations: 5.078 kB / 1.05 GB, free: 52.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=32): time 0.0003353/0.5839, allocations: 331.3 kB / 1.05 GB, free: 52.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.5839, allocations: 58.94 kB / 1.05 GB, free: 52.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.5841, allocations: 250.6 kB / 1.05 GB, free: 52.58 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.5841, allocations: 25.7 kB / 1.05 GB, free: 52.55 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.021e-05/0.5842, allocations: 130.5 kB / 1.05 GB, free: 52.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.079e-05/0.5842, allocations: 109.8 kB / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-06/0.5843, allocations: 0 / 1.05 GB, free: 52.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.5843, allocations: 341 kB / 1.051 GB, free: 52.02 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.583e-05/0.5844, allocations: 72.09 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.5845, allocations: 74.8 kB / 1.051 GB, free: 51.99 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.5846, allocations: 200.8 kB / 1.051 GB, free: 51.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5846, allocations: 2 kB / 1.051 GB, free: 51.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002077/0.5848, allocations: 220.6 kB / 1.051 GB, free: 51.87 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.5849, allocations: 8.875 kB / 1.051 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.5849, allocations: 3.688 kB / 1.051 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.5849, allocations: 0 / 1.051 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.5849, allocations: 0 / 1.051 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.5849, allocations: 4 kB / 1.051 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.585, allocations: 13.84 kB / 1.051 GB, free: 51.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.585, allocations: 0 / 1.051 GB, free: 51.85 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.0001118/0.5851, allocations: 157 kB / 1.052 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.5851, allocations: 30.41 kB / 1.052 GB, free: 51.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.5854, allocations: 246.9 kB / 1.052 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.5854, allocations: 5.125 kB / 1.052 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.5854, allocations: 0 / 1.052 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5854, allocations: 1.359 kB / 1.052 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.5856, allocations: 281.7 kB / 1.052 GB, free: 51.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.5856, allocations: 6.719 kB / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.5856, allocations: 0 / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.5856, allocations: 0 / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.5856, allocations: 1.375 kB / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5856, allocations: 0 / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.5856, allocations: 3.969 kB / 1.052 GB, free: 51.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002061/0.5858, allocations: 263.9 kB / 1.052 GB, free: 51.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.5859, allocations: 104.6 kB / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.5859, allocations: 4 kB / 1.052 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.59e-05/0.5859, allocations: 0 / 1.052 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.586, allocations: 2.672 kB / 1.052 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.586, allocations: 0 / 1.052 GB, free: 51.15 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001312/0.5861, allocations: 192.8 kB / 1.053 GB, free: 51.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5861, allocations: 0 / 1.053 GB, free: 51.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005312/0.5867, allocations: 209.8 kB / 1.053 GB, free: 51.02 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.0006786/0.5873, allocations: 351.1 kB / 1.053 GB, free: 50.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.5876, allocations: 264.9 kB / 1.053 GB, free: 50.76 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.5876, allocations: 1.062 kB / 1.053 GB, free: 50.76 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.5878, allocations: 176.8 kB / 1.054 GB, free: 50.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.588, allocations: 18.89 kB / 1.054 GB, free: 50.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005812/0.5886, allocations: 0.5743 MB / 1.054 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.5888, allocations: 0.7643 MB / 1.055 GB, free: 49.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.677e-05/0.5888, allocations: 4.547 kB / 1.055 GB, free: 49.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.5889, allocations: 8.406 kB / 1.055 GB, free: 49.64 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5889, allocations: 1.219 kB / 1.055 GB, free: 49.64 MB / 0.698 GB Notification: Performance of Templates: time 0.007779/0.5966, allocations: 4.55 MB / 1.059 GB, free: 49.29 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)