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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.1-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 297.4 MB / 312.6 MB, free: 2.938 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.001254/0.001253, allocations: 182 kB / 382.3 MB, free: 14.84 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.352/1.352, allocations: 225.7 MB / 0.6617 GB, free: 7.258 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.0008258/0.0008258, allocations: 86.27 kB / 0.7789 GB, free: 46.95 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 8 kB / 0.9059 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5567/0.5571, 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.InternalResistancesTwoUTube): time 0.003639/0.5608, allocations: 3.608 MB / 1.026 GB, free: 55.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002829/0.5637, allocations: 2.239 MB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003992/0.5641, allocations: 10.59 kB / 1.028 GB, free: 54.25 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.5654, allocations: 0.5007 MB / 1.029 GB, free: 54.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0004624/0.5659, allocations: 221.3 kB / 1.029 GB, free: 53.9 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.5661, allocations: 124.7 kB / 1.029 GB, free: 53.81 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006775/0.5668, allocations: 0.7981 MB / 1.03 GB, free: 53.41 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.5673, allocations: 278.3 kB / 1.03 GB, free: 53.29 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003397/0.5676, allocations: 244.3 kB / 1.03 GB, free: 53.18 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.5679, allocations: 291 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 6.475e-05/0.568, allocations: 32.59 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.322e-05/0.5681, allocations: 37.78 kB / 1.03 GB, free: 53.05 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.5682, allocations: 128 kB / 1.031 GB, free: 52.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002758/0.5685, allocations: 359.1 kB / 1.031 GB, free: 52.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007031/0.5692, allocations: 0.9379 MB / 1.032 GB, free: 52.51 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5693, allocations: 0 / 1.032 GB, free: 52.51 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5693, allocations: 0 / 1.032 GB, free: 52.51 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.5693, allocations: 1.188 kB / 1.032 GB, free: 52.51 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.001208/0.5705, allocations: 0.8453 MB / 1.033 GB, free: 51.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.5705, allocations: 9.406 kB / 1.033 GB, free: 51.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.5707, allocations: 75.53 kB / 1.033 GB, free: 51.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005371/0.5712, allocations: 448.9 kB / 1.033 GB, free: 51.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.5712, allocations: 40.19 kB / 1.033 GB, free: 51.47 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.445e-05/0.5713, allocations: 57.58 kB / 1.033 GB, free: 51.45 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007823/0.5721, allocations: 429.8 kB / 1.034 GB, free: 51.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.5721, allocations: 2.219 kB / 1.034 GB, free: 51.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.5722, allocations: 20.34 kB / 1.034 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5722, allocations: 10.81 kB / 1.034 GB, free: 51.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006324/0.5728, allocations: 379.2 kB / 1.034 GB, free: 51.11 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001767/0.5746, allocations: 1.537 MB / 1.036 GB, free: 50.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004759/0.5751, allocations: 341.2 kB / 1.036 GB, free: 50.06 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004824/0.5756, allocations: 352.9 kB / 1.036 GB, free: 49.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.5756, allocations: 6.875 kB / 1.036 GB, free: 49.93 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.5757, allocations: 45.84 kB / 1.036 GB, free: 49.88 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.5757, allocations: 0 / 1.036 GB, free: 49.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.0008497/0.5765, allocations: 0.5004 MB / 1.037 GB, free: 49.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.5766, allocations: 57.12 kB / 1.037 GB, free: 49.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.5771, allocations: 483 kB / 1.037 GB, free: 49.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.5771, allocations: 29.7 kB / 1.037 GB, free: 49.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.5772, allocations: 277.2 kB / 1.038 GB, free: 49.13 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.708e-05/0.5773, allocations: 147.4 kB / 1.038 GB, free: 49.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.436e-05/0.5774, allocations: 8 kB / 1.038 GB, free: 49 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.555e-05/0.5775, allocations: 365 kB / 1.038 GB, free: 48.67 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.5777, allocations: 123.5 kB / 1.038 GB, free: 48.62 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5779, allocations: 130.4 kB / 1.038 GB, free: 48.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004722/0.5784, allocations: 313 kB / 1.039 GB, free: 48.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5784, allocations: 0 / 1.039 GB, free: 48.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006303/0.579, allocations: 405.7 kB / 1.039 GB, free: 48.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5791, allocations: 10.59 kB / 1.039 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5791, allocations: 0.9844 kB / 1.039 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.5791, allocations: 2.172 kB / 1.039 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.5796, allocations: 128.1 kB / 1.039 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.5796, allocations: 0 / 1.039 GB, free: 48.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/0.5799, allocations: 58.42 kB / 1.039 GB, free: 48.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.58, allocations: 14.22 kB / 1.039 GB, free: 48.19 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.0002176/0.5802, allocations: 189.2 kB / 1.039 GB, free: 48.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.5803, allocations: 56.69 kB / 1.039 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.467e-05/0.5804, allocations: 65.44 kB / 1.04 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.5804, allocations: 4.094 kB / 1.04 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5804, allocations: 4 kB / 1.04 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.5804, allocations: 5.734 kB / 1.04 GB, free: 47.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005757/0.581, allocations: 0.5729 MB / 1.04 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.581, allocations: 0 / 1.04 GB, free: 47.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.5815, allocations: 131 kB / 1.04 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5815, allocations: 2.25 kB / 1.04 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/0.5815, allocations: 10.91 kB / 1.04 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5815, allocations: 3.062 kB / 1.04 GB, free: 47.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5815, allocations: 4 kB / 1.04 GB, free: 47.56 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008608/0.5824, allocations: 0.6666 MB / 1.041 GB, free: 47.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.571e-05/0.5825, allocations: 141.1 kB / 1.041 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.5826, allocations: 6.656 kB / 1.041 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.5828, allocations: 23.58 kB / 1.041 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.5829, allocations: 22.67 kB / 1.041 GB, free: 47.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.5829, allocations: 9.75 kB / 1.041 GB, free: 47.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003316/0.5832, allocations: 350.2 kB / 1.041 GB, free: 46.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5833, allocations: 0 / 1.041 GB, free: 46.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003858/0.5836, allocations: 148.4 kB / 1.042 GB, free: 46.85 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.0001234/0.5838, allocations: 127.6 kB / 1.042 GB, free: 46.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005309/0.5843, allocations: 327.9 kB / 1.042 GB, free: 46.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5843, allocations: 0 / 1.042 GB, free: 46.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.5846, allocations: 187.8 kB / 1.042 GB, free: 46.58 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006384/0.5852, allocations: 121 kB / 1.042 GB, free: 46.54 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.587, allocations: 1.516 MB / 1.044 GB, free: 45.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5873, allocations: 0.8648 MB / 1.045 GB, free: 44.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.5875, allocations: 55.27 kB / 1.045 GB, free: 44.87 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.276e-05/0.5876, allocations: 34.06 kB / 1.045 GB, free: 44.87 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/0.5876, allocations: 0 / 1.045 GB, free: 44.87 MB / 0.698 GB Notification: Performance of Templates: time 0.01155/0.5992, allocations: 5.569 MB / 1.05 GB, free: 44.54 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)