Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.716/1.716, allocations: 291.7 MB / 306.8 MB, free: 7.676 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.0009806/0.0009805, allocations: 189.5 kB / 375.4 MB, free: 5.094 MB / 298.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.368/1.368, allocations: 225.7 MB / 0.6538 GB, free: 13.62 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.0009241/0.0009241, allocations: 96.25 kB / 0.7699 GB, free: 50.28 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003523, allocations: 8 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5575/0.5579, allocations: 118.1 MB / 1.011 GB, free: 57.81 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003621/0.5616, allocations: 3.598 MB / 1.014 GB, free: 57.57 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00288/0.5645, allocations: 2.204 MB / 1.017 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.5648, allocations: 9.219 kB / 1.017 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.566, allocations: 462.6 kB / 1.017 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000436/0.5664, allocations: 219.1 kB / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.5666, allocations: 80.94 kB / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005862/0.5672, allocations: 0.7765 MB / 1.018 GB, free: 56.85 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003485/0.5676, allocations: 280 kB / 1.018 GB, free: 56.82 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.5678, allocations: 232.5 kB / 1.019 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.5681, allocations: 274.2 kB / 1.019 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.5681, allocations: 40.94 kB / 1.019 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.287e-05/0.5682, allocations: 34.62 kB / 1.019 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.789e-05/0.5683, allocations: 128.6 kB / 1.019 GB, free: 56.67 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.439e-05/0.5684, allocations: 161.4 kB / 1.019 GB, free: 56.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.5689, allocations: 0.7814 MB / 1.02 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.5689, allocations: 0 / 1.02 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5689, allocations: 4.031 kB / 1.02 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.215e-06/0.5689, allocations: 0 / 1.02 GB, free: 56.54 MB / 0.7136 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.001034/0.57, allocations: 0.8454 MB / 1.021 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.57, allocations: 9.75 kB / 1.021 GB, free: 55.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.423e-05/0.5701, allocations: 71.53 kB / 1.021 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.5705, allocations: 456.6 kB / 1.021 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.775e-05/0.5706, allocations: 35.09 kB / 1.021 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.5707, allocations: 50.56 kB / 1.021 GB, free: 55.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00065/0.5713, allocations: 436.9 kB / 1.022 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5713, allocations: 4.469 kB / 1.022 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.5714, allocations: 19.75 kB / 1.022 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.5714, allocations: 11.81 kB / 1.022 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.572, allocations: 370.8 kB / 1.022 GB, free: 55.58 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.5737, allocations: 1.55 MB / 1.024 GB, free: 55.08 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004423/0.5741, allocations: 339.8 kB / 1.024 GB, free: 55.05 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004271/0.5746, allocations: 355.3 kB / 1.024 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.5746, allocations: 6.594 kB / 1.024 GB, free: 55.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.5746, allocations: 35.19 kB / 1.024 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.5747, allocations: 0 / 1.024 GB, free: 54.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=42): time 0.0008227/0.5755, allocations: 0.506 MB / 1.025 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.5755, allocations: 61.62 kB / 1.025 GB, free: 54.86 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.576, allocations: 482.8 kB / 1.025 GB, free: 54.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.576, allocations: 35.89 kB / 1.025 GB, free: 54.72 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.5761, allocations: 273.9 kB / 1.026 GB, free: 54.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.501e-05/0.5762, allocations: 149 kB / 1.026 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.39e-05/0.5763, allocations: 6.469 kB / 1.026 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.5763, allocations: 364.8 kB / 1.026 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.5766, allocations: 119.4 kB / 1.026 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.5768, allocations: 131.2 kB / 1.026 GB, free: 54.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.5773, allocations: 309.6 kB / 1.027 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5773, allocations: 0 / 1.027 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000601/0.5779, allocations: 406.5 kB / 1.027 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.578, allocations: 4.688 kB / 1.027 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.578, allocations: 1.875 kB / 1.027 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.578, allocations: 1.969 kB / 1.027 GB, free: 54.08 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000486/0.5785, allocations: 128.5 kB / 1.027 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5785, allocations: 3.422 kB / 1.027 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002595/0.5788, allocations: 58.44 kB / 1.027 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.5788, allocations: 7.969 kB / 1.027 GB, free: 54.05 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002093/0.579, allocations: 194.9 kB / 1.028 GB, free: 53.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.769e-05/0.5791, allocations: 52.19 kB / 1.028 GB, free: 53.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.413e-05/0.5792, allocations: 60.86 kB / 1.028 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5792, allocations: 4.531 kB / 1.028 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.5792, allocations: 1.406 kB / 1.028 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.5792, allocations: 5.812 kB / 1.028 GB, free: 53.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.5798, allocations: 0.5719 MB / 1.028 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5798, allocations: 5.219 kB / 1.028 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.5803, allocations: 130.3 kB / 1.028 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5803, allocations: 3.156 kB / 1.028 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.5803, allocations: 13.06 kB / 1.028 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5803, allocations: 0 / 1.028 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.5803, allocations: 0 / 1.028 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008303/0.5812, allocations: 0.6689 MB / 1.029 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.821e-05/0.5813, allocations: 140.7 kB / 1.029 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.5813, allocations: 6.531 kB / 1.029 GB, free: 53.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.5815, allocations: 33.34 kB / 1.029 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.5816, allocations: 21.09 kB / 1.029 GB, free: 53.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.851e-05/0.5816, allocations: 19.03 kB / 1.029 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0003131/0.5819, allocations: 345.8 kB / 1.03 GB, free: 53.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.582, allocations: 0 / 1.03 GB, free: 53.26 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003806/0.5823, allocations: 140.2 kB / 1.03 GB, free: 53.25 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001176/0.5825, allocations: 125.2 kB / 1.03 GB, free: 53.15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.583, allocations: 329.9 kB / 1.03 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.583, allocations: 0 / 1.03 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.5833, allocations: 187.8 kB / 1.03 GB, free: 53.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.5839, allocations: 122 kB / 1.03 GB, free: 53.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.5857, allocations: 1.433 MB / 1.032 GB, free: 52.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.586, allocations: 0.8754 MB / 1.033 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002164/0.5862, allocations: 52.11 kB / 1.033 GB, free: 51.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.378e-05/0.5863, allocations: 36.84 kB / 1.033 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of SimCode: time 5.21e-07/0.5863, allocations: 0 / 1.033 GB, free: 51.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.01103/0.5974, allocations: 5.382 MB / 1.038 GB, free: 51.4 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)