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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.794/1.794, 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.001279/0.001279, allocations: 183.3 kB / 393.1 MB, free: 4.09 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.516/1.516, 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.0007637/0.0007638, allocations: 94.59 kB / 0.7935 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8.625 kB / 0.9225 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.6313, allocations: 121.3 MB / 1.041 GB, free: 58.04 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001875/0.6332, allocations: 1.097 MB / 1.042 GB, free: 57.32 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004139/0.6374, allocations: 2.626 MB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.6375, allocations: 3.938 kB / 1.045 GB, free: 55.05 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.6376, allocations: 16.19 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.6378, allocations: 19.39 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003875/0.6417, allocations: 1.56 MB / 1.046 GB, free: 53.86 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.6418, allocations: 81.5 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.097e-05/0.6419, allocations: 5.531 kB / 1.046 GB, free: 53.83 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.642, allocations: 30.47 kB / 1.046 GB, free: 53.82 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.6421, allocations: 24.97 kB / 1.046 GB, free: 53.81 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.6421, allocations: 0.5625 kB / 1.046 GB, free: 53.81 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.6437, allocations: 0.8062 MB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.169e-05/0.6438, allocations: 23.17 kB / 1.047 GB, free: 53.55 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.6439, allocations: 56.16 kB / 1.047 GB, free: 53.5 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.6452, allocations: 0.8001 MB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6452, allocations: 4.438 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.984e-06/0.6452, allocations: 0.8438 kB / 1.048 GB, free: 53.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.6452, allocations: 0 / 1.048 GB, free: 53.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006139/0.6459, allocations: 469.9 kB / 1.048 GB, free: 52.86 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.6459, allocations: 12.06 kB / 1.048 GB, free: 52.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.646, allocations: 7.719 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.6461, allocations: 185.5 kB / 1.049 GB, free: 52.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.6461, allocations: 3 kB / 1.049 GB, free: 52.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.6461, allocations: 3.938 kB / 1.049 GB, free: 52.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.6462, allocations: 55.98 kB / 1.049 GB, free: 52.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6463, allocations: 0 / 1.049 GB, free: 52.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.6463, allocations: 0 / 1.049 GB, free: 52.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6463, allocations: 0 / 1.049 GB, free: 52.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.104e-05/0.6463, allocations: 30.16 kB / 1.049 GB, free: 52.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001624/0.6465, allocations: 192.9 kB / 1.049 GB, free: 52.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.904e-05/0.6466, allocations: 46.39 kB / 1.049 GB, free: 52.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.064e-05/0.6466, allocations: 35.73 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.406e-05/0.6467, allocations: 3.969 kB / 1.049 GB, free: 52.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.6467, allocations: 30.56 kB / 1.049 GB, free: 52.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.6467, allocations: 0 / 1.049 GB, free: 52.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002041/0.6469, allocations: 121.8 kB / 1.049 GB, free: 52.26 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.6469, allocations: 52.2 kB / 1.049 GB, free: 52.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.647, allocations: 157.7 kB / 1.049 GB, free: 52.07 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.6471, allocations: 25.7 kB / 1.049 GB, free: 52.04 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.6471, allocations: 103.2 kB / 1.049 GB, free: 51.95 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.048e-05/0.6471, allocations: 23.69 kB / 1.049 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.6471, allocations: 0 / 1.049 GB, free: 51.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.6472, allocations: 326.5 kB / 1.05 GB, free: 51.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-05/0.6472, allocations: 28.25 kB / 1.05 GB, free: 51.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.6473, allocations: 20 kB / 1.05 GB, free: 51.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.735e-05/0.6474, allocations: 62.66 kB / 1.05 GB, free: 51.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6474, allocations: 0 / 1.05 GB, free: 51.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001154/0.6475, allocations: 92.38 kB / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6475, allocations: 12.53 kB / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.6475, allocations: 3.344 kB / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6476, allocations: 0 / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.6476, allocations: 0 / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.6476, allocations: 320 / 1.05 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.632e-05/0.6476, allocations: 6.562 kB / 1.05 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.6476, allocations: 0 / 1.05 GB, free: 51.53 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.731e-05/0.6477, allocations: 134.2 kB / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.253e-05/0.6477, allocations: 6.688 kB / 1.05 GB, free: 51.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.6479, allocations: 121.8 kB / 1.05 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6479, allocations: 0 / 1.05 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6479, allocations: 0 / 1.05 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.6479, allocations: 2.781 kB / 1.05 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.648, allocations: 192.2 kB / 1.05 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.648, allocations: 5.094 kB / 1.05 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.372e-06/0.6481, allocations: 4.672 kB / 1.05 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.6481, allocations: 0 / 1.05 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.6481, allocations: 0 / 1.05 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.6481, allocations: 32 / 1.05 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.6481, allocations: 6.203 kB / 1.05 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.6482, allocations: 117.2 kB / 1.05 GB, free: 51.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.6482, allocations: 85.12 kB / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.6483, allocations: 1.125 kB / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.789e-05/0.6483, allocations: 0 / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.3e-05/0.6483, allocations: 4.5 kB / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.6483, allocations: 0 / 1.051 GB, free: 50.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.973e-05/0.6484, allocations: 133.6 kB / 1.051 GB, free: 50.86 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6484, allocations: 1.281 kB / 1.051 GB, free: 50.86 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006623/0.6491, allocations: 208.3 kB / 1.051 GB, free: 50.82 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.0008802/0.65, allocations: 342.2 kB / 1.051 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.6501, allocations: 91.27 kB / 1.051 GB, free: 50.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6501, allocations: 0 / 1.051 GB, free: 50.62 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.504e-05/0.6502, allocations: 68.97 kB / 1.051 GB, free: 50.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.6504, allocations: 9.25 kB / 1.051 GB, free: 50.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.6508, allocations: 258.7 kB / 1.052 GB, free: 50.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.6509, allocations: 0.7075 MB / 1.052 GB, free: 49.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.651, allocations: 7.781 kB / 1.052 GB, free: 49.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.381e-05/0.651, allocations: 7.438 kB / 1.052 GB, free: 49.71 MB / 0.698 GB Notification: Performance of SimCode: time 4.6e-07/0.651, allocations: 0 / 1.052 GB, free: 49.71 MB / 0.698 GB Notification: Performance of Templates: time 0.008445/0.6595, allocations: 4.27 MB / 1.057 GB, free: 49.38 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)