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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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.1.1-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 297.4 MB / 312.6 MB, free: 2.898 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.0009982/0.0009982, allocations: 192.9 kB / 382.3 MB, free: 14.77 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.424/1.424, allocations: 225.7 MB / 0.6617 GB, free: 7.168 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.0008672/0.0008669, allocations: 97.41 kB / 0.7789 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004418/0.0004418, allocations: 15.98 kB / 0.9059 GB, free: 4.781 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6814/0.6818, allocations: 119.2 MB / 1.022 GB, free: 57.79 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001596/0.6835, allocations: 1.157 MB / 1.023 GB, free: 57.23 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.00409/0.6876, allocations: 4.322 MB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.6876, allocations: 0.6562 kB / 1.028 GB, free: 53.71 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.026e-05/0.6877, allocations: 5.203 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.6877, allocations: 16.05 kB / 1.028 GB, free: 53.7 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/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.00333/0.6911, allocations: 1.965 MB / 1.03 GB, free: 52.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 5.97e-05/0.6911, allocations: 42.94 kB / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.6912, allocations: 3.625 kB / 1.03 GB, free: 52.33 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.469e-05/0.6912, allocations: 15.92 kB / 1.03 GB, free: 52.32 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.344e-05/0.6912, allocations: 10 kB / 1.03 GB, free: 52.32 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.6913, allocations: 3.875 kB / 1.03 GB, free: 52.32 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001851/0.6931, allocations: 1.422 MB / 1.031 GB, free: 51.9 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.6931, allocations: 6.969 kB / 1.031 GB, free: 51.9 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.6932, allocations: 42.97 kB / 1.031 GB, free: 51.86 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.6945, allocations: 1.136 MB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6945, allocations: 4 kB / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6945, allocations: 0 / 1.032 GB, free: 51.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.6945, allocations: 0 / 1.032 GB, free: 51.57 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.0004335/0.695, allocations: 0.5147 MB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.695, allocations: 8.438 kB / 1.033 GB, free: 51.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.6951, allocations: 84.03 kB / 1.033 GB, free: 51.01 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.6952, allocations: 247.5 kB / 1.033 GB, free: 50.73 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.6952, allocations: 160.9 kB / 1.033 GB, free: 50.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.6952, allocations: 150.9 kB / 1.033 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.173e-05/0.6953, allocations: 105.1 kB / 1.033 GB, free: 50.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.6953, allocations: 78.14 kB / 1.034 GB, free: 50.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.6953, allocations: 152.2 kB / 1.034 GB, free: 50.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.6954, allocations: 154.5 kB / 1.034 GB, free: 49.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.6954, allocations: 158.6 kB / 1.034 GB, free: 49.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.6956, allocations: 462.9 kB / 1.034 GB, free: 49.3 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.187e-05/0.6956, allocations: 166.7 kB / 1.035 GB, free: 49.13 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.531e-05/0.6957, allocations: 81.3 kB / 1.035 GB, free: 49.05 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.6957, allocations: 83.22 kB / 1.035 GB, free: 48.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.6957, allocations: 111.8 kB / 1.035 GB, free: 48.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/0.6957, allocations: 0 / 1.035 GB, free: 48.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.718e-05/0.6958, allocations: 42.47 kB / 1.035 GB, free: 48.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.6958, allocations: 126.7 kB / 1.035 GB, free: 48.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.6959, allocations: 133.4 kB / 1.035 GB, free: 48.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-06/0.696, allocations: 25.7 kB / 1.035 GB, free: 48.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.956e-05/0.696, allocations: 97.95 kB / 1.035 GB, free: 48.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.696, allocations: 1.188 kB / 1.035 GB, free: 48.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.696, allocations: 0 / 1.035 GB, free: 48.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.6961, allocations: 318.7 kB / 1.036 GB, free: 48.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.025e-05/0.6961, allocations: 6.219 kB / 1.036 GB, free: 48.11 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.391e-05/0.6961, allocations: 7.812 kB / 1.036 GB, free: 48.11 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.214e-05/0.6961, allocations: 14.61 kB / 1.036 GB, free: 48.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6961, allocations: 0 / 1.036 GB, free: 48.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001009/0.6962, allocations: 55.31 kB / 1.036 GB, free: 48.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.6963, allocations: 8.219 kB / 1.036 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.6963, allocations: 4.328 kB / 1.036 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.6963, allocations: 2.688 kB / 1.036 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.6963, allocations: 0 / 1.036 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.6963, allocations: 0 / 1.036 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.6963, allocations: 3.906 kB / 1.036 GB, free: 48.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.6964, allocations: 2.062 kB / 1.036 GB, free: 48.05 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 5.528e-05/0.6964, allocations: 185.2 kB / 1.036 GB, free: 47.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.6965, allocations: 121.5 kB / 1.036 GB, free: 47.74 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.487e-05/0.6965, allocations: 107.7 kB / 1.036 GB, free: 47.63 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.236e-05/0.6965, allocations: 187.2 kB / 1.036 GB, free: 47.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.257e-05/0.6966, allocations: 176.3 kB / 1.036 GB, free: 47.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-05/0.6966, allocations: 177.4 kB / 1.037 GB, free: 47.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001382/0.6967, allocations: 421 kB / 1.037 GB, free: 46.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.6967, allocations: 106.6 kB / 1.037 GB, free: 46.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/0.6968, allocations: 108.5 kB / 1.037 GB, free: 46.41 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.293e-05/0.6968, allocations: 180.9 kB / 1.037 GB, free: 46.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.6968, allocations: 179.6 kB / 1.038 GB, free: 46.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-05/0.6969, allocations: 188.3 kB / 1.038 GB, free: 45.86 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.419e-05/0.6969, allocations: 180.3 kB / 1.038 GB, free: 45.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.453e-05/0.6969, allocations: 310.1 kB / 1.038 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.697, allocations: 200.9 kB / 1.038 GB, free: 45.14 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.697, allocations: 180.8 kB / 1.039 GB, free: 44.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.502e-05/0.6971, allocations: 105.6 kB / 1.039 GB, free: 44.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.6971, allocations: 185.6 kB / 1.039 GB, free: 44.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.6972, allocations: 104 kB / 1.039 GB, free: 44.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.179e-05/0.6972, allocations: 105.9 kB / 1.039 GB, free: 44.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6972, allocations: 0 / 1.039 GB, free: 44.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006215/0.6978, allocations: 289.1 kB / 1.039 GB, free: 44.41 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.0009823/0.6988, allocations: 0.556 MB / 1.04 GB, free: 44.14 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.279e-05/0.6989, allocations: 43.16 kB / 1.04 GB, free: 44.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6989, allocations: 7.938 kB / 1.04 GB, free: 44.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.674e-06/0.6989, allocations: 0 / 1.04 GB, free: 44.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.6992, allocations: 0.5298 MB / 1.04 GB, free: 43.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.6995, allocations: 263.4 kB / 1.041 GB, free: 43.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.6996, allocations: 0.6847 MB / 1.041 GB, free: 42.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.514e-05/0.6996, allocations: 0 / 1.041 GB, free: 42.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.206e-06/0.6996, allocations: 9.938 kB / 1.041 GB, free: 42.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6996, allocations: 0 / 1.041 GB, free: 42.66 MB / 0.698 GB Notification: Performance of Templates: time 0.0086/0.7082, allocations: 5.787 MB / 1.047 GB, free: 42.21 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)