Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.486/2.486, allocations: 287.9 MB / 302.9 MB, free: 8.402 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001416/0.001416, allocations: 179.4 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.959/1.959, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.61 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004784/0.0004788, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1556, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06895/0.2246, allocations: 54.5 MB / 1.032 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02682/0.2515, allocations: 14.4 MB / 1.046 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002468/0.254, allocations: 51.69 kB / 1.046 GB, free: 7.027 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004268/0.2583, allocations: 1.083 MB / 1.047 GB, free: 5.941 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008242/0.2666, allocations: 2.226 MB / 1.049 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.2772, allocations: 2.756 MB / 1.052 GB, free: 1 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005816/0.283, allocations: 2.629 MB / 1.055 GB, free: 14.37 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/0.2854, allocations: 1.077 MB / 1.056 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003218/0.2886, allocations: 1.187 MB / 1.057 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.2907, allocations: 0.875 MB / 1.058 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003439/0.2911, allocations: 83.94 kB / 1.058 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005471/0.2966, allocations: 1.947 MB / 1.06 GB, free: 9.164 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006974/0.2973, allocations: 334.7 kB / 1.06 GB, free: 8.836 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0007374/0.2981, allocations: 404.8 kB / 1.06 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.006281/0.3044, allocations: 3.215 MB / 1.064 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.839e-06/0.3044, allocations: 0 / 1.064 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.982e-06/0.3044, allocations: 0 / 1.064 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.306e-05/0.3045, allocations: 0 / 1.064 GB, free: 5.211 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004501/0.309, allocations: 2.045 MB / 1.065 GB, free: 3.105 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.309, allocations: 8.031 kB / 1.066 GB, free: 3.098 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006872/0.3097, allocations: 213.5 kB / 1.066 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/0.3133, allocations: 1.403 MB / 1.067 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.3134, allocations: 86.08 kB / 1.067 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.3136, allocations: 116 kB / 1.067 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002575/0.3162, allocations: 1.085 MB / 1.068 GB, free: 88 kB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.106e-05/0.3163, allocations: 4 kB / 1.068 GB, free: 84 kB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.3164, allocations: 44 kB / 1.068 GB, free: 40 kB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.043e-05/0.3165, allocations: 24 kB / 1.068 GB, free: 16 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5214/0.8379, allocations: 0.8225 MB / 1.069 GB, free: 89.29 MB / 0.6823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.8488, allocations: 6.841 MB / 1.076 GB, free: 84.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.8504, allocations: 0.7398 MB / 1.077 GB, free: 83.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/0.8515, allocations: 1.277 MB / 1.078 GB, free: 82.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.8516, allocations: 43 kB / 1.078 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.836e-06/0.8516, allocations: 0.8438 kB / 1.078 GB, free: 82.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003313/0.855, allocations: 1.163 MB / 1.079 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.855, allocations: 89.94 kB / 1.079 GB, free: 81.56 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003225/0.8583, allocations: 1.528 MB / 1.081 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.8585, allocations: 42.67 kB / 1.081 GB, free: 80.92 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007136/0.8592, allocations: 0.7075 MB / 1.081 GB, free: 80.37 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/0.8595, allocations: 260.8 kB / 1.082 GB, free: 80.17 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.8596, allocations: 15.25 kB / 1.082 GB, free: 80.16 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.947e-05/0.8597, allocations: 342 kB / 1.082 GB, free: 79.84 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007056/0.8604, allocations: 276.1 kB / 1.082 GB, free: 79.74 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.8613, allocations: 490.5 kB / 1.083 GB, free: 79.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008508/0.8622, allocations: 362.3 kB / 1.083 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.8622, allocations: 1.672 kB / 1.083 GB, free: 79.24 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002717/0.865, allocations: 1.014 MB / 1.084 GB, free: 78.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003255/0.8653, allocations: 1.354 MB / 1.085 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.8654, allocations: 5.844 kB / 1.085 GB, free: 77.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003919/0.8658, allocations: 72.64 kB / 1.085 GB, free: 77.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8668, allocations: 192.2 kB / 1.086 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.8695, allocations: 2.994 MB / 1.089 GB, free: 74.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00235/0.8718, allocations: 155.4 kB / 1.089 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.8722, allocations: 38.81 kB / 1.089 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.8722, allocations: 4.094 kB / 1.089 GB, free: 74.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003882/0.8761, allocations: 0.8448 MB / 1.09 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.798e-05/0.8762, allocations: 5.75 kB / 1.09 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003751/0.8766, allocations: 61.64 kB / 1.09 GB, free: 73.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.8784, allocations: 198 kB / 1.09 GB, free: 73.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004092/0.8825, allocations: 2.966 MB / 1.093 GB, free: 71.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002664/0.8852, allocations: 146 kB / 1.093 GB, free: 70.94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/0.8856, allocations: 42.73 kB / 1.093 GB, free: 70.93 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001599/0.8872, allocations: 452.2 kB / 1.093 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007056/0.8879, allocations: 153.1 kB / 1.093 GB, free: 70.52 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/0.8923, allocations: 1.053 MB / 1.094 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.69e-05/0.8924, allocations: 9.406 kB / 1.094 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.8924, allocations: 2.594 kB / 1.094 GB, free: 70.06 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002697/0.8951, allocations: 0.7836 MB / 1.095 GB, free: 69.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.9058, allocations: 2.708 MB / 1.098 GB, free: 68.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.9058, allocations: 3.062 kB / 1.098 GB, free: 68.18 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/0.9072, allocations: 137.6 kB / 1.098 GB, free: 68.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.9077, allocations: 78.53 kB / 1.098 GB, free: 68.13 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.9078, allocations: 26.09 kB / 1.098 GB, free: 68.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003853/0.9117, allocations: 2.993 MB / 1.101 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.9118, allocations: 5.938 kB / 1.101 GB, free: 65.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004781/0.9166, allocations: 1.625 MB / 1.103 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001645/0.9183, allocations: 402.9 kB / 1.103 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005944/0.9189, allocations: 20.64 kB / 1.103 GB, free: 63.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.921, allocations: 51.05 kB / 1.103 GB, free: 63.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.9212, allocations: 69.25 kB / 1.103 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.9213, allocations: 30.92 kB / 1.103 GB, free: 63.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.003885/0.9252, allocations: 1.088 MB / 1.104 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.358e-06/0.9253, allocations: 1.781 kB / 1.104 GB, free: 63.32 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007076/0.9324, allocations: 1.088 MB / 1.105 GB, free: 63.16 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003704/0.9361, allocations: 0.8301 MB / 1.106 GB, free: 62.97 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005876/0.942, allocations: 1.69 MB / 1.108 GB, free: 62.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/0.9421, allocations: 1.188 kB / 1.108 GB, free: 62.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.9439, allocations: 0.5884 MB / 1.108 GB, free: 61.68 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008673/0.9526, allocations: 0.7981 MB / 1.109 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.9631, allocations: 3.462 MB / 1.112 GB, free: 59.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.9649, allocations: 1.305 MB / 1.114 GB, free: 58.59 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00352/0.9684, allocations: 383.3 kB / 1.114 GB, free: 58.51 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/0.9692, allocations: 120.9 kB / 1.114 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of SimCode: time 2.362e-06/0.9692, allocations: 1.188 kB / 1.114 GB, free: 58.5 MB / 0.6823 GB Notification: Performance of Templates: time 0.1337/1.103, allocations: 37.58 MB / 1.151 GB, free: 31.65 MB / 0.6823 GB