Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001533/0.001533, allocations: 196.6 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002135/0.002135, allocations: 278.9 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9205/0.9205, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 91.77 kB / 0.5947 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1727, allocations: 86.99 MB / 0.6797 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002389/0.1751, allocations: 1.475 MB / 0.6811 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003794/0.1789, allocations: 2.845 MB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.179, allocations: 0 / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.009e-05/0.179, allocations: 4.859 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.99e-05/0.1791, allocations: 15.86 kB / 0.6839 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.1826, allocations: 1.435 MB / 0.6853 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.482e-05/0.1827, allocations: 43.73 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1827, allocations: 4 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.688e-05/0.1828, allocations: 11.94 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.434e-05/0.1828, allocations: 23.84 kB / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1828, allocations: 0 / 0.6854 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001987/0.1848, allocations: 1.423 MB / 0.6868 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.1848, allocations: 3.984 kB / 0.6868 GB, free: 9.73 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.1849, allocations: 19.88 kB / 0.6868 GB, free: 9.711 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.1862, allocations: 1.057 MB / 0.6879 GB, free: 8.652 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1862, allocations: 0 / 0.6879 GB, free: 8.652 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.1862, allocations: 0 / 0.6879 GB, free: 8.652 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1863, allocations: 8 kB / 0.6879 GB, free: 8.645 MB / 494.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.0006423/0.1869, allocations: 0.5107 MB / 0.6884 GB, free: 8.086 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.187, allocations: 8.031 kB / 0.6884 GB, free: 8.078 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.852e-05/0.1871, allocations: 84.12 kB / 0.6884 GB, free: 7.996 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.1872, allocations: 251.6 kB / 0.6887 GB, free: 7.711 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.182e-05/0.1873, allocations: 150.9 kB / 0.6888 GB, free: 7.562 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.1874, allocations: 154.9 kB / 0.689 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.61e-05/0.1875, allocations: 109 kB / 0.6891 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.266e-05/0.1875, allocations: 79.28 kB / 0.6892 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.944e-05/0.1876, allocations: 150.6 kB / 0.6893 GB, free: 7.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.587e-05/0.1876, allocations: 150.6 kB / 0.6894 GB, free: 6.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.422e-05/0.1877, allocations: 150.6 kB / 0.6896 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.1881, allocations: 465.9 kB / 0.69 GB, free: 6.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1882, allocations: 173.1 kB / 0.6902 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.1882, allocations: 80.14 kB / 0.6903 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.1883, allocations: 75.28 kB / 0.6903 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.257e-05/0.1883, allocations: 121.7 kB / 0.6905 GB, free: 5.805 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 8.12e-07/0.1883, allocations: 4 kB / 0.6905 GB, free: 5.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.396e-05/0.1884, allocations: 33.59 kB / 0.6905 GB, free: 5.762 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.1885, allocations: 126.7 kB / 0.6906 GB, free: 5.625 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.1886, allocations: 135.8 kB / 0.6907 GB, free: 5.484 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.1887, allocations: 29.7 kB / 0.6908 GB, free: 5.449 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1887, allocations: 88.05 kB / 0.6909 GB, free: 5.359 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.1887, allocations: 7.938 kB / 0.6909 GB, free: 5.352 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.422e-05/0.1888, allocations: 17.72 kB / 0.6909 GB, free: 5.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1889, allocations: 318.8 kB / 0.6912 GB, free: 5.008 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.1889, allocations: 8 kB / 0.6912 GB, free: 5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.382e-05/0.1889, allocations: 0 / 0.6912 GB, free: 5 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.86e-05/0.189, allocations: 12.86 kB / 0.6912 GB, free: 4.984 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.189, allocations: 0 / 0.6912 GB, free: 4.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/0.1891, allocations: 49.62 kB / 0.6913 GB, free: 4.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1891, allocations: 4 kB / 0.6913 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.1892, allocations: 8.062 kB / 0.6913 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1892, allocations: 4 kB / 0.6913 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.1892, allocations: 0 / 0.6913 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1892, allocations: 3.938 kB / 0.6913 GB, free: 4.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.1892, allocations: 7.906 kB / 0.6913 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.1892, allocations: 0 / 0.6913 GB, free: 4.902 MB / 494.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: 0 * Record equations: 1 * 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 8.314e-05/0.1893, allocations: 185.8 kB / 0.6915 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.1894, allocations: 112.9 kB / 0.6916 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.77e-05/0.1894, allocations: 116.9 kB / 0.6917 GB, free: 4.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-05/0.1895, allocations: 180.2 kB / 0.6919 GB, free: 4.285 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.704e-05/0.1896, allocations: 180.3 kB / 0.692 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.728e-05/0.1897, allocations: 184.2 kB / 0.6922 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.1899, allocations: 417.2 kB / 0.6926 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.678e-05/0.1899, allocations: 108.9 kB / 0.6927 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.002e-05/0.19, allocations: 104.9 kB / 0.6928 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-05/0.19, allocations: 184.2 kB / 0.693 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/0.1901, allocations: 180.2 kB / 0.6931 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.465e-05/0.1902, allocations: 180.3 kB / 0.6933 GB, free: 2.672 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.338e-05/0.1902, allocations: 180.2 kB / 0.6935 GB, free: 2.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.1904, allocations: 311.7 kB / 0.6938 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.1905, allocations: 197.8 kB / 0.694 GB, free: 1.941 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.359e-05/0.1905, allocations: 176.3 kB / 0.6941 GB, free: 1.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.1906, allocations: 105 kB / 0.6942 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/0.1907, allocations: 192.2 kB / 0.6944 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.1907, allocations: 101 kB / 0.6945 GB, free: 1.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.206e-05/0.1908, allocations: 99.27 kB / 0.6946 GB, free: 1.254 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1908, allocations: 3.938 kB / 0.6946 GB, free: 1.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000625/0.1914, allocations: 275.8 kB / 0.6949 GB, free: 0.9805 MB / 494.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.0009769/0.1924, allocations: 0.5215 MB / 0.6954 GB, free: 460 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.1925, allocations: 41.58 kB / 0.6954 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1925, allocations: 0 / 0.6954 GB, free: 412 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.1925, allocations: 4.344 kB / 0.6954 GB, free: 408 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004118/0.1929, allocations: 463.6 kB / 0.6959 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.1933, allocations: 247.4 kB / 0.6961 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1935, allocations: 0.6844 MB / 0.6968 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.114e-05/0.1935, allocations: 0 / 0.6968 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.726e-06/0.1935, allocations: 11.44 kB / 0.6968 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of SimCode: time 3.6e-07/0.1935, allocations: 4 kB / 0.6968 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.00842/0.202, allocations: 5.48 MB / 0.7022 GB, free: 9.527 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)