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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_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 9.0.0-master/package.mo): time 1.685/1.685, allocations: 306.1 MB / 321.4 MB, free: 10.77 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.001046/0.001046, allocations: 183.5 kB / 393.1 MB, free: 4.09 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.698/1.698, allocations: 225.7 MB / 0.6743 GB, free: 12.64 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.0009022/0.0009025, allocations: 89.48 kB / 0.7935 GB, free: 40.2 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005626/0.0005627, allocations: 11.59 kB / 0.9225 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9666/0.9672, allocations: 121.3 MB / 1.041 GB, free: 58.94 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001745/0.969, allocations: 1.148 MB / 1.042 GB, free: 58.18 MB / 0.698 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.005042/0.9741, allocations: 4.212 MB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.431e-05/0.9742, allocations: 0 / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.522e-05/0.9742, allocations: 4 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.883e-05/0.9743, allocations: 10.73 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004115/0.9785, allocations: 1.884 MB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.9786, allocations: 41.91 kB / 1.048 GB, free: 53.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.018e-05/0.9786, allocations: 2.812 kB / 1.048 GB, free: 53.21 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 3.861e-05/0.9787, allocations: 17.64 kB / 1.048 GB, free: 53.21 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.051e-05/0.9787, allocations: 19.03 kB / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.9787, allocations: 0 / 1.048 GB, free: 53.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.9813, allocations: 1.355 MB / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.523e-05/0.9814, allocations: 0 / 1.049 GB, free: 52.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.9814, allocations: 50.7 kB / 1.049 GB, free: 52.76 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002138/0.9836, allocations: 1.085 MB / 1.051 GB, free: 52.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.9836, allocations: 0.5 kB / 1.051 GB, free: 52.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.334e-06/0.9836, allocations: 2.906 kB / 1.051 GB, free: 52.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.9836, allocations: 0 / 1.051 GB, free: 52.48 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.0007476/0.9844, allocations: 0.4972 MB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9844, allocations: 9.969 kB / 1.051 GB, free: 52.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.003e-05/0.9845, allocations: 96.03 kB / 1.051 GB, free: 51.92 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.9846, allocations: 243.2 kB / 1.051 GB, free: 51.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.148e-05/0.9846, allocations: 152.1 kB / 1.051 GB, free: 51.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.9847, allocations: 154.6 kB / 1.052 GB, free: 51.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.52e-05/0.9847, allocations: 112.9 kB / 1.052 GB, free: 51.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.9847, allocations: 75.28 kB / 1.052 GB, free: 51.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.768e-05/0.9848, allocations: 155.7 kB / 1.052 GB, free: 51.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.9848, allocations: 150.6 kB / 1.052 GB, free: 50.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.583e-05/0.9848, allocations: 154.6 kB / 1.052 GB, free: 50.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.985, allocations: 455.2 kB / 1.053 GB, free: 50.23 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.72e-05/0.9851, allocations: 178.2 kB / 1.053 GB, free: 50.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.9851, allocations: 80.14 kB / 1.053 GB, free: 49.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.9851, allocations: 77.16 kB / 1.053 GB, free: 49.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.9852, allocations: 109.8 kB / 1.053 GB, free: 49.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.9852, allocations: 0 / 1.053 GB, free: 49.77 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.962e-05/0.9853, allocations: 37 kB / 1.053 GB, free: 49.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.9853, allocations: 130.7 kB / 1.053 GB, free: 49.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.9854, allocations: 136.7 kB / 1.053 GB, free: 49.48 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.9854, allocations: 25.7 kB / 1.053 GB, free: 49.45 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.9855, allocations: 96.53 kB / 1.054 GB, free: 49.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.9855, allocations: 0 / 1.054 GB, free: 49.35 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.9855, allocations: 0 / 1.054 GB, free: 49.35 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.842e-05/0.9856, allocations: 321.1 kB / 1.054 GB, free: 49.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.253e-05/0.9856, allocations: 0.875 kB / 1.054 GB, free: 49.04 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.696e-05/0.9856, allocations: 12.7 kB / 1.054 GB, free: 49.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.9857, allocations: 10.22 kB / 1.054 GB, free: 49.02 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.9857, allocations: 3.938 kB / 1.054 GB, free: 49.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001215/0.9858, allocations: 47.38 kB / 1.054 GB, free: 48.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9858, allocations: 6.938 kB / 1.054 GB, free: 48.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.9858, allocations: 7.422 kB / 1.054 GB, free: 48.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.9859, allocations: 1.094 kB / 1.054 GB, free: 48.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.9859, allocations: 3.938 kB / 1.054 GB, free: 48.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.9859, allocations: 3.438 kB / 1.054 GB, free: 48.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.525e-05/0.9859, allocations: 5.078 kB / 1.054 GB, free: 48.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.9859, allocations: 4.062 kB / 1.054 GB, free: 48.96 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 6.816e-05/0.986, allocations: 184 kB / 1.054 GB, free: 48.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.9861, allocations: 111.1 kB / 1.054 GB, free: 48.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.147e-05/0.9861, allocations: 113.5 kB / 1.054 GB, free: 48.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.068e-05/0.9861, allocations: 182.5 kB / 1.054 GB, free: 48.37 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.055e-05/0.9862, allocations: 184.3 kB / 1.055 GB, free: 48.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.18e-05/0.9862, allocations: 180.2 kB / 1.055 GB, free: 48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.9864, allocations: 413.3 kB / 1.055 GB, free: 47.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/0.9864, allocations: 114.7 kB / 1.055 GB, free: 47.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.9864, allocations: 104.1 kB / 1.055 GB, free: 47.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.913e-05/0.9865, allocations: 184.3 kB / 1.056 GB, free: 47.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.9865, allocations: 184.9 kB / 1.056 GB, free: 46.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-05/0.9865, allocations: 179.5 kB / 1.056 GB, free: 46.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-05/0.9866, allocations: 180.2 kB / 1.056 GB, free: 46.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.112e-05/0.9866, allocations: 308.3 kB / 1.056 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.9867, allocations: 200.2 kB / 1.057 GB, free: 46.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/0.9867, allocations: 180.3 kB / 1.057 GB, free: 45.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.901e-05/0.9868, allocations: 105.7 kB / 1.057 GB, free: 45.77 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.9869, allocations: 178.8 kB / 1.057 GB, free: 45.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.9869, allocations: 101 kB / 1.057 GB, free: 45.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.9869, allocations: 100.5 kB / 1.057 GB, free: 45.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9869, allocations: 2.625 kB / 1.057 GB, free: 45.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008986/0.9878, allocations: 284.8 kB / 1.058 GB, free: 45.33 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.001357/0.9892, allocations: 0.5236 MB / 1.058 GB, free: 45.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.9893, allocations: 36.42 kB / 1.058 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9893, allocations: 0 / 1.058 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.843e-06/0.9893, allocations: 0 / 1.058 GB, free: 45.04 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.9897, allocations: 0.5342 MB / 1.059 GB, free: 44.51 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.99, allocations: 254.3 kB / 1.059 GB, free: 44.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.9901, allocations: 0.6841 MB / 1.06 GB, free: 43.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.9901, allocations: 2.688 kB / 1.06 GB, free: 43.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.9902, allocations: 7.438 kB / 1.06 GB, free: 43.59 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/0.9902, allocations: 0 / 1.06 GB, free: 43.59 MB / 0.698 GB Notification: Performance of Templates: time 0.01088/1.001, allocations: 5.455 MB / 1.065 GB, free: 43.2 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)