Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.604/4.604, allocations: 0.5623 GB / 0.5769 GB, free: 3.312 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002383/0.002383, allocations: 357.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.717/3.717, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001709/0.001709, allocations: 180.5 kB / 1.225 GB, free: 35.9 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005013, allocations: 12.72 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1491, allocations: 115.3 MB / 1.461 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001365/0.1506, allocations: 1.186 MB / 1.462 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00119/0.1518, allocations: 0.8468 MB / 1.463 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.334e-05/0.1518, allocations: 0 / 1.463 GB, free: 4.543 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.152, allocations: 39.81 kB / 1.463 GB, free: 4.504 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.1521, allocations: 15.86 kB / 1.463 GB, free: 4.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.1526, allocations: 171 kB / 1.463 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.977e-05/0.1527, allocations: 39.75 kB / 1.463 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.1527, allocations: 7.984 kB / 1.463 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.996e-05/0.1528, allocations: 23.81 kB / 1.463 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.055e-05/0.1528, allocations: 15.94 kB / 1.463 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.911e-06/0.1528, allocations: 0 / 1.463 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002898/0.1531, allocations: 143.8 kB / 1.463 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.1532, allocations: 7.984 kB / 1.463 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.1532, allocations: 33.64 kB / 1.463 GB, free: 4.051 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.1533, allocations: 76.11 kB / 1.463 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.707e-06/0.1534, allocations: 3.984 kB / 1.463 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.678e-06/0.1534, allocations: 0 / 1.463 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.1534, allocations: 0 / 1.463 GB, free: 3.973 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002568/0.1536, allocations: 363.1 kB / 1.464 GB, free: 3.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1537, allocations: 8.031 kB / 1.464 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.1537, allocations: 83.19 kB / 1.464 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.1539, allocations: 269.2 kB / 1.464 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.1539, allocations: 154.6 kB / 1.464 GB, free: 3.027 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.154, allocations: 150.6 kB / 1.464 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.058e-05/0.154, allocations: 105 kB / 1.464 GB, free: 2.77 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.154, allocations: 79.28 kB / 1.464 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.1541, allocations: 154.5 kB / 1.465 GB, free: 2.539 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.1541, allocations: 150.6 kB / 1.465 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.1541, allocations: 150.6 kB / 1.465 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.1544, allocations: 473.9 kB / 1.465 GB, free: 1.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.342e-05/0.1544, allocations: 165.1 kB / 1.465 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.1545, allocations: 80.14 kB / 1.466 GB, free: 1.477 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.448e-05/0.1545, allocations: 83.22 kB / 1.466 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.1545, allocations: 105.8 kB / 1.466 GB, free: 1.281 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 2.371e-06/0.1545, allocations: 8 kB / 1.466 GB, free: 1.273 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 8.43e-05/0.1546, allocations: 29.64 kB / 1.466 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.1547, allocations: 126.7 kB / 1.466 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.1549, allocations: 137.9 kB / 1.466 GB, free: 0.957 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.1549, allocations: 25.7 kB / 1.466 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.155, allocations: 88.12 kB / 1.466 GB, free: 0.8359 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-06/0.155, allocations: 3.938 kB / 1.466 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-06/0.155, allocations: 4 kB / 1.466 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1552, allocations: 322.8 kB / 1.466 GB, free: 0.5039 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.1552, allocations: 7.984 kB / 1.466 GB, free: 0.4961 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.048e-05/0.1552, allocations: 7.938 kB / 1.466 GB, free: 500 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.632e-05/0.1553, allocations: 4 kB / 1.466 GB, free: 496 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-06/0.1553, allocations: 0 / 1.466 GB, free: 496 kB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001349/0.1554, allocations: 45.61 kB / 1.467 GB, free: 444 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1555, allocations: 8 kB / 1.467 GB, free: 436 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.1555, allocations: 7.969 kB / 1.467 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.1555, allocations: 0 / 1.467 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.64e-06/0.1555, allocations: 0 / 1.467 GB, free: 428 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.714e-06/0.1555, allocations: 4.062 kB / 1.467 GB, free: 424 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.337e-05/0.1556, allocations: 7.938 kB / 1.467 GB, free: 416 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.992e-06/0.1556, allocations: 0 / 1.467 GB, free: 416 kB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.1557, allocations: 185.6 kB / 1.467 GB, free: 220 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.975e-05/0.1558, allocations: 116.8 kB / 1.467 GB, free: 96 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.304e-05/0.1559, allocations: 112.8 kB / 1.467 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.249e-05/0.156, allocations: 180.3 kB / 1.467 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.552e-05/0.1561, allocations: 180.2 kB / 1.467 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.916e-05/0.1562, allocations: 176.3 kB / 1.467 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.1565, allocations: 425.1 kB / 1.468 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.975e-05/0.1566, allocations: 101 kB / 1.468 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.312e-05/0.1566, allocations: 109 kB / 1.468 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.537e-05/0.1567, allocations: 184.2 kB / 1.468 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.079e-05/0.1568, allocations: 176.3 kB / 1.468 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.525e-05/0.1569, allocations: 184.2 kB / 1.469 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.747e-05/0.157, allocations: 188.5 kB / 1.469 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.1572, allocations: 311.7 kB / 1.469 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1573, allocations: 190 kB / 1.469 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.1574, allocations: 188.2 kB / 1.469 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1575, allocations: 104.9 kB / 1.47 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.121e-05/0.1576, allocations: 180.2 kB / 1.47 GB, free: 12.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.162e-05/0.1577, allocations: 105 kB / 1.47 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.297e-05/0.1578, allocations: 106.2 kB / 1.47 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.09e-07/0.1578, allocations: 0 / 1.47 GB, free: 12.76 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003551/0.1582, allocations: 31.98 kB / 1.47 GB, free: 12.73 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/0.1585, allocations: 218.4 kB / 1.47 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.52e-05/0.1586, allocations: 41.69 kB / 1.47 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.218e-06/0.1586, allocations: 0 / 1.47 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.766e-06/0.1586, allocations: 3.938 kB / 1.47 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005775/0.1592, allocations: 0.5341 MB / 1.471 GB, free: 11.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.1596, allocations: 239.8 kB / 1.471 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.16, allocations: 0.6926 MB / 1.472 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.16, allocations: 0 / 1.472 GB, free: 10.94 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.308e-05/0.16, allocations: 7.438 kB / 1.472 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 3.348e-06/0.16, allocations: 4 kB / 1.472 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of Templates: time 0.004626/0.1647, allocations: 1.456 MB / 1.473 GB, free: 9.508 MB / 0.6198 GB