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.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.545/2.545, allocations: 287.9 MB / 302.9 MB, free: 8.316 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.001449/0.001449, allocations: 183.1 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 2.264/2.264, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001008/0.001008, allocations: 99.25 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007525/0.0007528, allocations: 16.41 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2287, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00416/0.2329, allocations: 3.266 MB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.236, allocations: 2.231 MB / 0.9842 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003281/0.2364, allocations: 12 kB / 0.9842 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.2377, allocations: 478.2 kB / 0.9846 GB, free: 22.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.2382, allocations: 247.3 kB / 0.9849 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.2385, allocations: 83.91 kB / 0.9849 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005814/0.2391, allocations: 0.5605 MB / 0.9855 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003789/0.2395, allocations: 245.4 kB / 0.9857 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2398, allocations: 239.1 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002657/0.24, allocations: 266.8 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.294e-05/0.2401, allocations: 32 kB / 0.9862 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.2402, allocations: 36 kB / 0.9863 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2404, allocations: 127.5 kB / 0.9864 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.2405, allocations: 153.4 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006361/0.2411, allocations: 0.7906 MB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.921e-06/0.2412, allocations: 4 kB / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.062e-06/0.2412, allocations: 0 / 0.9873 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.2412, allocations: 0 / 0.9873 GB, free: 19.37 MB / 0.6198 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.001189/0.2424, allocations: 0.845 MB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.2424, allocations: 12.02 kB / 0.9882 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.2426, allocations: 75.16 kB / 0.9882 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.2432, allocations: 444.6 kB / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2432, allocations: 33 kB / 0.9887 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.987e-05/0.2433, allocations: 55.94 kB / 0.9887 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.2442, allocations: 426.5 kB / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.2442, allocations: 0 / 0.9891 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.2443, allocations: 20 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.2443, allocations: 12 kB / 0.9892 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008487/0.2452, allocations: 371.8 kB / 0.9895 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002224/0.2474, allocations: 1.543 MB / 0.991 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000646/0.2481, allocations: 342.9 kB / 0.9914 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2481, allocations: 4 kB / 0.9914 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.2482, allocations: 35.25 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=42): time 2.968e-06/0.2482, allocations: 4 kB / 0.9914 GB, free: 15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42): time 0.001138/0.2493, allocations: 0.5058 MB / 0.9919 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.2494, allocations: 59.41 kB / 0.992 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.25, allocations: 481.9 kB / 0.9924 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.25, allocations: 30.47 kB / 0.9924 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.2502, allocations: 280.3 kB / 0.9927 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.2503, allocations: 145.8 kB / 0.9928 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.98e-05/0.2504, allocations: 8 kB / 0.9929 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.2505, allocations: 358.8 kB / 0.9932 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.2508, allocations: 132.7 kB / 0.9933 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002984/0.2511, allocations: 125.5 kB / 0.9934 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.2515, allocations: 146.5 kB / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2515, allocations: 0 / 0.9936 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008284/0.2523, allocations: 411.8 kB / 0.994 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.2523, allocations: 4 kB / 0.994 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.124e-06/0.2524, allocations: 0 / 0.994 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.87e-05/0.2524, allocations: 4 kB / 0.994 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005637/0.253, allocations: 131.8 kB / 0.9941 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.253, allocations: 4 kB / 0.9941 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.2533, allocations: 47.67 kB / 0.9942 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.755e-05/0.2534, allocations: 8 kB / 0.9942 GB, free: 12.11 MB / 0.6198 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.0002575/0.2536, allocations: 201.7 kB / 0.9944 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.2537, allocations: 59.28 kB / 0.9944 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.2539, allocations: 69.09 kB / 0.9945 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.474e-06/0.2539, allocations: 4 kB / 0.9945 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.918e-06/0.2539, allocations: 0 / 0.9945 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.313e-06/0.2539, allocations: 0 / 0.9945 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007058/0.2546, allocations: 0.571 MB / 0.995 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-06/0.2546, allocations: 0 / 0.995 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.2552, allocations: 131.9 kB / 0.9952 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.2553, allocations: 0 / 0.9952 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.292e-05/0.2553, allocations: 15.94 kB / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.131e-06/0.2553, allocations: 0 / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.612e-06/0.2553, allocations: 0 / 0.9952 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.2565, allocations: 0.6622 MB / 0.9958 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.2567, allocations: 140.3 kB / 0.996 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.2567, allocations: 8 kB / 0.996 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.2571, allocations: 31.88 kB / 0.996 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2572, allocations: 23.97 kB / 0.996 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.2572, allocations: 12 kB / 0.996 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004473/0.2576, allocations: 347.1 kB / 0.9964 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.88e-07/0.2577, allocations: 0 / 0.9964 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000495/0.2582, allocations: 143.6 kB / 0.9965 GB, free: 9.621 MB / 0.6198 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.0001187/0.2583, allocations: 111.2 kB / 0.9966 GB, free: 9.504 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007077/0.259, allocations: 336.4 kB / 0.9969 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.259, allocations: 0 / 0.9969 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003529/0.2594, allocations: 187.8 kB / 0.9971 GB, free: 8.992 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006692/0.2601, allocations: 115.5 kB / 0.9972 GB, free: 8.883 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2622, allocations: 1.441 MB / 0.9986 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.2625, allocations: 0.8785 MB / 0.9995 GB, free: 6.508 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002608/0.2628, allocations: 60.36 kB / 0.9995 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.2629, allocations: 35.44 kB / 0.9996 GB, free: 6.414 MB / 0.6198 GB Notification: Performance of SimCode: time 1.539e-06/0.2629, allocations: 4 kB / 0.9996 GB, free: 6.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.01316/0.2761, allocations: 5.371 MB / 1.005 GB, free: 1.168 MB / 0.6198 GB