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.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.361/2.361, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001522/0.001522, allocations: 184 kB / 325.6 MB, free: 2.816 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.522/2.522, allocations: 205.4 MB / 0.5766 GB, free: 20.73 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.001165/0.001164, allocations: 96.34 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004856, allocations: 12 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2138, allocations: 106.3 MB / 0.8989 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004713/0.2186, allocations: 3.281 MB / 0.9021 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003991/0.2226, allocations: 2.227 MB / 0.9043 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005448/0.2232, allocations: 11.94 kB / 0.9043 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002062/0.2253, allocations: 482.2 kB / 0.9048 GB, free: 59.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0008998/0.2263, allocations: 247.4 kB / 0.905 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000358/0.2266, allocations: 83.92 kB / 0.9051 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.2278, allocations: 0.5645 MB / 0.9056 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005156/0.2284, allocations: 245.5 kB / 0.9059 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004501/0.2289, allocations: 235.1 kB / 0.9061 GB, free: 58.04 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.2292, allocations: 262.9 kB / 0.9064 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.316e-05/0.2293, allocations: 36 kB / 0.9064 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.2294, allocations: 40 kB / 0.9064 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.2296, allocations: 115.5 kB / 0.9065 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.2297, allocations: 161.4 kB / 0.9067 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000814/0.2306, allocations: 0.7829 MB / 0.9075 GB, free: 56.65 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2306, allocations: 3.938 kB / 0.9075 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.225e-06/0.2306, allocations: 0 / 0.9075 GB, free: 56.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.2306, allocations: 0 / 0.9075 GB, free: 56.64 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001756/0.2324, allocations: 0.845 MB / 0.9083 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.2324, allocations: 8.031 kB / 0.9083 GB, free: 55.74 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.2326, allocations: 83.02 kB / 0.9084 GB, free: 55.66 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007348/0.2334, allocations: 440.8 kB / 0.9088 GB, free: 55.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.352e-05/0.2334, allocations: 37 kB / 0.9088 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.2335, allocations: 48 kB / 0.9089 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2346, allocations: 422.5 kB / 0.9093 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.2347, allocations: 7.906 kB / 0.9093 GB, free: 54.67 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.2348, allocations: 20 kB / 0.9093 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.2348, allocations: 16 kB / 0.9093 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2359, allocations: 367.8 kB / 0.9097 GB, free: 54.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.2388, allocations: 1.551 MB / 0.9112 GB, free: 52.66 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007912/0.2397, allocations: 335 kB / 0.9115 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.2398, allocations: 12 kB / 0.9115 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.2398, allocations: 35.25 kB / 0.9115 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.336e-06/0.2398, allocations: 0 / 0.9115 GB, free: 52.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.001451/0.2413, allocations: 0.5081 MB / 0.912 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/0.2413, allocations: 55.41 kB / 0.9121 GB, free: 51.68 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/0.2421, allocations: 481.9 kB / 0.9126 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.2421, allocations: 33.7 kB / 0.9126 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.2423, allocations: 276.4 kB / 0.9128 GB, free: 50.89 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.2425, allocations: 145.8 kB / 0.913 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.49e-05/0.2425, allocations: 7.938 kB / 0.913 GB, free: 50.74 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2426, allocations: 366.8 kB / 0.9133 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.243, allocations: 124.7 kB / 0.9135 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003802/0.2434, allocations: 133.2 kB / 0.9136 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004661/0.2439, allocations: 145.9 kB / 0.9137 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2439, allocations: 0 / 0.9137 GB, free: 49.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001038/0.245, allocations: 412.5 kB / 0.9141 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.245, allocations: 6.188 kB / 0.9141 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.245, allocations: 0 / 0.9141 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.2451, allocations: 4 kB / 0.9141 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008933/0.246, allocations: 128.6 kB / 0.9143 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.246, allocations: 0 / 0.9143 GB, free: 49.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004852/0.2465, allocations: 55.56 kB / 0.9143 GB, free: 49.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.2465, allocations: 12 kB / 0.9143 GB, free: 49.37 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0003219/0.2469, allocations: 193.8 kB / 0.9145 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.247, allocations: 55.38 kB / 0.9146 GB, free: 49.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.2471, allocations: 57.11 kB / 0.9146 GB, free: 49.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.2472, allocations: 7.938 kB / 0.9146 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2472, allocations: 0 / 0.9146 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2472, allocations: 3.984 kB / 0.9146 GB, free: 49.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000851/0.248, allocations: 0.5749 MB / 0.9152 GB, free: 48.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2481, allocations: 7.984 kB / 0.9152 GB, free: 48.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/0.2491, allocations: 127.9 kB / 0.9153 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.2491, allocations: 3.953 kB / 0.9153 GB, free: 48.29 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.2491, allocations: 15.98 kB / 0.9153 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.2492, allocations: 0 / 0.9153 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2492, allocations: 0 / 0.9153 GB, free: 48.27 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.2506, allocations: 0.6671 MB / 0.916 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.2508, allocations: 132.5 kB / 0.9161 GB, free: 47.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.251, allocations: 15.95 kB / 0.9161 GB, free: 47.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.2514, allocations: 27.89 kB / 0.9162 GB, free: 47.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.2515, allocations: 23.97 kB / 0.9162 GB, free: 47.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.2515, allocations: 8 kB / 0.9162 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005607/0.2521, allocations: 351.1 kB / 0.9165 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.31e-07/0.2521, allocations: 0 / 0.9165 GB, free: 47.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000594/0.2527, allocations: 139.6 kB / 0.9167 GB, free: 46.89 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001568/0.2529, allocations: 120.6 kB / 0.9168 GB, free: 46.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009551/0.2539, allocations: 331.5 kB / 0.9171 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.2539, allocations: 4 kB / 0.9171 GB, free: 46.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.2544, allocations: 179.8 kB / 0.9173 GB, free: 46.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009659/0.2553, allocations: 113.8 kB / 0.9174 GB, free: 46.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.2581, allocations: 1.433 MB / 0.9188 GB, free: 44.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.2585, allocations: 0.8902 MB / 0.9196 GB, free: 43.76 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003537/0.2589, allocations: 52.34 kB / 0.9197 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.2591, allocations: 35.44 kB / 0.9197 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of SimCode: time 1.273e-06/0.2591, allocations: 0 / 0.9197 GB, free: 43.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.01623/0.2753, allocations: 5.373 MB / 0.925 GB, free: 38.43 MB / 0.6042 GB