Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.186/2.186, allocations: 251.1 MB / 266.1 MB, free: 11.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 195.5 kB / 325.6 MB, free: 2.797 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.553/2.553, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 100.5 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006709/0.0006712, allocations: 15.91 kB / 0.7952 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2108, allocations: 106.3 MB / 0.8989 GB, free: 65.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001628/0.2125, allocations: 1.13 MB / 0.9 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004697/0.2172, allocations: 2.694 MB / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.584e-05/0.2173, allocations: 0 / 0.9027 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.2173, allocations: 7.922 kB / 0.9027 GB, free: 62.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.074e-05/0.2174, allocations: 11.97 kB / 0.9027 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004388/0.2218, allocations: 1.311 MB / 0.904 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.964e-05/0.2219, allocations: 39.88 kB / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.222, allocations: 0 / 0.904 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.222, allocations: 11.94 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.188e-05/0.222, allocations: 15.92 kB / 0.904 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.2221, allocations: 4 kB / 0.904 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00226/0.2243, allocations: 1.209 MB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.2244, allocations: 4 kB / 0.9052 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.2244, allocations: 37.64 kB / 0.9053 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00127/0.2257, allocations: 0.7331 MB / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2257, allocations: 0 / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2257, allocations: 0 / 0.906 GB, free: 58.66 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.2257, allocations: 0 / 0.906 GB, free: 58.66 MB / 0.6042 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.0005811/0.2263, allocations: 0.5119 MB / 0.9065 GB, free: 58.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.2264, allocations: 8.031 kB / 0.9065 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.2264, allocations: 83.19 kB / 0.9066 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2265, allocations: 254.2 kB / 0.9068 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.344e-05/0.2266, allocations: 154.6 kB / 0.9069 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.701e-05/0.2266, allocations: 150.6 kB / 0.9071 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.941e-05/0.2267, allocations: 108.9 kB / 0.9072 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.2267, allocations: 83.2 kB / 0.9073 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.2268, allocations: 150.6 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.87e-05/0.2268, allocations: 158.5 kB / 0.9076 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.862e-05/0.2268, allocations: 150.6 kB / 0.9077 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000235/0.2271, allocations: 465.9 kB / 0.9082 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.309e-05/0.2271, allocations: 169.1 kB / 0.9083 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.2272, allocations: 79.28 kB / 0.9084 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.2272, allocations: 117.8 kB / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.713e-06/0.2272, allocations: 0 / 0.9085 GB, free: 55.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 0.0001028/0.2273, allocations: 29.61 kB / 0.9085 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2274, allocations: 130.7 kB / 0.9087 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2275, allocations: 136.5 kB / 0.9088 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.2275, allocations: 25.7 kB / 0.9088 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.2276, allocations: 92.12 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.2276, allocations: 4 kB / 0.9089 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.2276, allocations: 3.938 kB / 0.9089 GB, free: 55.44 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.2277, allocations: 314.8 kB / 0.9092 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.069e-05/0.2277, allocations: 4 kB / 0.9092 GB, free: 55.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.256e-05/0.2278, allocations: 8 kB / 0.9092 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.344e-05/0.2278, allocations: 4 kB / 0.9092 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2278, allocations: 0 / 0.9092 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001357/0.228, allocations: 53.59 kB / 0.9093 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.228, allocations: 4 kB / 0.9093 GB, free: 55.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.228, allocations: 8.062 kB / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.228, allocations: 0 / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.806e-06/0.228, allocations: 0 / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.2281, allocations: 0 / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.32e-05/0.2281, allocations: 3.953 kB / 0.9093 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.2281, allocations: 12.06 kB / 0.9093 GB, free: 55.02 MB / 0.6042 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.94e-05/0.2282, allocations: 181.1 kB / 0.9095 GB, free: 54.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.064e-05/0.2283, allocations: 116.8 kB / 0.9096 GB, free: 54.71 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.138e-05/0.2283, allocations: 108.9 kB / 0.9097 GB, free: 54.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.33e-05/0.2283, allocations: 184.2 kB / 0.9099 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.478e-05/0.2284, allocations: 180.3 kB / 0.91 GB, free: 54.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.308e-05/0.2284, allocations: 180.2 kB / 0.9102 GB, free: 54.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001731/0.2286, allocations: 421.1 kB / 0.9106 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/0.2286, allocations: 108.9 kB / 0.9107 GB, free: 53.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.2287, allocations: 109 kB / 0.9108 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-05/0.2287, allocations: 180.3 kB / 0.911 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.2288, allocations: 184.2 kB / 0.9112 GB, free: 52.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.265e-05/0.2288, allocations: 180.2 kB / 0.9113 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.127e-05/0.2288, allocations: 176.3 kB / 0.9115 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.317e-05/0.2289, allocations: 315.6 kB / 0.9118 GB, free: 52.28 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/0.229, allocations: 193.9 kB / 0.912 GB, free: 52.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.2291, allocations: 176.3 kB / 0.9122 GB, free: 51.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.2291, allocations: 105 kB / 0.9123 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.2292, allocations: 188.1 kB / 0.9124 GB, free: 51.59 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.2292, allocations: 109 kB / 0.9125 GB, free: 51.47 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.61e-05/0.2293, allocations: 96.52 kB / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2293, allocations: 0 / 0.9126 GB, free: 51.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009109/0.2302, allocations: 279.8 kB / 0.9129 GB, free: 51.11 MB / 0.6042 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.001348/0.2316, allocations: 0.5109 MB / 0.9134 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.2317, allocations: 53.62 kB / 0.9135 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2317, allocations: 0 / 0.9135 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.2317, allocations: 0 / 0.9135 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.232, allocations: 0.5263 MB / 0.914 GB, free: 50 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002801/0.2323, allocations: 256.2 kB / 0.9142 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.2325, allocations: 0.6848 MB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.645e-05/0.2325, allocations: 3.984 kB / 0.9149 GB, free: 49.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.111e-05/0.2325, allocations: 11.44 kB / 0.9149 GB, free: 49 MB / 0.6042 GB Notification: Performance of SimCode: time 7.31e-07/0.2325, allocations: 4 kB / 0.9149 GB, free: 49 MB / 0.6042 GB Notification: Performance of Templates: time 0.01277/0.2453, allocations: 5.71 MB / 0.9205 GB, free: 43.34 MB / 0.6042 GB