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.001191/0.001191, allocations: 106.8 kB / 16.29 MB, free: 6.023 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.001215/0.001215, allocations: 189.6 kB / 17.22 MB, free: 5.625 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.422/1.422, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.793/1.793, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001359/0.001359, allocations: 71.02 kB / 0.6722 GB, free: 6.555 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2074, allocations: 114.5 MB / 0.7841 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.3458/0.5533, allocations: 4.157 MB / 0.7882 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003063/0.5564, allocations: 2.449 MB / 0.7906 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004531/0.5568, allocations: 12.06 kB / 0.7906 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.5584, allocations: 0.5399 MB / 0.7911 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0005117/0.5589, allocations: 249.2 kB / 0.7913 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.5591, allocations: 143.1 kB / 0.7915 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005928/0.5597, allocations: 0.8103 MB / 0.7923 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.5601, allocations: 327.7 kB / 0.7926 GB, free: 45.75 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002448/0.5603, allocations: 285.9 kB / 0.7928 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002727/0.5606, allocations: 329.7 kB / 0.7932 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.5607, allocations: 75.78 kB / 0.7932 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.5608, allocations: 75.44 kB / 0.7933 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.561, allocations: 172.4 kB / 0.7935 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.5612, allocations: 388.8 kB / 0.7938 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005777/0.5618, allocations: 0.9832 MB / 0.7948 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5618, allocations: 0 / 0.7948 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5618, allocations: 0 / 0.7948 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.5618, allocations: 1.438 kB / 0.7948 GB, free: 45.33 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.001109/0.5629, allocations: 0.9572 MB / 0.7957 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.089e-05/0.563, allocations: 10.41 kB / 0.7957 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.5631, allocations: 77.22 kB / 0.7958 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004308/0.5635, allocations: 451.5 kB / 0.7962 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.5635, allocations: 38 kB / 0.7963 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.014e-05/0.5636, allocations: 47.78 kB / 0.7963 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006062/0.5642, allocations: 431.4 kB / 0.7967 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.5643, allocations: 10.69 kB / 0.7968 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.5643, allocations: 18.56 kB / 0.7968 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.5643, allocations: 10.34 kB / 0.7968 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.5649, allocations: 365.9 kB / 0.7971 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.5666, allocations: 1.517 MB / 0.7986 GB, free: 43.59 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/0.567, allocations: 336.7 kB / 0.7989 GB, free: 43.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.5675, allocations: 330.4 kB / 0.7992 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.5675, allocations: 5.281 kB / 0.7993 GB, free: 43.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.5675, allocations: 46.38 kB / 0.7993 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=42): time 1.723e-06/0.5675, allocations: 0 / 0.7993 GB, free: 43.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.000825/0.5684, allocations: 499.2 kB / 0.7998 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.5684, allocations: 53.84 kB / 0.7998 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.5689, allocations: 487.8 kB / 0.8003 GB, free: 42.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.5689, allocations: 31.67 kB / 0.8003 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.5691, allocations: 277.3 kB / 0.8006 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.443e-05/0.5692, allocations: 150.4 kB / 0.8007 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.388e-05/0.5692, allocations: 65.14 kB / 0.8008 GB, free: 42.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.5693, allocations: 364.2 kB / 0.8011 GB, free: 42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.5696, allocations: 118.8 kB / 0.8012 GB, free: 41.96 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5698, allocations: 127.9 kB / 0.8014 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004469/0.5702, allocations: 298.2 kB / 0.8017 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5702, allocations: 0 / 0.8017 GB, free: 41.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005689/0.5708, allocations: 397.8 kB / 0.802 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.5708, allocations: 5.875 kB / 0.802 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.5709, allocations: 0 / 0.802 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.5709, allocations: 3.578 kB / 0.802 GB, free: 41.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/0.5714, allocations: 132 kB / 0.8022 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.5714, allocations: 1.094 kB / 0.8022 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.5716, allocations: 35.62 kB / 0.8022 GB, free: 41.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.5716, allocations: 11.25 kB / 0.8022 GB, free: 41.55 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.0001692/0.5718, allocations: 196.2 kB / 0.8024 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.801e-05/0.5719, allocations: 55.69 kB / 0.8025 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.572, allocations: 66.36 kB / 0.8025 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.572, allocations: 3.312 kB / 0.8025 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.572, allocations: 1.719 kB / 0.8025 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.572, allocations: 7.359 kB / 0.8025 GB, free: 41.3 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006009/0.5726, allocations: 0.5734 MB / 0.8031 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5726, allocations: 0 / 0.8031 GB, free: 40.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.5731, allocations: 128.6 kB / 0.8032 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.5732, allocations: 2.719 kB / 0.8032 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.226e-05/0.5732, allocations: 5.406 kB / 0.8032 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.5732, allocations: 2.859 kB / 0.8032 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.5732, allocations: 0 / 0.8032 GB, free: 40.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008972/0.5741, allocations: 0.6519 MB / 0.8039 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.062e-05/0.5742, allocations: 137.8 kB / 0.804 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.5743, allocations: 9.406 kB / 0.804 GB, free: 40.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.5745, allocations: 11.95 kB / 0.804 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.5746, allocations: 24.75 kB / 0.804 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5746, allocations: 11.34 kB / 0.804 GB, free: 40.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003946/0.575, allocations: 353.9 kB / 0.8044 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.575, allocations: 0 / 0.8044 GB, free: 40.25 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004139/0.5754, allocations: 144.6 kB / 0.8045 GB, free: 40.22 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.0001132/0.5755, allocations: 112.3 kB / 0.8046 GB, free: 40.12 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006004/0.5761, allocations: 326.2 kB / 0.8049 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5762, allocations: 0 / 0.8049 GB, free: 40.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002873/0.5765, allocations: 187.4 kB / 0.8051 GB, free: 39.94 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006976/0.5772, allocations: 122.4 kB / 0.8052 GB, free: 39.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.5789, allocations: 1.192 MB / 0.8064 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.5793, allocations: 0.8642 MB / 0.8072 GB, free: 38.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.5795, allocations: 57.92 kB / 0.8073 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.5796, allocations: 35.56 kB / 0.8073 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.5796, allocations: 0 / 0.8073 GB, free: 38.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.01304/0.5927, allocations: 5.939 MB / 0.8131 GB, free: 38.22 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)