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.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.84/1.84, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.000914/0.000914, allocations: 179.7 kB / 393.1 MB, free: 4.074 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.375/1.375, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.0007777/0.0007778, allocations: 89.7 kB / 0.7935 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003759, allocations: 8.875 kB / 0.9225 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5632/0.5636, allocations: 121.3 MB / 1.041 GB, free: 59.27 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002632/0.5663, allocations: 2.617 MB / 1.043 GB, free: 57.47 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00203/0.5683, allocations: 1.968 MB / 1.045 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.5685, allocations: 3.844 kB / 1.045 GB, free: 56.07 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001123/0.5696, allocations: 488.2 kB / 1.046 GB, free: 55.87 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.5699, allocations: 129.3 kB / 1.046 GB, free: 55.79 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.525e-05/0.57, allocations: 55.86 kB / 1.046 GB, free: 55.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0003906/0.5704, allocations: 457 kB / 1.046 GB, free: 55.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.5706, allocations: 132.3 kB / 1.047 GB, free: 55.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.5707, allocations: 138.3 kB / 1.047 GB, free: 55.42 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001676/0.5709, allocations: 170 kB / 1.047 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.5709, allocations: 19.31 kB / 1.047 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.571, allocations: 17.16 kB / 1.047 GB, free: 55.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.862e-05/0.5711, allocations: 79.69 kB / 1.047 GB, free: 55.3 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.5712, allocations: 229 kB / 1.047 GB, free: 55.15 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003702/0.5716, allocations: 0.5144 MB / 1.048 GB, free: 55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5716, allocations: 1.625 kB / 1.048 GB, free: 55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.352e-06/0.5716, allocations: 0.625 kB / 1.048 GB, free: 55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.5717, allocations: 0 / 1.048 GB, free: 55 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.0007482/0.5724, allocations: 0.6453 MB / 1.048 GB, free: 54.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.5724, allocations: 9.188 kB / 1.048 GB, free: 54.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.5725, allocations: 50.44 kB / 1.048 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.5729, allocations: 365.3 kB / 1.049 GB, free: 54.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5729, allocations: 20.31 kB / 1.049 GB, free: 54.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.5729, allocations: 26.62 kB / 1.049 GB, free: 54.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003563/0.5733, allocations: 206.9 kB / 1.049 GB, free: 54.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.5733, allocations: 7.656 kB / 1.049 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.5733, allocations: 4.5 kB / 1.049 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.5734, allocations: 4.906 kB / 1.049 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.5737, allocations: 178.5 kB / 1.049 GB, free: 53.96 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009282/0.5746, allocations: 0.8742 MB / 1.05 GB, free: 53.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.5749, allocations: 164.9 kB / 1.05 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.5751, allocations: 122.9 kB / 1.05 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.5752, allocations: 0 / 1.05 GB, free: 53.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.5752, allocations: 30.56 kB / 1.05 GB, free: 53.19 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 9.52e-07/0.5752, allocations: 7.312 kB / 1.05 GB, free: 53.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005271/0.5757, allocations: 268.6 kB / 1.051 GB, free: 53.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.294e-05/0.5758, allocations: 57.09 kB / 1.051 GB, free: 53 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004063/0.5762, allocations: 413.8 kB / 1.051 GB, free: 52.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5762, allocations: 28.89 kB / 1.051 GB, free: 52.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.5763, allocations: 208.9 kB / 1.051 GB, free: 52.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.5763, allocations: 60.16 kB / 1.051 GB, free: 52.55 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.665e-06/0.5764, allocations: 5.375 kB / 1.051 GB, free: 52.55 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.5764, allocations: 350.3 kB / 1.052 GB, free: 52.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.5766, allocations: 63.61 kB / 1.052 GB, free: 52.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.5767, allocations: 58.41 kB / 1.052 GB, free: 52.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.577, allocations: 147.2 kB / 1.052 GB, free: 52.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.577, allocations: 0 / 1.052 GB, free: 52.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003612/0.5774, allocations: 218.4 kB / 1.052 GB, free: 52.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5774, allocations: 7.016 kB / 1.052 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.5774, allocations: 0 / 1.052 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.5774, allocations: 5.5 kB / 1.052 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.5777, allocations: 66.88 kB / 1.052 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.5777, allocations: 2.344 kB / 1.052 GB, free: 52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.5779, allocations: 24.47 kB / 1.052 GB, free: 51.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.5779, allocations: 4.344 kB / 1.052 GB, free: 51.99 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.0001191/0.578, allocations: 165.9 kB / 1.052 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.845e-05/0.578, allocations: 36.28 kB / 1.052 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.942e-05/0.5781, allocations: 46.19 kB / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.5781, allocations: 1.188 kB / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.748e-06/0.5781, allocations: 0 / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5781, allocations: 3.094 kB / 1.052 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.5785, allocations: 370.5 kB / 1.053 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.5785, allocations: 1.312 kB / 1.053 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.5787, allocations: 60.33 kB / 1.053 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.5787, allocations: 7.812 kB / 1.053 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.5788, allocations: 5.672 kB / 1.053 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.5788, allocations: 0 / 1.053 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5788, allocations: 0 / 1.053 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.5793, allocations: 389.8 kB / 1.053 GB, free: 51.28 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.5794, allocations: 118.1 kB / 1.053 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.5795, allocations: 10.25 kB / 1.053 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.5796, allocations: 13.95 kB / 1.053 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/0.5797, allocations: 13.11 kB / 1.053 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.5797, allocations: 11.72 kB / 1.053 GB, free: 51.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002601/0.58, allocations: 300.2 kB / 1.054 GB, free: 50.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.58, allocations: 0 / 1.054 GB, free: 50.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002849/0.5803, allocations: 71.66 kB / 1.054 GB, free: 50.98 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 0.0001062/0.5804, allocations: 111.4 kB / 1.054 GB, free: 50.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.5807, allocations: 159 kB / 1.054 GB, free: 50.84 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5807, allocations: 1.375 kB / 1.054 GB, free: 50.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.5809, allocations: 83.2 kB / 1.054 GB, free: 50.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.5814, allocations: 95.67 kB / 1.054 GB, free: 50.79 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.5825, allocations: 0.9367 MB / 1.055 GB, free: 50.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002154/0.5827, allocations: 0.7964 MB / 1.056 GB, free: 49.49 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001161/0.5828, allocations: 39.2 kB / 1.056 GB, free: 49.49 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.5829, allocations: 22.97 kB / 1.056 GB, free: 49.48 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/0.5829, allocations: 1.344 kB / 1.056 GB, free: 49.48 MB / 0.698 GB Notification: Performance of Templates: time 0.007144/0.59, allocations: 3.689 MB / 1.06 GB, free: 49.25 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)