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.Functions.Validation.InternalResistancesOneUTubeNegative.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.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.1-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 297.4 MB / 312.6 MB, free: 2.934 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.001234/0.001234, allocations: 190 kB / 382.3 MB, free: 14.83 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.532/1.532, allocations: 225.7 MB / 0.6617 GB, free: 7.25 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.0009138/0.0009138, allocations: 90.44 kB / 0.7789 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 17.02 kB / 0.9059 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6971/0.6975, allocations: 119.2 MB / 1.022 GB, free: 57.5 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001862/0.6994, allocations: 1.14 MB / 1.023 GB, free: 56.95 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.005379/0.7049, allocations: 4.272 MB / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.7049, allocations: 0 / 1.028 GB, free: 53.49 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.705, allocations: 8.156 kB / 1.028 GB, free: 53.48 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.831e-05/0.7051, allocations: 13.8 kB / 1.028 GB, free: 53.48 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.004574/0.7096, allocations: 1.944 MB / 1.03 GB, free: 52.14 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.881e-05/0.7097, allocations: 35.97 kB / 1.03 GB, free: 52.12 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.953e-05/0.7098, allocations: 6.828 kB / 1.03 GB, free: 52.11 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.165e-05/0.7098, allocations: 18.7 kB / 1.03 GB, free: 52.11 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.71e-05/0.7099, allocations: 15.84 kB / 1.03 GB, free: 52.1 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.7099, allocations: 0 / 1.03 GB, free: 52.1 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.7125, allocations: 1.378 MB / 1.031 GB, free: 51.7 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.7125, allocations: 6.219 kB / 1.031 GB, free: 51.69 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.7126, allocations: 42.62 kB / 1.031 GB, free: 51.65 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002459/0.715, allocations: 1.113 MB / 1.032 GB, free: 51.37 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7151, allocations: 0 / 1.032 GB, free: 51.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.033e-06/0.7151, allocations: 0 / 1.032 GB, free: 51.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.7151, allocations: 1.594 kB / 1.032 GB, free: 51.37 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008608/0.7159, allocations: 0.5072 MB / 1.033 GB, free: 50.88 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.716, allocations: 10.97 kB / 1.033 GB, free: 50.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.7161, allocations: 86.16 kB / 1.033 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.7162, allocations: 244.9 kB / 1.033 GB, free: 50.53 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.092e-05/0.7162, allocations: 160.4 kB / 1.033 GB, free: 50.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.7163, allocations: 153.2 kB / 1.033 GB, free: 50.22 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.822e-05/0.7163, allocations: 107.5 kB / 1.033 GB, free: 50.11 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.7163, allocations: 75.28 kB / 1.033 GB, free: 50.04 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.7164, allocations: 150.6 kB / 1.034 GB, free: 49.89 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.7164, allocations: 157.6 kB / 1.034 GB, free: 49.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.99e-05/0.7164, allocations: 156 kB / 1.034 GB, free: 49.59 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.7167, allocations: 460.4 kB / 1.034 GB, free: 49.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.884e-05/0.7168, allocations: 165.1 kB / 1.034 GB, free: 48.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.7168, allocations: 81.08 kB / 1.035 GB, free: 48.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.7168, allocations: 84.88 kB / 1.035 GB, free: 48.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.7168, allocations: 114.9 kB / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7169, allocations: 0 / 1.035 GB, free: 48.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 8.152e-05/0.7169, allocations: 32.98 kB / 1.035 GB, free: 48.61 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.717, allocations: 127.7 kB / 1.035 GB, free: 48.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.7171, allocations: 130.3 kB / 1.035 GB, free: 48.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.616e-06/0.7171, allocations: 25.7 kB / 1.035 GB, free: 48.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.259e-05/0.7172, allocations: 101.9 kB / 1.035 GB, free: 48.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.7172, allocations: 0 / 1.035 GB, free: 48.23 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-06/0.7172, allocations: 0 / 1.035 GB, free: 48.23 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.7173, allocations: 318.3 kB / 1.035 GB, free: 47.92 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.756e-05/0.7173, allocations: 3.344 kB / 1.035 GB, free: 47.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.834e-05/0.7174, allocations: 3.406 kB / 1.035 GB, free: 47.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/0.7174, allocations: 20.86 kB / 1.035 GB, free: 47.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.7174, allocations: 0 / 1.035 GB, free: 47.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001321/0.7176, allocations: 53.83 kB / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.7176, allocations: 6.156 kB / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.396e-05/0.7176, allocations: 6.062 kB / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7176, allocations: 0 / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.7176, allocations: 0 / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.7176, allocations: 2.562 kB / 1.035 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.7177, allocations: 3.938 kB / 1.035 GB, free: 47.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.7177, allocations: 6.859 kB / 1.036 GB, free: 47.85 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.373e-05/0.7178, allocations: 183.4 kB / 1.036 GB, free: 47.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.386e-05/0.7178, allocations: 124.9 kB / 1.036 GB, free: 47.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.7179, allocations: 109.1 kB / 1.036 GB, free: 47.43 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.7179, allocations: 185.6 kB / 1.036 GB, free: 47.24 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.919e-05/0.7179, allocations: 176.3 kB / 1.036 GB, free: 47.06 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.639e-05/0.718, allocations: 179.2 kB / 1.036 GB, free: 46.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.7181, allocations: 417.2 kB / 1.037 GB, free: 46.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.777e-05/0.7181, allocations: 107 kB / 1.037 GB, free: 46.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.779e-05/0.7182, allocations: 108.9 kB / 1.037 GB, free: 46.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.872e-05/0.7182, allocations: 180.1 kB / 1.037 GB, free: 46.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.7182, allocations: 178 kB / 1.037 GB, free: 45.85 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.964e-05/0.7183, allocations: 183.4 kB / 1.038 GB, free: 45.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.788e-05/0.7183, allocations: 180.5 kB / 1.038 GB, free: 45.48 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.484e-05/0.7184, allocations: 314.6 kB / 1.038 GB, free: 45.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.7184, allocations: 186.7 kB / 1.038 GB, free: 44.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.7185, allocations: 188.2 kB / 1.038 GB, free: 44.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.972e-05/0.7186, allocations: 101 kB / 1.038 GB, free: 44.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.7186, allocations: 184.2 kB / 1.039 GB, free: 44.47 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.7186, allocations: 109.9 kB / 1.039 GB, free: 44.36 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.09e-05/0.7187, allocations: 99.58 kB / 1.039 GB, free: 44.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.32e-07/0.7187, allocations: 0 / 1.039 GB, free: 44.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001254/0.72, allocations: 284 kB / 1.039 GB, free: 44.22 MB / 0.698 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 (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.001399/0.7214, allocations: 0.5457 MB / 1.04 GB, free: 43.95 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.7215, allocations: 45.06 kB / 1.04 GB, free: 43.91 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7215, allocations: 0 / 1.04 GB, free: 43.91 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.747e-06/0.7215, allocations: 1.875 kB / 1.04 GB, free: 43.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.7219, allocations: 0.5321 MB / 1.04 GB, free: 43.38 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.7223, allocations: 263 kB / 1.04 GB, free: 43.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.7225, allocations: 0.6905 MB / 1.041 GB, free: 42.47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.627e-05/0.7225, allocations: 0 / 1.041 GB, free: 42.47 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/0.7225, allocations: 7.438 kB / 1.041 GB, free: 42.46 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.7225, allocations: 0 / 1.041 GB, free: 42.46 MB / 0.698 GB Notification: Performance of Templates: time 0.011/0.7335, allocations: 5.579 MB / 1.047 GB, free: 42.04 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)