Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009001/0.009001, allocations: 103.8 kB / 15.73 MB, free: 6.051 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.00194/0.00194, allocations: 191.5 kB / 16.67 MB, free: 5.984 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.663/1.663, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6636/0.6636, allocations: 95.48 MB / 365.4 MB, free: 9.793 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 71.89 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1644, allocations: 69.09 MB / 0.5711 GB, free: 8.297 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002752/0.1672, allocations: 1.471 MB / 0.5726 GB, free: 6.816 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001491/0.1688, allocations: 0.9394 MB / 0.5735 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.398e-05/0.1689, allocations: 4 kB / 0.5735 GB, free: 5.863 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002291/0.1691, allocations: 47.75 kB / 0.5735 GB, free: 5.816 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matSoi.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matSoi.d == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matFil.c == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/HeatTransfer/Data/BaseClasses.mo:121:5-123:32:writable] Warning: In relation matFil.d == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 6.415e-05/0.1692, allocations: 11.86 kB / 0.5735 GB, free: 5.805 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/Boreholes/BaseClasses/singleUTubeResistances.mo:64:3-66:74:writable] Warning: beta was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.1698, allocations: 197.1 kB / 0.5737 GB, free: 5.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000126/0.1699, allocations: 47.73 kB / 0.5738 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.622e-05/0.17, allocations: 7.984 kB / 0.5738 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.1701, allocations: 19.86 kB / 0.5738 GB, free: 5.543 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.2e-05/0.1701, allocations: 15.88 kB / 0.5738 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1701, allocations: 0 / 0.5738 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004427/0.1706, allocations: 171.8 kB / 0.574 GB, free: 5.359 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.1706, allocations: 3.938 kB / 0.574 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.1707, allocations: 27.81 kB / 0.574 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1709, allocations: 119.7 kB / 0.5741 GB, free: 5.211 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1709, allocations: 0 / 0.5741 GB, free: 5.211 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1709, allocations: 0 / 0.5741 GB, free: 5.211 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1709, allocations: 3.984 kB / 0.5741 GB, free: 5.207 MB / 446.1 MB 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.0005558/0.1715, allocations: 392.9 kB / 0.5745 GB, free: 4.77 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1715, allocations: 15.98 kB / 0.5745 GB, free: 4.754 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.176e-05/0.1716, allocations: 80.12 kB / 0.5746 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/0.1719, allocations: 271.5 kB / 0.5748 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.069e-05/0.1719, allocations: 154.9 kB / 0.575 GB, free: 4.219 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.321e-05/0.172, allocations: 150.9 kB / 0.5751 GB, free: 4.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.259e-05/0.1721, allocations: 105.3 kB / 0.5752 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.1721, allocations: 75.28 kB / 0.5753 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.1722, allocations: 150.6 kB / 0.5755 GB, free: 3.738 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.1723, allocations: 158.6 kB / 0.5756 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/0.1724, allocations: 150.6 kB / 0.5757 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.1728, allocations: 473.7 kB / 0.5762 GB, free: 2.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1729, allocations: 169.1 kB / 0.5764 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.173, allocations: 84.14 kB / 0.5764 GB, free: 2.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.173, allocations: 75.28 kB / 0.5765 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.439e-05/0.1731, allocations: 109.8 kB / 0.5766 GB, free: 2.469 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1731, allocations: 0 / 0.5766 GB, free: 2.469 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001101/0.1732, allocations: 37.62 kB / 0.5767 GB, free: 2.426 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.1733, allocations: 126.7 kB / 0.5768 GB, free: 2.289 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.1735, allocations: 148.6 kB / 0.5769 GB, free: 2.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.1735, allocations: 25.7 kB / 0.5769 GB, free: 2.105 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.1736, allocations: 88.14 kB / 0.577 GB, free: 2.016 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.727e-06/0.1736, allocations: 0 / 0.577 GB, free: 2.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.1737, allocations: 21.7 kB / 0.577 GB, free: 1.988 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.1738, allocations: 314.8 kB / 0.5773 GB, free: 1.672 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.695e-05/0.1739, allocations: 4 kB / 0.5773 GB, free: 1.668 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.734e-05/0.1739, allocations: 4 kB / 0.5774 GB, free: 1.664 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.174, allocations: 54.61 kB / 0.5774 GB, free: 1.602 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.174, allocations: 4 kB / 0.5774 GB, free: 1.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002069/0.1742, allocations: 83.27 kB / 0.5775 GB, free: 1.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.1743, allocations: 33.7 kB / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1743, allocations: 0 / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.1743, allocations: 0 / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.814e-06/0.1743, allocations: 0 / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1743, allocations: 0 / 0.5775 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.1744, allocations: 3.906 kB / 0.5775 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1744, allocations: 7.938 kB / 0.5775 GB, free: 1.453 MB / 446.1 MB 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: 1 * 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.0001306/0.1745, allocations: 193.1 kB / 0.5777 GB, free: 1.254 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.1746, allocations: 108.9 kB / 0.5778 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.1747, allocations: 112.8 kB / 0.5779 GB, free: 1.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.149e-05/0.1748, allocations: 180.3 kB / 0.5781 GB, free: 0.8359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.502e-05/0.1749, allocations: 184.2 kB / 0.5783 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.388e-05/0.175, allocations: 188.3 kB / 0.5785 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1752, allocations: 405.2 kB / 0.5788 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.53e-05/0.1753, allocations: 104.9 kB / 0.5789 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.535e-05/0.1754, allocations: 108.9 kB / 0.579 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.349e-05/0.1754, allocations: 184.2 kB / 0.5792 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.1755, allocations: 184.2 kB / 0.5794 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.077e-05/0.1756, allocations: 180.3 kB / 0.5796 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.883e-05/0.1757, allocations: 184.2 kB / 0.5797 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1759, allocations: 311.7 kB / 0.58 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1761, allocations: 189.9 kB / 0.5802 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.1762, allocations: 180.3 kB / 0.5804 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.1763, allocations: 104.9 kB / 0.5805 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.855e-05/0.1763, allocations: 180.2 kB / 0.5807 GB, free: 14.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.1764, allocations: 112.9 kB / 0.5808 GB, free: 13.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.1765, allocations: 99.27 kB / 0.5809 GB, free: 13.8 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1765, allocations: 0 / 0.5809 GB, free: 13.8 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003421/0.1768, allocations: 32 kB / 0.5809 GB, free: 13.77 MB / 462.1 MB 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 (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.0003724/0.1772, allocations: 218.4 kB / 0.5811 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001542/0.1774, allocations: 75.39 kB / 0.5812 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1774, allocations: 0 / 0.5812 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.993e-06/0.1774, allocations: 0 / 0.5812 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006271/0.178, allocations: 471.7 kB / 0.5816 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005518/0.1786, allocations: 230 kB / 0.5818 GB, free: 12.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.1789, allocations: 0.6846 MB / 0.5825 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.449e-05/0.179, allocations: 4 kB / 0.5825 GB, free: 12.04 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.179, allocations: 7.438 kB / 0.5825 GB, free: 12.03 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.179, allocations: 4 kB / 0.5825 GB, free: 12.02 MB / 462.1 MB Notification: Performance of Templates: time 0.004338/0.1833, allocations: 1.539 MB / 0.584 GB, free: 10.52 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)