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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.861/1.861, allocations: 291.7 MB / 306.8 MB, free: 7.668 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.001068/0.001068, allocations: 182.2 kB / 375.4 MB, free: 5.113 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.449/1.449, allocations: 225.7 MB / 0.6538 GB, free: 13.63 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.0008453/0.0008453, allocations: 107.6 kB / 0.7699 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004/0.0004, allocations: 14.72 kB / 0.8956 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7039/0.7043, allocations: 118.1 MB / 1.011 GB, free: 57.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001598/0.7059, allocations: 1.146 MB / 1.012 GB, free: 57.56 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003675/0.7096, allocations: 2.735 MB / 1.015 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.466e-05/0.7097, allocations: 1.5 kB / 1.015 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.2e-05/0.7097, allocations: 7.125 kB / 1.015 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 6.669e-05/0.7098, allocations: 15.47 kB / 1.015 GB, free: 57.25 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.003144/0.713, allocations: 1.319 MB / 1.016 GB, free: 57.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.713, allocations: 39.22 kB / 1.016 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.7131, allocations: 13.39 kB / 1.016 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.7131, allocations: 13.06 kB / 1.016 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.7132, allocations: 12.75 kB / 1.016 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.7132, allocations: 3.938 kB / 1.016 GB, free: 57.06 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.7149, allocations: 1.263 MB / 1.017 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.7149, allocations: 6.719 kB / 1.017 GB, free: 57.02 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.7149, allocations: 35.67 kB / 1.017 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.7158, allocations: 0.7233 MB / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7158, allocations: 0 / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7159, allocations: 0.7188 kB / 1.018 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.7159, allocations: 0.5625 kB / 1.018 GB, free: 56.93 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.0004881/0.7164, allocations: 0.5134 MB / 1.019 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.7164, allocations: 8.5 kB / 1.019 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.723e-05/0.7165, allocations: 84.06 kB / 1.019 GB, free: 56.38 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.7166, allocations: 254.8 kB / 1.019 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.7166, allocations: 155.9 kB / 1.019 GB, free: 55.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.7167, allocations: 153.2 kB / 1.019 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.776e-05/0.7167, allocations: 105.1 kB / 1.019 GB, free: 55.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.7168, allocations: 78.09 kB / 1.019 GB, free: 55.62 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.7168, allocations: 156.2 kB / 1.02 GB, free: 55.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.7168, allocations: 150.6 kB / 1.02 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.476e-05/0.7168, allocations: 151.4 kB / 1.02 GB, free: 55.17 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001922/0.717, allocations: 465.1 kB / 1.02 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.513e-05/0.7171, allocations: 169.6 kB / 1.02 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.843e-05/0.7171, allocations: 88.12 kB / 1.021 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.7171, allocations: 84.45 kB / 1.021 GB, free: 54.36 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.7172, allocations: 109.8 kB / 1.021 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7172, allocations: 1.781 kB / 1.021 GB, free: 54.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.261e-05/0.7173, allocations: 33.34 kB / 1.021 GB, free: 54.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.7173, allocations: 126.7 kB / 1.021 GB, free: 54.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.7174, allocations: 133.5 kB / 1.021 GB, free: 53.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.7174, allocations: 25.7 kB / 1.021 GB, free: 53.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.7175, allocations: 94.38 kB / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.7175, allocations: 0 / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.7175, allocations: 0 / 1.021 GB, free: 53.86 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.7175, allocations: 318.9 kB / 1.021 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.235e-05/0.7176, allocations: 6.688 kB / 1.021 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.752e-05/0.7176, allocations: 10.94 kB / 1.021 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.7176, allocations: 10.67 kB / 1.021 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7176, allocations: 0.8438 kB / 1.021 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001152/0.7178, allocations: 65.61 kB / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.7178, allocations: 5.844 kB / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.7178, allocations: 5.781 kB / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.7178, allocations: 0 / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.7178, allocations: 0 / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7178, allocations: 0 / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.7179, allocations: 5.25 kB / 1.022 GB, free: 53.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.7179, allocations: 6.812 kB / 1.022 GB, free: 53.49 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.306e-05/0.718, allocations: 182.1 kB / 1.022 GB, free: 53.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.718, allocations: 111.6 kB / 1.022 GB, free: 53.19 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.718, allocations: 114.2 kB / 1.022 GB, free: 53.07 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.7181, allocations: 180.2 kB / 1.022 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/0.7181, allocations: 181.1 kB / 1.022 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.569e-05/0.7181, allocations: 178 kB / 1.022 GB, free: 52.53 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.7183, allocations: 419.1 kB / 1.023 GB, free: 52.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/0.7183, allocations: 107.6 kB / 1.023 GB, free: 51.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.7183, allocations: 111.5 kB / 1.023 GB, free: 51.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.797e-05/0.7184, allocations: 178.8 kB / 1.023 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.7184, allocations: 178.8 kB / 1.023 GB, free: 51.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.25e-05/0.7185, allocations: 185.4 kB / 1.024 GB, free: 51.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.698e-05/0.7185, allocations: 185 kB / 1.024 GB, free: 51.14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.469e-05/0.7186, allocations: 312.5 kB / 1.024 GB, free: 50.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.274e-05/0.7186, allocations: 199.1 kB / 1.024 GB, free: 50.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.07e-05/0.7187, allocations: 178.7 kB / 1.024 GB, free: 50.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.7187, allocations: 103.2 kB / 1.025 GB, free: 50.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.7188, allocations: 182.8 kB / 1.025 GB, free: 50.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.7188, allocations: 103.8 kB / 1.025 GB, free: 50.03 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.253e-05/0.7188, allocations: 106.6 kB / 1.025 GB, free: 49.95 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7188, allocations: 0 / 1.025 GB, free: 49.95 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007606/0.7196, allocations: 280 kB / 1.025 GB, free: 49.89 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.0009965/0.7206, allocations: 0.5293 MB / 1.026 GB, free: 49.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001035/0.7207, allocations: 45.55 kB / 1.026 GB, free: 49.64 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7207, allocations: 4.062 kB / 1.026 GB, free: 49.63 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-06/0.7208, allocations: 3.031 kB / 1.026 GB, free: 49.63 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.7211, allocations: 0.5321 MB / 1.026 GB, free: 49.11 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.7214, allocations: 255.8 kB / 1.026 GB, free: 48.9 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.7215, allocations: 0.684 MB / 1.027 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.358e-05/0.7215, allocations: 0 / 1.027 GB, free: 48.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.047e-06/0.7215, allocations: 10.12 kB / 1.027 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.7215, allocations: 1.031 kB / 1.027 GB, free: 48.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.008909/0.7305, allocations: 5.754 MB / 1.033 GB, free: 47.84 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)