Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 102.6 kB / 16.37 MB, free: 6.426 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 192.5 kB / 17.31 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.797/1.797, allocations: 292.3 MB / 0.5496 GB, free: 17.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002556/0.002557, allocations: 67.91 kB / 0.673 GB, free: 5.805 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2561, allocations: 114.5 MB / 0.7848 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.3857/0.6419, allocations: 4.155 MB / 0.7889 GB, free: 46.61 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003691/0.6457, allocations: 2.45 MB / 0.7913 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006746/0.6465, allocations: 10.5 kB / 0.7913 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001965/0.6484, allocations: 0.5383 MB / 0.7918 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000931/0.6494, allocations: 250.5 kB / 0.792 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003974/0.6498, allocations: 137.5 kB / 0.7922 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.651, allocations: 0.8148 MB / 0.793 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005912/0.6516, allocations: 328.8 kB / 0.7933 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005691/0.6522, allocations: 295.7 kB / 0.7936 GB, free: 45.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005902/0.6528, allocations: 323.2 kB / 0.7939 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.653, allocations: 80.97 kB / 0.794 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000249/0.6532, allocations: 74.84 kB / 0.794 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001854/0.6534, allocations: 171.2 kB / 0.7942 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005549/0.654, allocations: 385.7 kB / 0.7946 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0009638/0.6549, allocations: 0.9889 MB / 0.7955 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.655, allocations: 2 kB / 0.7955 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.655, allocations: 0 / 0.7955 GB, free: 45.23 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.438e-05/0.655, allocations: 0 / 0.7955 GB, free: 45.23 MB / 0.6544 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.001692/0.6567, allocations: 0.9513 MB / 0.7965 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.6568, allocations: 10.47 kB / 0.7965 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.6569, allocations: 82.97 kB / 0.7965 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.6575, allocations: 462.4 kB / 0.797 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.6575, allocations: 36.09 kB / 0.797 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/0.6576, allocations: 50.44 kB / 0.7971 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006971/0.6583, allocations: 424.6 kB / 0.7975 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6583, allocations: 3.75 kB / 0.7975 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.6583, allocations: 22.94 kB / 0.7975 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6584, allocations: 11.22 kB / 0.7975 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006292/0.659, allocations: 362.3 kB / 0.7979 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.6609, allocations: 1.52 MB / 0.7993 GB, free: 43.38 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.6614, allocations: 339.3 kB / 0.7997 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.6618, allocations: 317.2 kB / 0.8 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.6619, allocations: 7.688 kB / 0.8 GB, free: 43.11 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.6619, allocations: 38.5 kB / 0.8 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 2.514e-06/0.6619, allocations: 2.578 kB / 0.8 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.000949/0.6629, allocations: 0.4995 MB / 0.8005 GB, free: 42.84 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.6629, allocations: 55.78 kB / 0.8006 GB, free: 42.77 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005454/0.6635, allocations: 488.8 kB / 0.801 GB, free: 42.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.6635, allocations: 29.7 kB / 0.801 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.6637, allocations: 279.4 kB / 0.8013 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.015e-05/0.6638, allocations: 142.1 kB / 0.8014 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.214e-05/0.6639, allocations: 63 kB / 0.8015 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/0.664, allocations: 358.4 kB / 0.8019 GB, free: 41.8 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.6642, allocations: 125.2 kB / 0.802 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.6644, allocations: 131.7 kB / 0.8021 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.6649, allocations: 297.5 kB / 0.8024 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.6649, allocations: 0 / 0.8024 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00062/0.6656, allocations: 396.2 kB / 0.8028 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6656, allocations: 9.469 kB / 0.8028 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6656, allocations: 0 / 0.8028 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.6656, allocations: 4.531 kB / 0.8028 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/0.6662, allocations: 121.4 kB / 0.8029 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.6662, allocations: 2.312 kB / 0.8029 GB, free: 41.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.6664, allocations: 37.59 kB / 0.8029 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.6665, allocations: 11.34 kB / 0.8029 GB, free: 41.34 MB / 0.6544 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/0.6667, allocations: 196.5 kB / 0.8031 GB, free: 41.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.6668, allocations: 55.25 kB / 0.8032 GB, free: 41.15 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.6669, allocations: 62.59 kB / 0.8032 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.6669, allocations: 4.719 kB / 0.8032 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.6669, allocations: 1.453 kB / 0.8032 GB, free: 41.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.6669, allocations: 6.047 kB / 0.8032 GB, free: 41.1 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007008/0.6676, allocations: 0.5696 MB / 0.8038 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.6676, allocations: 1.922 kB / 0.8038 GB, free: 40.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000533/0.6682, allocations: 132.6 kB / 0.8039 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6682, allocations: 1.031 kB / 0.8039 GB, free: 40.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.446e-05/0.6682, allocations: 11.34 kB / 0.8039 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.6682, allocations: 0.7812 kB / 0.8039 GB, free: 40.72 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6682, allocations: 6.75 kB / 0.8039 GB, free: 40.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/0.6692, allocations: 0.6405 MB / 0.8046 GB, free: 40.37 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6693, allocations: 145.4 kB / 0.8047 GB, free: 40.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.118e-05/0.6694, allocations: 7.984 kB / 0.8047 GB, free: 40.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002227/0.6696, allocations: 14.61 kB / 0.8047 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.6697, allocations: 21.11 kB / 0.8048 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.6697, allocations: 10.69 kB / 0.8048 GB, free: 40.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0004575/0.6702, allocations: 353.4 kB / 0.8051 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6702, allocations: 0.7188 kB / 0.8051 GB, free: 40.05 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004609/0.6707, allocations: 140.8 kB / 0.8052 GB, free: 40.02 MB / 0.6544 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 (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.0001396/0.6708, allocations: 121.2 kB / 0.8054 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006424/0.6715, allocations: 326 kB / 0.8057 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6715, allocations: 4 kB / 0.8057 GB, free: 39.8 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0003054/0.6718, allocations: 175.8 kB / 0.8058 GB, free: 39.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.6725, allocations: 124.9 kB / 0.806 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002049/0.6745, allocations: 1.225 MB / 0.8072 GB, free: 38.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.6749, allocations: 0.8677 MB / 0.808 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.6751, allocations: 38.47 kB / 0.808 GB, free: 38.27 MB / 0.6544 GB Notification: Performance of SimCode: time 2.61e-07/0.6751, allocations: 3.938 kB / 0.808 GB, free: 38.26 MB / 0.6544 GB Notification: Performance of Templates: time 0.01572/0.6908, allocations: 6.84 MB / 0.8147 GB, free: 37.65 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)