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.01099/0.01099, allocations: 103.3 kB / 15.73 MB, free: 6.039 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.001805/0.001805, allocations: 187.8 kB / 16.67 MB, free: 5.957 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.5849/0.5849, allocations: 95.48 MB / 365.4 MB, free: 9.762 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.001399/0.001399, allocations: 74.08 kB / 0.5037 GB, free: 13.44 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.1642, allocations: 69.08 MB / 0.5711 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002727/0.167, allocations: 1.479 MB / 0.5726 GB, free: 6.801 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1685, allocations: 0.9394 MB / 0.5735 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.45e-05/0.1686, allocations: 4 kB / 0.5735 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1688, allocations: 35.77 kB / 0.5735 GB, free: 5.812 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.659e-05/0.1689, allocations: 23.84 kB / 0.5735 GB, free: 5.789 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.0005081/0.1694, allocations: 190.6 kB / 0.5737 GB, free: 5.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1695, allocations: 51.73 kB / 0.5738 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.892e-05/0.1696, allocations: 0 / 0.5738 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.36e-05/0.1697, allocations: 19.94 kB / 0.5738 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.521e-05/0.1697, allocations: 19.84 kB / 0.5738 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1697, allocations: 7.938 kB / 0.5738 GB, free: 5.508 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003399/0.1701, allocations: 159.8 kB / 0.574 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.1701, allocations: 0 / 0.574 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.555e-05/0.1701, allocations: 23.86 kB / 0.574 GB, free: 5.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.1703, allocations: 127.6 kB / 0.5741 GB, free: 5.203 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1703, allocations: 11.94 kB / 0.5741 GB, free: 5.191 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1704, allocations: 0 / 0.5741 GB, free: 5.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.986e-06/0.1704, allocations: 0 / 0.5741 GB, free: 5.191 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.0004297/0.1708, allocations: 396.9 kB / 0.5745 GB, free: 4.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.1709, allocations: 11.98 kB / 0.5745 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.923e-05/0.171, allocations: 84.12 kB / 0.5746 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1713, allocations: 256.5 kB / 0.5748 GB, free: 4.367 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.593e-05/0.1714, allocations: 154.9 kB / 0.575 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.1715, allocations: 154.9 kB / 0.5751 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.005e-05/0.1716, allocations: 109.2 kB / 0.5752 GB, free: 3.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.673e-05/0.1717, allocations: 79.28 kB / 0.5753 GB, free: 3.871 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.202e-05/0.1717, allocations: 150.6 kB / 0.5755 GB, free: 3.723 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001749/0.1719, allocations: 150.6 kB / 0.5756 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.172, allocations: 154.6 kB / 0.5757 GB, free: 3.422 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.1724, allocations: 465.8 kB / 0.5762 GB, free: 2.918 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.1725, allocations: 177 kB / 0.5764 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.68e-05/0.1725, allocations: 80.14 kB / 0.5764 GB, free: 2.652 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.1726, allocations: 79.28 kB / 0.5765 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.1726, allocations: 109.8 kB / 0.5766 GB, free: 2.457 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.1726, allocations: 0 / 0.5766 GB, free: 2.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 9.182e-05/0.1727, allocations: 29.7 kB / 0.5766 GB, free: 2.422 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.262e-05/0.1728, allocations: 134.6 kB / 0.5768 GB, free: 2.277 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.173, allocations: 136.8 kB / 0.5769 GB, free: 2.137 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.173, allocations: 29.7 kB / 0.5769 GB, free: 2.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.1731, allocations: 100.1 kB / 0.577 GB, free: 2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.1731, allocations: 0 / 0.577 GB, free: 2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-05/0.1731, allocations: 13.72 kB / 0.577 GB, free: 1.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1733, allocations: 322.8 kB / 0.5773 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.957e-05/0.1733, allocations: 8 kB / 0.5774 GB, free: 1.648 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.651e-05/0.1733, allocations: 8 kB / 0.5774 GB, free: 1.641 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.1734, allocations: 38.59 kB / 0.5774 GB, free: 1.594 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1734, allocations: 3.984 kB / 0.5774 GB, free: 1.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001625/0.1735, allocations: 83.38 kB / 0.5775 GB, free: 1.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.917e-05/0.1736, allocations: 41.62 kB / 0.5775 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1736, allocations: 0 / 0.5775 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.1737, allocations: 0 / 0.5775 GB, free: 1.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/0.1737, allocations: 4 kB / 0.5775 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1737, allocations: 0 / 0.5775 GB, free: 1.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.734e-05/0.1737, allocations: 3.906 kB / 0.5775 GB, free: 1.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1737, allocations: 0 / 0.5775 GB, free: 1.441 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.000107/0.1738, allocations: 185.1 kB / 0.5777 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.1739, allocations: 113 kB / 0.5778 GB, free: 1.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.174, allocations: 120.7 kB / 0.5779 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.516e-05/0.1741, allocations: 184.3 kB / 0.5781 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-05/0.1741, allocations: 176.3 kB / 0.5783 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.88e-05/0.1742, allocations: 180.2 kB / 0.5784 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.1745, allocations: 421.2 kB / 0.5788 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.022e-05/0.1746, allocations: 104.9 kB / 0.5789 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.1746, allocations: 104.9 kB / 0.579 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.61e-05/0.1747, allocations: 180.3 kB / 0.5792 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.1748, allocations: 180.2 kB / 0.5794 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.746e-05/0.1749, allocations: 184.2 kB / 0.5796 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.146e-05/0.1749, allocations: 184.2 kB / 0.5797 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.1751, allocations: 307.7 kB / 0.58 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.1752, allocations: 193.9 kB / 0.5802 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.057e-05/0.1753, allocations: 176.3 kB / 0.5804 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1754, allocations: 116.9 kB / 0.5805 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.1755, allocations: 176.3 kB / 0.5807 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.1755, allocations: 105 kB / 0.5808 GB, free: 13.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.923e-05/0.1756, allocations: 107.2 kB / 0.5809 GB, free: 13.79 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1756, allocations: 0 / 0.5809 GB, free: 13.79 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003104/0.1759, allocations: 28 kB / 0.5809 GB, free: 13.76 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.0003428/0.1763, allocations: 218.4 kB / 0.5811 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001441/0.1764, allocations: 71.41 kB / 0.5812 GB, free: 13.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1765, allocations: 4 kB / 0.5812 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1765, allocations: 0 / 0.5812 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.177, allocations: 472 kB / 0.5816 GB, free: 12.99 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004742/0.1774, allocations: 238.7 kB / 0.5819 GB, free: 12.73 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1778, allocations: 0.6846 MB / 0.5825 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.03e-05/0.1778, allocations: 0 / 0.5825 GB, free: 12.02 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.854e-05/0.1778, allocations: 11.44 kB / 0.5825 GB, free: 12.01 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1778, allocations: 0 / 0.5825 GB, free: 12.01 MB / 462.1 MB Notification: Performance of Templates: time 0.004377/0.1822, allocations: 1.547 MB / 0.584 GB, free: 10.5 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)