Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.722/1.722, allocations: 292.6 MB / 307.8 MB, free: 7.195 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.001276/0.001276, allocations: 181.4 kB / 376.5 MB, free: 4.512 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.542/1.542, allocations: 225.7 MB / 0.655 GB, free: 13.2 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.001071/0.001071, allocations: 97.02 kB / 0.7711 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003802, allocations: 12 kB / 0.8971 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6856/0.686, allocations: 118.2 MB / 1.012 GB, free: 57.72 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001562/0.6877, allocations: 1.132 MB / 1.014 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003849/0.6915, allocations: 2.666 MB / 1.016 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.6916, allocations: 0 / 1.016 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.667e-05/0.6916, allocations: 0 / 1.016 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.84e-05/0.6917, allocations: 19.16 kB / 1.016 GB, free: 57.39 MB / 0.7136 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.695, allocations: 1.341 MB / 1.017 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.77e-05/0.695, allocations: 36.97 kB / 1.018 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.586e-05/0.6951, allocations: 8.469 kB / 1.018 GB, free: 57.21 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.94e-05/0.6951, allocations: 16.56 kB / 1.018 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.6952, allocations: 16.02 kB / 1.018 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.6952, allocations: 1 kB / 1.018 GB, free: 57.2 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.6972, allocations: 1.375 MB / 1.019 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.6972, allocations: 8.562 kB / 1.019 GB, free: 57.14 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.6973, allocations: 42.56 kB / 1.019 GB, free: 57.1 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009846/0.6983, allocations: 0.7701 MB / 1.02 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.6983, allocations: 4.438 kB / 1.02 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6983, allocations: 2.312 kB / 1.02 GB, free: 57.05 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.6983, allocations: 0 / 1.02 GB, free: 57.05 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.0004577/0.6988, allocations: 0.5117 MB / 1.02 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.6988, allocations: 10 kB / 1.02 GB, free: 56.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.6989, allocations: 83.47 kB / 1.02 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/0.699, allocations: 250.3 kB / 1.021 GB, free: 56.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.699, allocations: 156 kB / 1.021 GB, free: 56.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.6991, allocations: 152.3 kB / 1.021 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.974e-05/0.6991, allocations: 109 kB / 1.021 GB, free: 55.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.673e-05/0.6991, allocations: 79.19 kB / 1.021 GB, free: 55.74 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.6992, allocations: 150.6 kB / 1.021 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.6992, allocations: 151.7 kB / 1.021 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.13e-05/0.6992, allocations: 155.2 kB / 1.021 GB, free: 55.29 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000203/0.6994, allocations: 464.6 kB / 1.022 GB, free: 54.82 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/0.6995, allocations: 169 kB / 1.022 GB, free: 54.64 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.6995, allocations: 82.11 kB / 1.022 GB, free: 54.56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.6995, allocations: 78.59 kB / 1.022 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.6995, allocations: 112.5 kB / 1.022 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.6996, allocations: 3.938 kB / 1.022 GB, free: 54.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.326e-05/0.6996, allocations: 33.94 kB / 1.022 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.998e-05/0.6997, allocations: 129.9 kB / 1.022 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.6998, allocations: 129.5 kB / 1.023 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.6998, allocations: 31.84 kB / 1.023 GB, free: 54.06 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.387e-05/0.6998, allocations: 90.48 kB / 1.023 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.704e-06/0.6998, allocations: 0.5625 kB / 1.023 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-06/0.6998, allocations: 0 / 1.023 GB, free: 53.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.6999, allocations: 321.7 kB / 1.023 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.017e-05/0.6999, allocations: 2.844 kB / 1.023 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.6999, allocations: 7.688 kB / 1.023 GB, free: 53.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.843e-05/0.7, allocations: 13.73 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7, allocations: 2.906 kB / 1.023 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001225/0.7001, allocations: 56.06 kB / 1.023 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.7001, allocations: 5.094 kB / 1.023 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.7002, allocations: 3.5 kB / 1.023 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.7002, allocations: 0 / 1.023 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.7002, allocations: 0.9688 kB / 1.023 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.7002, allocations: 0 / 1.023 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.7002, allocations: 3.344 kB / 1.023 GB, free: 53.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.7002, allocations: 0.5625 kB / 1.023 GB, free: 53.62 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 7.869e-05/0.7003, allocations: 193.1 kB / 1.023 GB, free: 53.43 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.7004, allocations: 116.7 kB / 1.023 GB, free: 53.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.465e-05/0.7004, allocations: 112.3 kB / 1.024 GB, free: 53.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.154e-05/0.7005, allocations: 181 kB / 1.024 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-05/0.7005, allocations: 186.2 kB / 1.024 GB, free: 52.83 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.403e-05/0.7005, allocations: 177.9 kB / 1.024 GB, free: 52.65 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.7007, allocations: 421.4 kB / 1.024 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.7007, allocations: 104.9 kB / 1.025 GB, free: 52.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.7008, allocations: 106.6 kB / 1.025 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.911e-05/0.7008, allocations: 181 kB / 1.025 GB, free: 51.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.7008, allocations: 190.6 kB / 1.025 GB, free: 51.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-05/0.7009, allocations: 180.2 kB / 1.025 GB, free: 51.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.328e-05/0.7009, allocations: 176.3 kB / 1.025 GB, free: 51.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.502e-05/0.701, allocations: 310.1 kB / 1.026 GB, free: 50.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.701, allocations: 185.4 kB / 1.026 GB, free: 50.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.661e-05/0.701, allocations: 184.9 kB / 1.026 GB, free: 50.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.508e-05/0.7011, allocations: 105 kB / 1.026 GB, free: 50.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.7012, allocations: 184.3 kB / 1.026 GB, free: 50.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.7012, allocations: 107.4 kB / 1.026 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.935e-05/0.7013, allocations: 94.16 kB / 1.026 GB, free: 50.08 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7013, allocations: 0 / 1.026 GB, free: 50.08 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006785/0.7019, allocations: 285.5 kB / 1.027 GB, free: 50.03 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.001013/0.703, allocations: 0.555 MB / 1.027 GB, free: 49.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.342e-05/0.7031, allocations: 37.58 kB / 1.027 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.7031, allocations: 0 / 1.027 GB, free: 49.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.555e-06/0.7031, allocations: 3.938 kB / 1.027 GB, free: 49.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.7034, allocations: 0.5416 MB / 1.028 GB, free: 49.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002478/0.7037, allocations: 257.5 kB / 1.028 GB, free: 49.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.7038, allocations: 0.6795 MB / 1.029 GB, free: 48.33 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.398e-05/0.7038, allocations: 4 kB / 1.029 GB, free: 48.33 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.037e-05/0.7038, allocations: 14.34 kB / 1.029 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.7039, allocations: 0 / 1.029 GB, free: 48.32 MB / 0.7136 GB Notification: Performance of Templates: time 0.00843/0.7123, allocations: 5.585 MB / 1.034 GB, free: 47.96 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)