Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/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_latest_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_latest_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 9.0.0-master/package.mo): time 1.937/1.937, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.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.001216/0.001216, allocations: 183.2 kB / 393.1 MB, free: 4.086 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.414/1.414, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008172/0.0008174, allocations: 87.05 kB / 0.7935 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003614, allocations: 8 kB / 0.9225 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5949/0.5953, allocations: 121.3 MB / 1.041 GB, free: 58.11 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001461/0.5968, allocations: 1.155 MB / 1.042 GB, free: 57.37 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.004059/0.6009, allocations: 4.253 MB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.888e-05/0.601, allocations: 3.938 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.601, allocations: 5.906 kB / 1.046 GB, free: 53.73 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.994e-05/0.6011, allocations: 12.62 kB / 1.046 GB, free: 53.72 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00325/0.6043, allocations: 1.902 MB / 1.048 GB, free: 52.39 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.019e-05/0.6044, allocations: 45.31 kB / 1.048 GB, free: 52.37 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.6045, allocations: 7.859 kB / 1.048 GB, free: 52.37 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.6045, allocations: 9.844 kB / 1.048 GB, free: 52.37 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 2.966e-05/0.6045, allocations: 17.03 kB / 1.048 GB, free: 52.36 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.6046, allocations: 1.781 kB / 1.048 GB, free: 52.36 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.6066, allocations: 1.395 MB / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.6067, allocations: 7.938 kB / 1.05 GB, free: 51.95 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.6067, allocations: 44.06 kB / 1.05 GB, free: 51.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.6081, allocations: 1.113 MB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.6081, allocations: 0.5312 kB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6081, allocations: 0.5625 kB / 1.051 GB, free: 51.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.6081, allocations: 0 / 1.051 GB, free: 51.62 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.000452/0.6086, allocations: 0.5121 MB / 1.051 GB, free: 51.14 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.6086, allocations: 8.969 kB / 1.051 GB, free: 51.14 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.6087, allocations: 85.02 kB / 1.051 GB, free: 51.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.864e-05/0.6088, allocations: 252.2 kB / 1.051 GB, free: 50.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.6088, allocations: 151.5 kB / 1.052 GB, free: 50.63 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.6088, allocations: 156.3 kB / 1.052 GB, free: 50.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.905e-05/0.6089, allocations: 109.8 kB / 1.052 GB, free: 50.37 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.6089, allocations: 76.53 kB / 1.052 GB, free: 50.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.609, allocations: 150.6 kB / 1.052 GB, free: 50.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.609, allocations: 154.6 kB / 1.052 GB, free: 49.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.263e-05/0.609, allocations: 155.4 kB / 1.052 GB, free: 49.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/0.6092, allocations: 464.9 kB / 1.053 GB, free: 49.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.394e-05/0.6093, allocations: 169.1 kB / 1.053 GB, free: 49.18 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.811e-05/0.6093, allocations: 85.17 kB / 1.053 GB, free: 49.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.232e-05/0.6093, allocations: 75.28 kB / 1.053 GB, free: 49.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.6093, allocations: 114.7 kB / 1.053 GB, free: 48.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6093, allocations: 3.938 kB / 1.053 GB, free: 48.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.472e-05/0.6094, allocations: 31.92 kB / 1.053 GB, free: 48.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.6094, allocations: 132.2 kB / 1.053 GB, free: 48.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.6096, allocations: 141.1 kB / 1.054 GB, free: 48.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.6096, allocations: 25.7 kB / 1.054 GB, free: 48.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.156e-05/0.6096, allocations: 95.16 kB / 1.054 GB, free: 48.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.6096, allocations: 0 / 1.054 GB, free: 48.48 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.6096, allocations: 0 / 1.054 GB, free: 48.48 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.764e-05/0.6097, allocations: 316.9 kB / 1.054 GB, free: 48.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.6097, allocations: 3.438 kB / 1.054 GB, free: 48.16 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.578e-05/0.6097, allocations: 7.844 kB / 1.054 GB, free: 48.16 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.6098, allocations: 11.11 kB / 1.054 GB, free: 48.15 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.6098, allocations: 4.031 kB / 1.054 GB, free: 48.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001181/0.6099, allocations: 60.58 kB / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.6099, allocations: 3.812 kB / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.6099, allocations: 1.906 kB / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6099, allocations: 0.75 kB / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.983e-06/0.61, allocations: 8.719 kB / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.61, allocations: 0 / 1.054 GB, free: 48.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.61, allocations: 4.75 kB / 1.054 GB, free: 48.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.61, allocations: 2.844 kB / 1.054 GB, free: 48.09 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.466e-05/0.6101, allocations: 185.2 kB / 1.054 GB, free: 47.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.6101, allocations: 113.3 kB / 1.054 GB, free: 47.79 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.9e-05/0.6101, allocations: 106.9 kB / 1.054 GB, free: 47.68 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.6102, allocations: 188.1 kB / 1.055 GB, free: 47.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.6102, allocations: 176.3 kB / 1.055 GB, free: 47.32 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.527e-05/0.6102, allocations: 187.4 kB / 1.055 GB, free: 47.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.6104, allocations: 407.5 kB / 1.055 GB, free: 46.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.6104, allocations: 110.5 kB / 1.055 GB, free: 46.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.606e-05/0.6104, allocations: 114.5 kB / 1.056 GB, free: 46.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.503e-05/0.6104, allocations: 176.8 kB / 1.056 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/0.6105, allocations: 186.1 kB / 1.056 GB, free: 46.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.37e-05/0.6105, allocations: 180.3 kB / 1.056 GB, free: 45.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.413e-05/0.6105, allocations: 180.2 kB / 1.056 GB, free: 45.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.696e-05/0.6106, allocations: 306.6 kB / 1.057 GB, free: 45.41 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.6106, allocations: 189.9 kB / 1.057 GB, free: 45.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.546e-05/0.6107, allocations: 186 kB / 1.057 GB, free: 45.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.845e-05/0.6108, allocations: 107 kB / 1.057 GB, free: 44.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.911e-05/0.6108, allocations: 185.2 kB / 1.057 GB, free: 44.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-05/0.6108, allocations: 101 kB / 1.057 GB, free: 44.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.791e-05/0.6108, allocations: 104.5 kB / 1.057 GB, free: 44.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6109, allocations: 0 / 1.057 GB, free: 44.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000684/0.6115, allocations: 279 kB / 1.058 GB, free: 44.47 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.0009949/0.6125, allocations: 0.5445 MB / 1.058 GB, free: 44.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.601e-05/0.6126, allocations: 42.11 kB / 1.058 GB, free: 44.17 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6127, allocations: 3.938 kB / 1.058 GB, free: 44.16 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.6127, allocations: 1.625 kB / 1.058 GB, free: 44.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.6131, allocations: 0.5316 MB / 1.059 GB, free: 43.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.6134, allocations: 259.5 kB / 1.059 GB, free: 43.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.6135, allocations: 0.6842 MB / 1.06 GB, free: 42.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.554e-05/0.6135, allocations: 4.719 kB / 1.06 GB, free: 42.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.258e-05/0.6136, allocations: 9.375 kB / 1.06 GB, free: 42.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.11e-07/0.6136, allocations: 0 / 1.06 GB, free: 42.71 MB / 0.698 GB Notification: Performance of Templates: time 0.0109/0.6245, allocations: 5.662 MB / 1.065 GB, free: 42.31 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)