Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.309/1.309, allocations: 251.5 MB / 267.4 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 171.5 kB / 326.5 MB, free: 2.652 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205 MB / 0.5767 GB, free: 20.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007583/0.0007583, allocations: 98.17 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.000335, allocations: 8.812 kB / 0.7938 GB, free: 136.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.161, allocations: 105.4 MB / 0.8968 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003102/0.1641, allocations: 3.856 MB / 0.9005 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002145/0.1663, allocations: 2.422 MB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.1665, allocations: 8 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.1676, allocations: 0.5002 MB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.1679, allocations: 214.5 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.1681, allocations: 119.9 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004802/0.1686, allocations: 0.8097 MB / 0.9045 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.1689, allocations: 280.1 kB / 0.9048 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1691, allocations: 235 kB / 0.905 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.1693, allocations: 286.6 kB / 0.9053 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.1694, allocations: 36 kB / 0.9053 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.6e-05/0.1694, allocations: 36 kB / 0.9054 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1696, allocations: 135.4 kB / 0.9055 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.1698, allocations: 330.3 kB / 0.9058 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.1702, allocations: 0.9379 MB / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1702, allocations: 0 / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1703, allocations: 0 / 0.9067 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.1703, allocations: 0 / 0.9067 GB, free: 57.88 MB / 0.6042 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.0009658/0.1712, allocations: 0.8412 MB / 0.9075 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1713, allocations: 8.031 kB / 0.9075 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.036e-05/0.1714, allocations: 76 kB / 0.9076 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.1718, allocations: 453.7 kB / 0.908 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.1718, allocations: 37.38 kB / 0.9081 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.141e-05/0.1719, allocations: 48.38 kB / 0.9081 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.1725, allocations: 442.7 kB / 0.9086 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.1725, allocations: 3.938 kB / 0.9086 GB, free: 55.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.1725, allocations: 20 kB / 0.9086 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1726, allocations: 12 kB / 0.9086 GB, free: 55.87 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005805/0.1731, allocations: 375.8 kB / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.1747, allocations: 1.543 MB / 0.9105 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004074/0.1751, allocations: 358.7 kB / 0.9108 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003697/0.1755, allocations: 326.4 kB / 0.9111 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.1755, allocations: 4 kB / 0.9111 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1755, allocations: 42.5 kB / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.264e-06/0.1755, allocations: 0 / 0.9111 GB, free: 53.14 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0007612/0.1763, allocations: 0.5055 MB / 0.9116 GB, free: 52.63 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.1763, allocations: 59.41 kB / 0.9117 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/0.1767, allocations: 485.9 kB / 0.9122 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1768, allocations: 30.47 kB / 0.9122 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000111/0.1769, allocations: 280.3 kB / 0.9125 GB, free: 51.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.177, allocations: 145.8 kB / 0.9126 GB, free: 51.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-05/0.177, allocations: 41.69 kB / 0.9126 GB, free: 51.58 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.1771, allocations: 358.8 kB / 0.913 GB, free: 51.22 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.1773, allocations: 124.7 kB / 0.9131 GB, free: 51.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.1775, allocations: 137.4 kB / 0.9132 GB, free: 50.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004151/0.178, allocations: 306.5 kB / 0.9135 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.178, allocations: 4 kB / 0.9135 GB, free: 50.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000503/0.1785, allocations: 396.5 kB / 0.9139 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1785, allocations: 7.938 kB / 0.9139 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1785, allocations: 0 / 0.9139 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.1785, allocations: 8 kB / 0.9139 GB, free: 50.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004339/0.179, allocations: 127.8 kB / 0.914 GB, free: 50.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.179, allocations: 7.984 kB / 0.914 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.1792, allocations: 51.67 kB / 0.9141 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.1792, allocations: 12 kB / 0.9141 GB, free: 50.05 MB / 0.6042 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.0001513/0.1794, allocations: 193.8 kB / 0.9143 GB, free: 49.85 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.1795, allocations: 55.28 kB / 0.9143 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.044e-05/0.1795, allocations: 61.09 kB / 0.9144 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1796, allocations: 0 / 0.9144 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1796, allocations: 4 kB / 0.9144 GB, free: 49.73 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.684e-05/0.1796, allocations: 140.4 kB / 0.9145 GB, free: 49.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.1797, allocations: 12 kB / 0.9146 GB, free: 49.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1799, allocations: 23.98 kB / 0.9146 GB, free: 49.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.18, allocations: 23.95 kB / 0.9146 GB, free: 49.52 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000896/0.1809, allocations: 0.5406 MB / 0.9151 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007816/0.1817, allocations: 0.7474 MB / 0.9159 GB, free: 48.2 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002243/0.1819, allocations: 168 kB / 0.916 GB, free: 48.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002826/0.1822, allocations: 355.1 kB / 0.9164 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of Backend: time 4.61e-07/0.1822, allocations: 0 / 0.9164 GB, free: 47.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006189/0.1829, allocations: 287.4 kB / 0.9166 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001703/0.1846, allocations: 1.843 MB / 0.9184 GB, free: 45.52 MB / 0.6042 GB Notification: Performance of Templates: time 0.008572/0.1932, allocations: 6.279 MB / 0.9246 GB, free: 39.36 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)