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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.703/1.703, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001132/0.001132, allocations: 171.5 kB / 393.1 MB, free: 4.105 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.559/1.559, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008296/0.0008295, allocations: 99.77 kB / 0.7935 GB, free: 40.12 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.0003548, allocations: 8.781 kB / 0.9225 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6788, allocations: 121.3 MB / 1.041 GB, free: 58.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001464/0.6803, allocations: 1.148 MB / 1.042 GB, free: 58.11 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004083/0.6844, allocations: 4.211 MB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.65e-05/0.6844, allocations: 0 / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.6845, allocations: 1.125 kB / 1.046 GB, free: 54.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.858e-05/0.6845, allocations: 17.16 kB / 1.046 GB, free: 54.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003201/0.6877, allocations: 1.882 MB / 1.048 GB, free: 53.17 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.763e-05/0.6878, allocations: 31.69 kB / 1.048 GB, free: 53.16 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.84e-05/0.6879, allocations: 6.688 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.525e-05/0.6879, allocations: 9.953 kB / 1.048 GB, free: 53.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.559e-05/0.6879, allocations: 17.42 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.688, allocations: 3.125 kB / 1.048 GB, free: 53.14 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001869/0.6898, allocations: 1.357 MB / 1.049 GB, free: 52.74 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.32e-05/0.6899, allocations: 2.312 kB / 1.049 GB, free: 52.74 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.6899, allocations: 47.88 kB / 1.049 GB, free: 52.7 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001294/0.6912, allocations: 1.089 MB / 1.051 GB, free: 52.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.6912, allocations: 0.8125 kB / 1.051 GB, free: 52.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6912, allocations: 0 / 1.051 GB, free: 52.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.396e-06/0.6912, allocations: 2.5 kB / 1.051 GB, free: 52.42 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.0004814/0.6917, allocations: 0.4974 MB / 1.051 GB, free: 51.95 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.6918, allocations: 8.062 kB / 1.051 GB, free: 51.95 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.6918, allocations: 90.12 kB / 1.051 GB, free: 51.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.964e-05/0.6919, allocations: 252.5 kB / 1.051 GB, free: 51.58 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.692, allocations: 150.9 kB / 1.051 GB, free: 51.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.692, allocations: 150.9 kB / 1.052 GB, free: 51.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.615e-05/0.692, allocations: 114.2 kB / 1.052 GB, free: 51.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.6921, allocations: 75.28 kB / 1.052 GB, free: 51.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.6921, allocations: 151.7 kB / 1.052 GB, free: 50.95 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.6921, allocations: 154.6 kB / 1.052 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.269e-05/0.6922, allocations: 158.2 kB / 1.052 GB, free: 50.64 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001907/0.6923, allocations: 460.9 kB / 1.053 GB, free: 50.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/0.6924, allocations: 175 kB / 1.053 GB, free: 49.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.6924, allocations: 84.14 kB / 1.053 GB, free: 49.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.6924, allocations: 76.36 kB / 1.053 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6925, allocations: 111.3 kB / 1.053 GB, free: 49.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.6925, allocations: 0 / 1.053 GB, free: 49.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.058e-05/0.6925, allocations: 35.55 kB / 1.053 GB, free: 49.66 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.6926, allocations: 126.7 kB / 1.053 GB, free: 49.53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.6927, allocations: 138.6 kB / 1.053 GB, free: 49.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.6927, allocations: 29.64 kB / 1.053 GB, free: 49.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.6928, allocations: 92.08 kB / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.6928, allocations: 0 / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.6928, allocations: 0 / 1.054 GB, free: 49.29 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.177e-05/0.6928, allocations: 317.1 kB / 1.054 GB, free: 48.97 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.027e-05/0.6928, allocations: 2.594 kB / 1.054 GB, free: 48.97 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.6929, allocations: 8.531 kB / 1.054 GB, free: 48.97 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.118e-05/0.6929, allocations: 12.83 kB / 1.054 GB, free: 48.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.6929, allocations: 4.031 kB / 1.054 GB, free: 48.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.693, allocations: 49.33 kB / 1.054 GB, free: 48.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.693, allocations: 6.031 kB / 1.054 GB, free: 48.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.6931, allocations: 3.375 kB / 1.054 GB, free: 48.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.6931, allocations: 0 / 1.054 GB, free: 48.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.6931, allocations: 3.938 kB / 1.054 GB, free: 48.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.6931, allocations: 0 / 1.054 GB, free: 48.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.6931, allocations: 5.844 kB / 1.054 GB, free: 48.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.6931, allocations: 0 / 1.054 GB, free: 48.91 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 6.028e-05/0.6932, allocations: 190 kB / 1.054 GB, free: 48.71 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.6932, allocations: 110.9 kB / 1.054 GB, free: 48.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.669e-05/0.6933, allocations: 113.5 kB / 1.054 GB, free: 48.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-05/0.6933, allocations: 183.6 kB / 1.054 GB, free: 48.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.674e-05/0.6933, allocations: 177.3 kB / 1.055 GB, free: 48.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.547e-05/0.6934, allocations: 182.1 kB / 1.055 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.6935, allocations: 416.5 kB / 1.055 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-05/0.6935, allocations: 109.1 kB / 1.055 GB, free: 47.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.525e-05/0.6936, allocations: 108.9 kB / 1.055 GB, free: 47.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.676e-05/0.6936, allocations: 185.9 kB / 1.056 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.6936, allocations: 180.2 kB / 1.056 GB, free: 46.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-05/0.6937, allocations: 180.3 kB / 1.056 GB, free: 46.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.613e-05/0.6937, allocations: 185.6 kB / 1.056 GB, free: 46.53 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.509e-05/0.6938, allocations: 308.1 kB / 1.056 GB, free: 46.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.6938, allocations: 191.2 kB / 1.057 GB, free: 46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.6939, allocations: 182.8 kB / 1.057 GB, free: 45.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.307e-05/0.6939, allocations: 111.4 kB / 1.057 GB, free: 45.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.341e-05/0.694, allocations: 181.2 kB / 1.057 GB, free: 45.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.694, allocations: 103.5 kB / 1.057 GB, free: 45.42 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.986e-05/0.694, allocations: 101.3 kB / 1.057 GB, free: 45.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.694, allocations: 0 / 1.057 GB, free: 45.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000649/0.6947, allocations: 281.2 kB / 1.058 GB, free: 45.27 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.0009358/0.6956, allocations: 0.5268 MB / 1.058 GB, free: 45.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.991e-05/0.6957, allocations: 40.77 kB / 1.058 GB, free: 44.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6958, allocations: 0 / 1.058 GB, free: 44.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.6958, allocations: 0 / 1.058 GB, free: 44.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.6961, allocations: 0.527 MB / 1.059 GB, free: 44.45 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.6963, allocations: 255 kB / 1.059 GB, free: 44.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.6965, allocations: 0.6846 MB / 1.06 GB, free: 43.54 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.216e-05/0.6965, allocations: 0.9688 kB / 1.06 GB, free: 43.54 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.6965, allocations: 9.562 kB / 1.06 GB, free: 43.53 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.6965, allocations: 0 / 1.06 GB, free: 43.53 MB / 0.698 GB Notification: Performance of Templates: time 0.008841/0.7054, allocations: 5.467 MB / 1.065 GB, free: 43.1 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)