Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 297.4 MB / 312.6 MB, free: 2.906 MB / 234.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.001301/0.001301, allocations: 182 kB / 382.3 MB, free: 14.81 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.41/1.41, allocations: 225.7 MB / 0.6617 GB, free: 7.219 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008242/0.0008242, allocations: 92.64 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003816, allocations: 8 kB / 0.9059 GB, free: 4.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5294, allocations: 119.2 MB / 1.022 GB, free: 57.98 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002797/0.5322, allocations: 2.615 MB / 1.025 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.5344, allocations: 1.97 MB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.5345, allocations: 5.469 kB / 1.027 GB, free: 55.2 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.5358, allocations: 485.1 kB / 1.027 GB, free: 55 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002121/0.536, allocations: 139.1 kB / 1.027 GB, free: 54.91 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.5361, allocations: 59.69 kB / 1.027 GB, free: 54.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000435/0.5365, allocations: 461.6 kB / 1.028 GB, free: 54.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.5368, allocations: 132.5 kB / 1.028 GB, free: 54.6 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.5369, allocations: 143.1 kB / 1.028 GB, free: 54.54 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.5371, allocations: 175.2 kB / 1.028 GB, free: 54.45 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.5371, allocations: 15.34 kB / 1.028 GB, free: 54.45 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.5372, allocations: 21.19 kB / 1.028 GB, free: 54.45 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.5373, allocations: 73 kB / 1.028 GB, free: 54.42 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.5375, allocations: 220.4 kB / 1.029 GB, free: 54.27 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.5379, allocations: 0.5159 MB / 1.029 GB, free: 54.13 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5379, allocations: 0 / 1.029 GB, free: 54.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.332e-06/0.5379, allocations: 0.8438 kB / 1.029 GB, free: 54.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5379, allocations: 3.406 kB / 1.029 GB, free: 54.13 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007542/0.5386, allocations: 0.6382 MB / 1.03 GB, free: 53.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5387, allocations: 9.375 kB / 1.03 GB, free: 53.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.481e-05/0.5388, allocations: 46.69 kB / 1.03 GB, free: 53.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.5392, allocations: 382 kB / 1.03 GB, free: 53.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.5392, allocations: 13.22 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.5392, allocations: 23.91 kB / 1.03 GB, free: 53.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.5396, allocations: 209.6 kB / 1.03 GB, free: 53.15 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.5397, allocations: 0 / 1.03 GB, free: 53.15 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.5397, allocations: 7.094 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.5397, allocations: 8.25 kB / 1.03 GB, free: 53.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.5401, allocations: 175.4 kB / 1.031 GB, free: 53.09 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009394/0.541, allocations: 0.8793 MB / 1.031 GB, free: 52.48 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.5413, allocations: 161.2 kB / 1.032 GB, free: 52.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.5415, allocations: 116.5 kB / 1.032 GB, free: 52.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.5415, allocations: 3.312 kB / 1.032 GB, free: 52.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.933e-05/0.5415, allocations: 36 kB / 1.032 GB, free: 52.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.5415, allocations: 3.938 kB / 1.032 GB, free: 52.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005497/0.5421, allocations: 269.9 kB / 1.032 GB, free: 52.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.5421, allocations: 53.09 kB / 1.032 GB, free: 52.13 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.5426, allocations: 418.1 kB / 1.032 GB, free: 51.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.5426, allocations: 25.7 kB / 1.032 GB, free: 51.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.5427, allocations: 205.1 kB / 1.033 GB, free: 51.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.5428, allocations: 66.58 kB / 1.033 GB, free: 51.68 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.5428, allocations: 4 kB / 1.033 GB, free: 51.68 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.353e-05/0.5429, allocations: 350.9 kB / 1.033 GB, free: 51.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.543, allocations: 58.44 kB / 1.033 GB, free: 51.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.5432, allocations: 61.33 kB / 1.033 GB, free: 51.31 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.5434, allocations: 150.3 kB / 1.033 GB, free: 51.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.5434, allocations: 3.938 kB / 1.033 GB, free: 51.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003378/0.5438, allocations: 213.8 kB / 1.034 GB, free: 51.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.5438, allocations: 5.969 kB / 1.034 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5438, allocations: 0 / 1.034 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.5438, allocations: 5.688 kB / 1.034 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.5441, allocations: 57.25 kB / 1.034 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5441, allocations: 1.25 kB / 1.034 GB, free: 51.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.5442, allocations: 34.7 kB / 1.034 GB, free: 51.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.5443, allocations: 6.75 kB / 1.034 GB, free: 51.11 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 (20): * Single equations (assignments): 20 * 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.0001143/0.5444, allocations: 161.4 kB / 1.034 GB, free: 50.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.5444, allocations: 33.59 kB / 1.034 GB, free: 50.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.185e-05/0.5445, allocations: 47.02 kB / 1.034 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.5445, allocations: 2.594 kB / 1.034 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5445, allocations: 0 / 1.034 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5445, allocations: 1.594 kB / 1.034 GB, free: 50.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003307/0.5449, allocations: 384.6 kB / 1.034 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5449, allocations: 4.203 kB / 1.034 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.5451, allocations: 55.36 kB / 1.034 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5451, allocations: 3.281 kB / 1.034 GB, free: 50.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.5452, allocations: 7.938 kB / 1.034 GB, free: 50.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5452, allocations: 0 / 1.034 GB, free: 50.63 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5452, allocations: 0 / 1.034 GB, free: 50.63 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005152/0.5457, allocations: 393.7 kB / 1.035 GB, free: 50.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.327e-05/0.5458, allocations: 115.2 kB / 1.035 GB, free: 50.29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.5458, allocations: 13.34 kB / 1.035 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.546, allocations: 17.55 kB / 1.035 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.546, allocations: 14.83 kB / 1.035 GB, free: 50.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-06/0.5461, allocations: 2.562 kB / 1.035 GB, free: 50.27 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002781/0.5463, allocations: 302.6 kB / 1.035 GB, free: 50.11 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5464, allocations: 0 / 1.035 GB, free: 50.11 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002709/0.5466, allocations: 71.69 kB / 1.035 GB, free: 50.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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 9.797e-05/0.5467, allocations: 113 kB / 1.035 GB, free: 50.01 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003117/0.547, allocations: 151.1 kB / 1.035 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5471, allocations: 0 / 1.035 GB, free: 49.96 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.5472, allocations: 88.45 kB / 1.036 GB, free: 49.94 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.5477, allocations: 87.61 kB / 1.036 GB, free: 49.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5488, allocations: 0.9338 MB / 1.037 GB, free: 49.33 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.549, allocations: 0.8045 MB / 1.037 GB, free: 48.62 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.5491, allocations: 31.88 kB / 1.037 GB, free: 48.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.5492, allocations: 26.62 kB / 1.037 GB, free: 48.62 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.5492, allocations: 0 / 1.037 GB, free: 48.62 MB / 0.698 GB Notification: Performance of Templates: time 0.006735/0.5559, allocations: 3.697 MB / 1.041 GB, free: 48.4 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)