Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001029/0.001028, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 185 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.119/1.119, allocations: 143.2 MB / 435.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 0.5171 GB, free: 11.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1952, allocations: 83.4 MB / 0.5985 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004548/0.1998, allocations: 3.76 MB / 0.6022 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003773/0.2036, allocations: 2.34 MB / 0.6045 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003623/0.204, allocations: 15.94 kB / 0.6045 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.2055, allocations: 0.4911 MB / 0.605 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.2061, allocations: 218.4 kB / 0.6052 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002481/0.2063, allocations: 119.9 kB / 0.6053 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3247/0.531, allocations: 0.8137 MB / 0.6061 GB, free: 35.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006281/0.5317, allocations: 274.7 kB / 0.6064 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004875/0.5322, allocations: 242.4 kB / 0.6066 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003824/0.5326, allocations: 286.9 kB / 0.6069 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.354e-05/0.5327, allocations: 38.88 kB / 0.6069 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.5328, allocations: 32.5 kB / 0.607 GB, free: 35.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001302/0.5329, allocations: 124.1 kB / 0.6071 GB, free: 35.78 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003336/0.5333, allocations: 361.2 kB / 0.6074 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.5339, allocations: 0.8227 MB / 0.6082 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5339, allocations: 4.156 kB / 0.6082 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5339, allocations: 0 / 0.6082 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.191e-05/0.5339, allocations: 0 / 0.6082 GB, free: 35.61 MB / 0.4981 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.5351, allocations: 0.8408 MB / 0.609 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.5351, allocations: 12.31 kB / 0.6091 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.5353, allocations: 71.22 kB / 0.6091 GB, free: 35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.5357, allocations: 454.6 kB / 0.6096 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.5358, allocations: 37.84 kB / 0.6096 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-05/0.5358, allocations: 52.34 kB / 0.6096 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.5365, allocations: 433.6 kB / 0.6101 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5365, allocations: 3.938 kB / 0.6101 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.46e-05/0.5366, allocations: 18 kB / 0.6101 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5366, allocations: 12.78 kB / 0.6101 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006008/0.5372, allocations: 377.3 kB / 0.6104 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001646/0.5389, allocations: 1.543 MB / 0.612 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004458/0.5393, allocations: 341.7 kB / 0.6123 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004088/0.5397, allocations: 323.8 kB / 0.6126 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.5398, allocations: 6.547 kB / 0.6126 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/0.5398, allocations: 44.97 kB / 0.6126 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.794e-06/0.5398, allocations: 0 / 0.6126 GB, free: 34.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008524/0.5406, allocations: 0.5063 MB / 0.6131 GB, free: 34.06 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.5407, allocations: 57.09 kB / 0.6132 GB, free: 34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.5412, allocations: 486.2 kB / 0.6137 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.5413, allocations: 31.2 kB / 0.6137 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.5415, allocations: 286.5 kB / 0.614 GB, free: 33.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.792e-05/0.5416, allocations: 140 kB / 0.6141 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.5416, allocations: 37.34 kB / 0.6141 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.5417, allocations: 362.2 kB / 0.6145 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002152/0.5419, allocations: 127 kB / 0.6146 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.5421, allocations: 135.5 kB / 0.6147 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.5426, allocations: 317 kB / 0.615 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5426, allocations: 3.469 kB / 0.615 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005868/0.5432, allocations: 394.8 kB / 0.6154 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5432, allocations: 9.781 kB / 0.6154 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5432, allocations: 4 kB / 0.6154 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5432, allocations: 0 / 0.6154 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.5437, allocations: 126.7 kB / 0.6155 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.5437, allocations: 0 / 0.6155 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.544, allocations: 59.86 kB / 0.6156 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.544, allocations: 15.53 kB / 0.6156 GB, free: 33.17 MB / 0.4981 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.0002054/0.5442, allocations: 202 kB / 0.6158 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.5443, allocations: 53.41 kB / 0.6159 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.5444, allocations: 59.23 kB / 0.6159 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5444, allocations: 5.562 kB / 0.6159 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5444, allocations: 0.5625 kB / 0.6159 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5444, allocations: 7.328 kB / 0.6159 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.5449, allocations: 0.5681 MB / 0.6165 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5449, allocations: 0 / 0.6165 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.5454, allocations: 127.2 kB / 0.6166 GB, free: 32.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5454, allocations: 6.438 kB / 0.6166 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.5455, allocations: 13.84 kB / 0.6166 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.5455, allocations: 2.781 kB / 0.6166 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5455, allocations: 3.75 kB / 0.6166 GB, free: 32.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.5463, allocations: 0.6618 MB / 0.6173 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.589e-05/0.5464, allocations: 145.8 kB / 0.6174 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.5465, allocations: 7.125 kB / 0.6174 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.5467, allocations: 24.25 kB / 0.6174 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.5468, allocations: 24.95 kB / 0.6175 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.5468, allocations: 12.62 kB / 0.6175 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002981/0.5471, allocations: 354.8 kB / 0.6178 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5471, allocations: 4 kB / 0.6178 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003528/0.5475, allocations: 140.7 kB / 0.6179 GB, free: 32.4 MB / 0.4981 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.0001192/0.5476, allocations: 109.9 kB / 0.6181 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.5481, allocations: 335.4 kB / 0.6184 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5481, allocations: 0 / 0.6184 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002519/0.5484, allocations: 187.9 kB / 0.6186 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.5491, allocations: 123.8 kB / 0.6187 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001645/0.5507, allocations: 1.546 MB / 0.6202 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.551, allocations: 0.8713 MB / 0.621 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.5511, allocations: 36.59 kB / 0.6211 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.5511, allocations: 3.156 kB / 0.6211 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.007453/0.5586, allocations: 6.732 MB / 0.6276 GB, free: 30.17 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)