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.009237/0.009237, allocations: 100.6 kB / 15.73 MB, free: 6.469 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.001701/0.001701, allocations: 196.7 kB / 16.67 MB, free: 6.379 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.617/1.617, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.6547/0.6547, allocations: 95.47 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.002342/0.002342, allocations: 78.08 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.18, allocations: 69.08 MB / 0.5711 GB, free: 8.332 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003146/0.1833, allocations: 1.479 MB / 0.5726 GB, free: 6.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1848, allocations: 0.9394 MB / 0.5735 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.851e-05/0.1849, allocations: 11.94 kB / 0.5735 GB, free: 5.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1852, allocations: 35.83 kB / 0.5735 GB, free: 5.844 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 8.27e-05/0.1853, allocations: 19.78 kB / 0.5735 GB, free: 5.824 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.0006437/0.186, allocations: 193.8 kB / 0.5737 GB, free: 5.641 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.1861, allocations: 47.73 kB / 0.5738 GB, free: 5.594 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.1862, allocations: 4 kB / 0.5738 GB, free: 5.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.1862, allocations: 11.94 kB / 0.5738 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.064e-05/0.1863, allocations: 23.86 kB / 0.5738 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.1863, allocations: 0 / 0.5738 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.1867, allocations: 171.8 kB / 0.574 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.1867, allocations: 0 / 0.574 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.1868, allocations: 23.86 kB / 0.574 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.187, allocations: 127.6 kB / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.187, allocations: 0 / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.187, allocations: 0 / 0.5741 GB, free: 5.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.187, allocations: 0 / 0.5741 GB, free: 5.238 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.0004262/0.1875, allocations: 396.9 kB / 0.5745 GB, free: 4.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1875, allocations: 15.98 kB / 0.5745 GB, free: 4.781 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.1876, allocations: 80.12 kB / 0.5746 GB, free: 4.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.1879, allocations: 272.5 kB / 0.5748 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.534e-05/0.188, allocations: 150.9 kB / 0.575 GB, free: 4.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.364e-05/0.1881, allocations: 150.9 kB / 0.5751 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.366e-05/0.1881, allocations: 105.3 kB / 0.5752 GB, free: 3.992 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.08e-05/0.1882, allocations: 75.28 kB / 0.5753 GB, free: 3.918 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.1882, allocations: 158.6 kB / 0.5755 GB, free: 3.762 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.1883, allocations: 154.5 kB / 0.5756 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.87e-05/0.1884, allocations: 154.5 kB / 0.5757 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.1887, allocations: 465.8 kB / 0.5762 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1889, allocations: 177.1 kB / 0.5764 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.1889, allocations: 80.14 kB / 0.5764 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.189, allocations: 75.28 kB / 0.5765 GB, free: 2.613 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.747e-05/0.189, allocations: 113.7 kB / 0.5766 GB, free: 2.492 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.189, allocations: 0 / 0.5766 GB, free: 2.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.423e-05/0.1891, allocations: 29.7 kB / 0.5766 GB, free: 2.457 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.1892, allocations: 130.7 kB / 0.5768 GB, free: 2.316 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1894, allocations: 144.8 kB / 0.5769 GB, free: 2.168 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.1894, allocations: 29.69 kB / 0.5769 GB, free: 2.133 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.629e-05/0.1895, allocations: 92.14 kB / 0.577 GB, free: 2.039 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1895, allocations: 0 / 0.577 GB, free: 2.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.1895, allocations: 13.72 kB / 0.577 GB, free: 2.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1896, allocations: 318.8 kB / 0.5773 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.752e-05/0.1897, allocations: 4 kB / 0.5773 GB, free: 1.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.1897, allocations: 8 kB / 0.5774 GB, free: 1.688 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.344e-05/0.1898, allocations: 50.48 kB / 0.5774 GB, free: 1.629 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1898, allocations: 0 / 0.5774 GB, free: 1.629 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000201/0.19, allocations: 75.34 kB / 0.5775 GB, free: 1.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.19, allocations: 37.69 kB / 0.5775 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1901, allocations: 0 / 0.5775 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.1901, allocations: 0 / 0.5775 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.1901, allocations: 48 / 0.5775 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1901, allocations: 0 / 0.5775 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.1901, allocations: 7.891 kB / 0.5775 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.1902, allocations: 8.062 kB / 0.5775 GB, free: 1.484 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.000165/0.1903, allocations: 189.1 kB / 0.5777 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.1904, allocations: 108.9 kB / 0.5778 GB, free: 1.176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.1906, allocations: 112.8 kB / 0.5779 GB, free: 1.055 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001055/0.1907, allocations: 184.2 kB / 0.5781 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001141/0.1908, allocations: 184.3 kB / 0.5783 GB, free: 0.6797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.979e-05/0.1909, allocations: 180.3 kB / 0.5784 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.1912, allocations: 413.1 kB / 0.5788 GB, free: 36 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-05/0.1913, allocations: 101 kB / 0.5789 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.149e-05/0.1914, allocations: 112.9 kB / 0.579 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.1915, allocations: 180.3 kB / 0.5792 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.1916, allocations: 180.3 kB / 0.5794 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001204/0.1918, allocations: 188.1 kB / 0.5796 GB, free: 15.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.914e-05/0.1919, allocations: 180.3 kB / 0.5797 GB, free: 15.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1921, allocations: 307.7 kB / 0.58 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.1922, allocations: 205.9 kB / 0.5802 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.1923, allocations: 180.2 kB / 0.5804 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.869e-05/0.1924, allocations: 101 kB / 0.5805 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.1925, allocations: 180.2 kB / 0.5807 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/0.1926, allocations: 109 kB / 0.5808 GB, free: 13.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.935e-05/0.1927, allocations: 103.2 kB / 0.5809 GB, free: 13.83 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1927, allocations: 0 / 0.5809 GB, free: 13.83 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003373/0.193, allocations: 36 kB / 0.5809 GB, free: 13.8 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.0003259/0.1933, allocations: 218.4 kB / 0.5811 GB, free: 13.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.1935, allocations: 75.34 kB / 0.5812 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1935, allocations: 0 / 0.5812 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.1935, allocations: 0 / 0.5812 GB, free: 13.49 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.1939, allocations: 470.5 kB / 0.5816 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.1943, allocations: 223.1 kB / 0.5818 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1946, allocations: 0.6846 MB / 0.5825 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 2.47e-05/0.1947, allocations: 11.94 kB / 0.5825 GB, free: 12.06 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.1947, allocations: 7.438 kB / 0.5825 GB, free: 12.05 MB / 462.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1947, allocations: 0 / 0.5825 GB, free: 12.05 MB / 462.1 MB Notification: Performance of Templates: time 0.004073/0.1988, allocations: 1.538 MB / 0.584 GB, free: 10.55 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)