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.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.703/1.703, allocations: 291.7 MB / 306.8 MB, free: 7.66 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.001093/0.001093, allocations: 185.6 kB / 375.4 MB, free: 5.09 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.475/1.475, allocations: 225.7 MB / 0.6538 GB, free: 13.54 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.0008013/0.0008013, allocations: 102.6 kB / 0.7699 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004644/0.0004647, allocations: 8.938 kB / 0.8956 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6393/0.6398, allocations: 118.1 MB / 1.011 GB, free: 57.68 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001482/0.6413, allocations: 1.147 MB / 1.012 GB, free: 57.65 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003628/0.645, allocations: 2.736 MB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.759e-05/0.645, allocations: 1.594 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.645, allocations: 8.344 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.572e-05/0.6451, allocations: 9.734 kB / 1.015 GB, free: 57.34 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003013/0.6481, allocations: 1.321 MB / 1.016 GB, free: 57.18 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.6482, allocations: 41.22 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.657e-05/0.6483, allocations: 4.672 kB / 1.016 GB, free: 57.16 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.139e-05/0.6483, allocations: 17.92 kB / 1.016 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.522e-05/0.6483, allocations: 16.61 kB / 1.016 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.6483, allocations: 0.625 kB / 1.016 GB, free: 57.15 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.6499, allocations: 1.26 MB / 1.017 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.65, allocations: 15.88 kB / 1.017 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.65, allocations: 28.52 kB / 1.017 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.6508, allocations: 0.7261 MB / 1.018 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.6508, allocations: 0 / 1.018 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6508, allocations: 0 / 1.018 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.6508, allocations: 0.875 kB / 1.018 GB, free: 57.02 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004525/0.6513, allocations: 0.5075 MB / 1.019 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.6513, allocations: 13.31 kB / 1.019 GB, free: 56.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.6514, allocations: 80.12 kB / 1.019 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.6515, allocations: 254.5 kB / 1.019 GB, free: 56.19 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.6515, allocations: 154.4 kB / 1.019 GB, free: 56.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.6515, allocations: 154.5 kB / 1.019 GB, free: 55.89 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.731e-05/0.6516, allocations: 107.8 kB / 1.019 GB, free: 55.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.6516, allocations: 75.28 kB / 1.019 GB, free: 55.71 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.6516, allocations: 151.1 kB / 1.02 GB, free: 55.56 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.6517, allocations: 155.2 kB / 1.02 GB, free: 55.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.6517, allocations: 151.7 kB / 1.02 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000187/0.6519, allocations: 469.2 kB / 1.02 GB, free: 54.78 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.66e-05/0.6519, allocations: 166.6 kB / 1.02 GB, free: 54.61 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.009e-05/0.652, allocations: 93.59 kB / 1.021 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.652, allocations: 80.44 kB / 1.021 GB, free: 54.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.652, allocations: 116 kB / 1.021 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.652, allocations: 0 / 1.021 GB, free: 54.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.626e-05/0.6521, allocations: 32.42 kB / 1.021 GB, free: 54.29 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.6521, allocations: 127.6 kB / 1.021 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.6522, allocations: 132.4 kB / 1.021 GB, free: 54.05 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.6523, allocations: 30.67 kB / 1.021 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.398e-05/0.6523, allocations: 92.19 kB / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.6523, allocations: 0 / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-06/0.6523, allocations: 0 / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.6524, allocations: 314.1 kB / 1.021 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.233e-05/0.6524, allocations: 8.5 kB / 1.021 GB, free: 53.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.6524, allocations: 9.375 kB / 1.021 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.529e-05/0.6524, allocations: 19.08 kB / 1.021 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6525, allocations: 0 / 1.021 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.6526, allocations: 52.8 kB / 1.022 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.6526, allocations: 5.938 kB / 1.022 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.6526, allocations: 2.562 kB / 1.022 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6526, allocations: 0 / 1.022 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.62e-07/0.6526, allocations: 1.312 kB / 1.022 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6526, allocations: 5.219 kB / 1.022 GB, free: 53.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.6527, allocations: 5.188 kB / 1.022 GB, free: 53.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.6527, allocations: 2.656 kB / 1.022 GB, free: 53.57 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.381e-05/0.6527, allocations: 186.8 kB / 1.022 GB, free: 53.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.284e-05/0.6528, allocations: 111.7 kB / 1.022 GB, free: 53.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.632e-05/0.6528, allocations: 115.7 kB / 1.022 GB, free: 53.16 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.6529, allocations: 183 kB / 1.022 GB, free: 52.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/0.6529, allocations: 176.3 kB / 1.022 GB, free: 52.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.479e-05/0.6529, allocations: 178.9 kB / 1.022 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001493/0.6531, allocations: 421.2 kB / 1.023 GB, free: 52.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.719e-05/0.6531, allocations: 105.1 kB / 1.023 GB, free: 52.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.639e-05/0.6531, allocations: 109.8 kB / 1.023 GB, free: 51.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.456e-05/0.6532, allocations: 183.2 kB / 1.023 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.6532, allocations: 177.1 kB / 1.023 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-05/0.6532, allocations: 188.4 kB / 1.024 GB, free: 51.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-05/0.6532, allocations: 183.1 kB / 1.024 GB, free: 51.22 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.627e-05/0.6533, allocations: 317 kB / 1.024 GB, free: 50.9 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.6534, allocations: 189.3 kB / 1.024 GB, free: 50.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.6534, allocations: 186.6 kB / 1.024 GB, free: 50.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.884e-05/0.6535, allocations: 101.6 kB / 1.025 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.6535, allocations: 180.2 kB / 1.025 GB, free: 50.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.6535, allocations: 107.9 kB / 1.025 GB, free: 50.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.6536, allocations: 99.2 kB / 1.025 GB, free: 50.04 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6536, allocations: 0 / 1.025 GB, free: 50.04 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005924/0.6542, allocations: 287.2 kB / 1.025 GB, free: 49.98 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0009241/0.6551, allocations: 0.5275 MB / 1.026 GB, free: 49.75 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.6552, allocations: 43.73 kB / 1.026 GB, free: 49.72 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6552, allocations: 4.062 kB / 1.026 GB, free: 49.71 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.6552, allocations: 1.344 kB / 1.026 GB, free: 49.71 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.6556, allocations: 0.5309 MB / 1.026 GB, free: 49.19 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000249/0.6558, allocations: 259.2 kB / 1.026 GB, free: 48.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.6559, allocations: 0.6838 MB / 1.027 GB, free: 48.29 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.488e-05/0.656, allocations: 5.453 kB / 1.027 GB, free: 48.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.153e-06/0.656, allocations: 7.438 kB / 1.027 GB, free: 48.28 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.656, allocations: 0 / 1.027 GB, free: 48.28 MB / 0.7136 GB Notification: Performance of Templates: time 0.009154/0.6651, allocations: 5.741 MB / 1.033 GB, free: 47.89 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)