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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.084/2.084, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001569/0.001568, allocations: 175.5 kB / 393.1 MB, free: 4.086 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.588/1.588, allocations: 225.7 MB / 0.6743 GB, free: 12.55 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.000904/0.000904, allocations: 103.2 kB / 0.7935 GB, free: 40.01 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.0003661, allocations: 8 kB / 0.9225 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6536/0.654, allocations: 121.3 MB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001555/0.6556, allocations: 1.154 MB / 1.042 GB, free: 57.32 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004295/0.6599, allocations: 4.263 MB / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.66, allocations: 0 / 1.046 GB, free: 53.68 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.273e-05/0.66, allocations: 3.938 kB / 1.046 GB, free: 53.67 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.175e-05/0.6601, allocations: 13.97 kB / 1.046 GB, free: 53.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003372/0.6635, allocations: 1.899 MB / 1.048 GB, free: 52.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.127e-05/0.6635, allocations: 42.8 kB / 1.048 GB, free: 52.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.6636, allocations: 2.969 kB / 1.048 GB, free: 52.32 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.328e-05/0.6636, allocations: 11.91 kB / 1.048 GB, free: 52.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.042e-05/0.6637, allocations: 20.72 kB / 1.048 GB, free: 52.31 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.6637, allocations: 1.156 kB / 1.048 GB, free: 52.31 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.6658, allocations: 1.392 MB / 1.05 GB, free: 51.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.77e-05/0.6658, allocations: 11.41 kB / 1.05 GB, free: 51.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.604e-05/0.6659, allocations: 43.17 kB / 1.05 GB, free: 51.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.6673, allocations: 1.11 MB / 1.051 GB, free: 51.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.6673, allocations: 0 / 1.051 GB, free: 51.58 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6673, allocations: 1.906 kB / 1.051 GB, free: 51.58 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.6673, allocations: 4 kB / 1.051 GB, free: 51.57 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004792/0.6678, allocations: 0.51 MB / 1.051 GB, free: 51.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.6679, allocations: 9.594 kB / 1.051 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.72e-05/0.6679, allocations: 84.72 kB / 1.051 GB, free: 51.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.668, allocations: 249.7 kB / 1.051 GB, free: 50.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.803e-05/0.6681, allocations: 150.9 kB / 1.052 GB, free: 50.59 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.6681, allocations: 154.9 kB / 1.052 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.781e-05/0.6682, allocations: 111.4 kB / 1.052 GB, free: 50.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.6682, allocations: 75.28 kB / 1.052 GB, free: 50.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.6682, allocations: 157.2 kB / 1.052 GB, free: 50.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.6682, allocations: 150.6 kB / 1.052 GB, free: 49.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.46e-05/0.6683, allocations: 156 kB / 1.052 GB, free: 49.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.6685, allocations: 470.2 kB / 1.053 GB, free: 49.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.093e-05/0.6685, allocations: 170.9 kB / 1.053 GB, free: 49.12 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/0.6686, allocations: 84.14 kB / 1.053 GB, free: 49.04 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.6686, allocations: 75.28 kB / 1.053 GB, free: 48.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.6686, allocations: 116 kB / 1.053 GB, free: 48.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/0.6686, allocations: 0 / 1.053 GB, free: 48.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.823e-05/0.6687, allocations: 32.86 kB / 1.053 GB, free: 48.81 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.6687, allocations: 132.4 kB / 1.053 GB, free: 48.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.6688, allocations: 130.1 kB / 1.054 GB, free: 48.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.044e-06/0.6688, allocations: 29.64 kB / 1.054 GB, free: 48.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.512e-05/0.6689, allocations: 94.55 kB / 1.054 GB, free: 48.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-06/0.6689, allocations: 0 / 1.054 GB, free: 48.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.6689, allocations: 4 kB / 1.054 GB, free: 48.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.162e-05/0.669, allocations: 318 kB / 1.054 GB, free: 48.11 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.669, allocations: 3 kB / 1.054 GB, free: 48.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.389e-05/0.669, allocations: 5.062 kB / 1.054 GB, free: 48.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.669, allocations: 14.52 kB / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.669, allocations: 0 / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000113/0.6692, allocations: 49.8 kB / 1.054 GB, free: 48.06 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.6692, allocations: 5.719 kB / 1.054 GB, free: 48.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.6692, allocations: 3.906 kB / 1.054 GB, free: 48.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6692, allocations: 4.062 kB / 1.054 GB, free: 48.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/0.6692, allocations: 3.938 kB / 1.054 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.902e-06/0.6692, allocations: 0 / 1.054 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.6693, allocations: 9.297 kB / 1.054 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.6693, allocations: 0 / 1.054 GB, free: 48.05 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 8.975e-05/0.6694, allocations: 188.2 kB / 1.054 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.6694, allocations: 109.8 kB / 1.054 GB, free: 47.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.703e-05/0.6695, allocations: 112.8 kB / 1.054 GB, free: 47.64 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.6695, allocations: 182 kB / 1.055 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.269e-05/0.6695, allocations: 177.3 kB / 1.055 GB, free: 47.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.152e-05/0.6696, allocations: 188.8 kB / 1.055 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.6697, allocations: 408.6 kB / 1.055 GB, free: 46.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.689e-05/0.6697, allocations: 106.5 kB / 1.055 GB, free: 46.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.6698, allocations: 118.2 kB / 1.056 GB, free: 46.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.688e-05/0.6698, allocations: 181.2 kB / 1.056 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.6698, allocations: 184.2 kB / 1.056 GB, free: 46.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.596e-05/0.6699, allocations: 178.7 kB / 1.056 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/0.6699, allocations: 180.2 kB / 1.056 GB, free: 45.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.458e-05/0.67, allocations: 307.5 kB / 1.057 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.67, allocations: 195.1 kB / 1.057 GB, free: 45.15 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.67, allocations: 182.1 kB / 1.057 GB, free: 44.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.6701, allocations: 112.9 kB / 1.057 GB, free: 44.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.6701, allocations: 179.2 kB / 1.057 GB, free: 44.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.595e-05/0.6702, allocations: 106 kB / 1.057 GB, free: 44.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.097e-05/0.6702, allocations: 106.1 kB / 1.057 GB, free: 44.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6702, allocations: 0 / 1.057 GB, free: 44.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006578/0.6709, allocations: 283.8 kB / 1.058 GB, free: 44.41 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 (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.001012/0.6719, allocations: 0.5439 MB / 1.058 GB, free: 44.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.206e-05/0.672, allocations: 38.33 kB / 1.058 GB, free: 44.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.672, allocations: 0 / 1.058 GB, free: 44.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.672, allocations: 5.547 kB / 1.058 GB, free: 44.11 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.6723, allocations: 0.5256 MB / 1.059 GB, free: 43.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002832/0.6726, allocations: 262.2 kB / 1.059 GB, free: 43.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.6728, allocations: 0.6853 MB / 1.06 GB, free: 42.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.6728, allocations: 7.906 kB / 1.06 GB, free: 42.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-06/0.6728, allocations: 9.5 kB / 1.06 GB, free: 42.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.01e-07/0.6728, allocations: 1.875 kB / 1.06 GB, free: 42.66 MB / 0.698 GB Notification: Performance of Templates: time 0.009424/0.6822, allocations: 5.66 MB / 1.065 GB, free: 42.23 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)