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.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.655/1.655, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.0009941/0.0009942, allocations: 174.8 kB / 393.1 MB, free: 4.094 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.462/1.462, 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.0007747/0.0007747, allocations: 91.89 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 12 kB / 0.9225 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5259/0.5263, allocations: 121.3 MB / 1.041 GB, free: 58.25 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003756/0.5301, allocations: 3.614 MB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003016/0.5331, allocations: 2.237 MB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005122/0.5337, allocations: 15.22 kB / 1.047 GB, free: 54.14 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.5354, allocations: 0.4905 MB / 1.047 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006986/0.5361, allocations: 221.3 kB / 1.047 GB, free: 53.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.5363, allocations: 116.5 kB / 1.047 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007998/0.5372, allocations: 0.7981 MB / 1.048 GB, free: 53.31 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005059/0.5377, allocations: 284 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003193/0.538, allocations: 240.2 kB / 1.049 GB, free: 53.08 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.5383, allocations: 288.5 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.5384, allocations: 35.12 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.305e-05/0.5385, allocations: 34.59 kB / 1.049 GB, free: 52.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001408/0.5386, allocations: 130.7 kB / 1.049 GB, free: 52.88 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.539, allocations: 361 kB / 1.05 GB, free: 52.66 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008041/0.5398, allocations: 0.938 MB / 1.05 GB, free: 52.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.5398, allocations: 3.938 kB / 1.05 GB, free: 52.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5398, allocations: 0 / 1.05 GB, free: 52.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.08e-05/0.5398, allocations: 0.8438 kB / 1.05 GB, free: 52.4 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001255/0.5411, allocations: 0.8398 MB / 1.051 GB, free: 51.78 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.5411, allocations: 14.44 kB / 1.051 GB, free: 51.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.5413, allocations: 74.75 kB / 1.051 GB, free: 51.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006435/0.542, allocations: 455.8 kB / 1.052 GB, free: 51.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.542, allocations: 37.06 kB / 1.052 GB, free: 51.36 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.5421, allocations: 50.7 kB / 1.052 GB, free: 51.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008756/0.543, allocations: 430.8 kB / 1.052 GB, free: 51.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.374e-05/0.543, allocations: 4.031 kB / 1.052 GB, free: 51.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.5431, allocations: 24.41 kB / 1.052 GB, free: 51.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.5431, allocations: 11.03 kB / 1.052 GB, free: 51.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007079/0.5438, allocations: 378 kB / 1.053 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.546, allocations: 1.541 MB / 1.054 GB, free: 50.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005359/0.5466, allocations: 348.9 kB / 1.055 GB, free: 49.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005113/0.5471, allocations: 350.2 kB / 1.055 GB, free: 49.81 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.5471, allocations: 3.562 kB / 1.055 GB, free: 49.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.5472, allocations: 39.81 kB / 1.055 GB, free: 49.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 2.555e-06/0.5472, allocations: 1.125 kB / 1.055 GB, free: 49.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.001055/0.5482, allocations: 0.5079 MB / 1.055 GB, free: 49.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.5483, allocations: 53.81 kB / 1.055 GB, free: 49.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006075/0.5489, allocations: 484.9 kB / 1.056 GB, free: 49.27 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.5489, allocations: 33.7 kB / 1.056 GB, free: 49.23 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.5491, allocations: 274.8 kB / 1.056 GB, free: 49.01 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.5493, allocations: 147.9 kB / 1.056 GB, free: 48.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/0.5493, allocations: 5.406 kB / 1.056 GB, free: 48.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.5494, allocations: 361.6 kB / 1.057 GB, free: 48.55 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.5497, allocations: 124.5 kB / 1.057 GB, free: 48.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5499, allocations: 139.2 kB / 1.057 GB, free: 48.45 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.5504, allocations: 308.8 kB / 1.057 GB, free: 48.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5504, allocations: 2.266 kB / 1.057 GB, free: 48.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005945/0.551, allocations: 399.8 kB / 1.058 GB, free: 48.12 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.5511, allocations: 7.828 kB / 1.058 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5511, allocations: 0 / 1.058 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.5511, allocations: 2.969 kB / 1.058 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004908/0.5516, allocations: 131.3 kB / 1.058 GB, free: 48.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5516, allocations: 3 kB / 1.058 GB, free: 48.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/0.5519, allocations: 50.88 kB / 1.058 GB, free: 48.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.5519, allocations: 8.75 kB / 1.058 GB, free: 48.08 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001882/0.5521, allocations: 207.2 kB / 1.058 GB, free: 47.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.5522, allocations: 55.59 kB / 1.058 GB, free: 47.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.383e-05/0.5523, allocations: 59.25 kB / 1.058 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.5523, allocations: 6.031 kB / 1.058 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.5523, allocations: 0 / 1.058 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5523, allocations: 5.484 kB / 1.058 GB, free: 47.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.5529, allocations: 0.5705 MB / 1.059 GB, free: 47.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5529, allocations: 0 / 1.059 GB, free: 47.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005234/0.5534, allocations: 136.3 kB / 1.059 GB, free: 47.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5534, allocations: 0 / 1.059 GB, free: 47.46 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.5535, allocations: 7.125 kB / 1.059 GB, free: 47.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5535, allocations: 0 / 1.059 GB, free: 47.46 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5535, allocations: 3.031 kB / 1.059 GB, free: 47.46 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.5543, allocations: 0.6657 MB / 1.059 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.677e-05/0.5544, allocations: 143.5 kB / 1.06 GB, free: 46.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.5545, allocations: 7.094 kB / 1.06 GB, free: 46.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.5547, allocations: 22.67 kB / 1.06 GB, free: 46.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.546e-05/0.5548, allocations: 30.77 kB / 1.06 GB, free: 46.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.5548, allocations: 12.56 kB / 1.06 GB, free: 46.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000328/0.5552, allocations: 346.8 kB / 1.06 GB, free: 46.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5552, allocations: 0 / 1.06 GB, free: 46.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003852/0.5556, allocations: 149 kB / 1.06 GB, free: 46.74 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001298/0.5557, allocations: 124.2 kB / 1.06 GB, free: 46.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005489/0.5562, allocations: 328.1 kB / 1.061 GB, free: 46.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5563, allocations: 3.938 kB / 1.061 GB, free: 46.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002616/0.5565, allocations: 188.3 kB / 1.061 GB, free: 46.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006708/0.5572, allocations: 126.1 kB / 1.061 GB, free: 46.41 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.5589, allocations: 1.504 MB / 1.062 GB, free: 45.46 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.5592, allocations: 0.867 MB / 1.063 GB, free: 44.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00019/0.5594, allocations: 52.02 kB / 1.063 GB, free: 44.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.603e-05/0.5594, allocations: 37.72 kB / 1.063 GB, free: 44.74 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/0.5594, allocations: 0 / 1.063 GB, free: 44.74 MB / 0.698 GB Notification: Performance of Templates: time 0.00957/0.569, allocations: 5.556 MB / 1.069 GB, free: 44.39 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)