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.00128/0.00128, allocations: 105 kB / 16.36 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.001349/0.001349, allocations: 195.5 kB / 17.3 MB, free: 5.801 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.755/1.755, allocations: 292.3 MB / 0.5496 GB, free: 17.6 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.001409/0.001409, allocations: 75.89 kB / 0.673 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1908, allocations: 114.5 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.3366/0.5274, allocations: 4.142 MB / 0.7889 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002589/0.5301, allocations: 2.446 MB / 0.7913 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.5303, allocations: 13.53 kB / 0.7913 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.5316, allocations: 0.5405 MB / 0.7918 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0003488/0.532, allocations: 245.5 kB / 0.792 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.5321, allocations: 137 kB / 0.7922 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.5327, allocations: 0.8147 MB / 0.793 GB, free: 45.56 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003604/0.5331, allocations: 330.5 kB / 0.7933 GB, free: 45.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.5333, allocations: 293.1 kB / 0.7935 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.5336, allocations: 333.8 kB / 0.7939 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.318e-05/0.5337, allocations: 75.25 kB / 0.7939 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.5338, allocations: 73.28 kB / 0.794 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.534, allocations: 170.7 kB / 0.7942 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.5342, allocations: 379.3 kB / 0.7945 GB, free: 45.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005767/0.5348, allocations: 0.9929 MB / 0.7955 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5348, allocations: 0 / 0.7955 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5348, allocations: 4.562 kB / 0.7955 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.5348, allocations: 0 / 0.7955 GB, free: 45.11 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.00117/0.536, allocations: 0.95 MB / 0.7964 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.536, allocations: 11.81 kB / 0.7964 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.864e-05/0.5362, allocations: 74.62 kB / 0.7965 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004675/0.5366, allocations: 453.1 kB / 0.797 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.5367, allocations: 35.14 kB / 0.797 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.5367, allocations: 54.38 kB / 0.797 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006613/0.5374, allocations: 427.5 kB / 0.7974 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.5374, allocations: 0 / 0.7974 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.5375, allocations: 20.59 kB / 0.7975 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.5375, allocations: 12.84 kB / 0.7975 GB, free: 44.15 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.5381, allocations: 364.7 kB / 0.7978 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.5399, allocations: 1.529 MB / 0.7993 GB, free: 43.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004692/0.5404, allocations: 334.9 kB / 0.7996 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004062/0.5408, allocations: 329.2 kB / 0.7999 GB, free: 43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.5409, allocations: 3.281 kB / 0.8 GB, free: 43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.5409, allocations: 37.41 kB / 0.8 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.5409, allocations: 4 kB / 0.8 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.0008575/0.5418, allocations: 0.495 MB / 0.8005 GB, free: 42.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.5418, allocations: 55.95 kB / 0.8005 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.5423, allocations: 486.8 kB / 0.801 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.5423, allocations: 36.41 kB / 0.801 GB, free: 42.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.5425, allocations: 275.1 kB / 0.8013 GB, free: 42.19 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.614e-05/0.5426, allocations: 146.5 kB / 0.8014 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.5426, allocations: 67.09 kB / 0.8015 GB, free: 42.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.5427, allocations: 359.2 kB / 0.8018 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.543, allocations: 119.2 kB / 0.802 GB, free: 41.65 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.5432, allocations: 133.2 kB / 0.8021 GB, free: 41.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.5437, allocations: 295.5 kB / 0.8024 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.5437, allocations: 4 kB / 0.8024 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000614/0.5444, allocations: 396.5 kB / 0.8027 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5444, allocations: 6.469 kB / 0.8027 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.5444, allocations: 0 / 0.8027 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5444, allocations: 1.688 kB / 0.8027 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.5449, allocations: 124.3 kB / 0.8029 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.5449, allocations: 2.188 kB / 0.8029 GB, free: 41.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/0.5451, allocations: 36.36 kB / 0.8029 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.5452, allocations: 12.06 kB / 0.8029 GB, free: 41.24 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.0001627/0.5453, allocations: 196.3 kB / 0.8031 GB, free: 41.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.557e-05/0.5454, allocations: 54.69 kB / 0.8032 GB, free: 41.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.5455, allocations: 57.14 kB / 0.8032 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.5455, allocations: 4.781 kB / 0.8032 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.5456, allocations: 0.9688 kB / 0.8032 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5456, allocations: 5.953 kB / 0.8032 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006425/0.5462, allocations: 0.5764 MB / 0.8038 GB, free: 40.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5462, allocations: 4 kB / 0.8038 GB, free: 40.63 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/0.5468, allocations: 130.2 kB / 0.8039 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5468, allocations: 6.578 kB / 0.8039 GB, free: 40.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5468, allocations: 12.28 kB / 0.8039 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5468, allocations: 1.938 kB / 0.8039 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5468, allocations: 0.9062 kB / 0.8039 GB, free: 40.61 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009164/0.5477, allocations: 0.6445 MB / 0.8046 GB, free: 40.26 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.5479, allocations: 139.9 kB / 0.8047 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.5479, allocations: 6.828 kB / 0.8047 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.5481, allocations: 15.5 kB / 0.8047 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.595e-05/0.5482, allocations: 23.86 kB / 0.8047 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.759e-05/0.5483, allocations: 8.125 kB / 0.8047 GB, free: 40.11 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003868/0.5486, allocations: 353 kB / 0.8051 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.92e-07/0.5487, allocations: 4.875 kB / 0.8051 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000412/0.5491, allocations: 144.6 kB / 0.8052 GB, free: 39.91 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.0001137/0.5492, allocations: 116.2 kB / 0.8053 GB, free: 39.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006169/0.5498, allocations: 326.8 kB / 0.8056 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.5498, allocations: 0 / 0.8056 GB, free: 39.7 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.5501, allocations: 179.1 kB / 0.8058 GB, free: 39.63 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007033/0.5508, allocations: 129 kB / 0.8059 GB, free: 39.59 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/0.5526, allocations: 1.183 MB / 0.8071 GB, free: 38.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.553, allocations: 0.8721 MB / 0.8079 GB, free: 38.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002156/0.5532, allocations: 56.23 kB / 0.808 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.591e-05/0.5533, allocations: 36 kB / 0.808 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of SimCode: time 3.8e-07/0.5533, allocations: 0 / 0.808 GB, free: 38.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.01231/0.5656, allocations: 5.942 MB / 0.8138 GB, free: 37.91 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)