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.001311/0.001311, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001096/0.001096, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.305/1.305, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 282.6 kB / 290.2 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9215/0.9215, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 86.88 kB / 0.5946 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1729, allocations: 86.99 MB / 0.6795 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002509/0.1755, allocations: 1.476 MB / 0.6809 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.1796, allocations: 2.969 MB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.056e-05/0.1796, allocations: 0 / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.1797, allocations: 0 / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.392e-05/0.1797, allocations: 15.86 kB / 0.6839 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00313/0.1829, allocations: 1.365 MB / 0.6852 GB, free: 11.26 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.1829, allocations: 35.75 kB / 0.6852 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.183, allocations: 11.94 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.183, allocations: 19.86 kB / 0.6853 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.258e-05/0.183, allocations: 11.94 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.612e-05/0.1831, allocations: 4 kB / 0.6853 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.185, allocations: 1.427 MB / 0.6867 GB, free: 9.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.185, allocations: 3.984 kB / 0.6867 GB, free: 9.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.1851, allocations: 23.86 kB / 0.6867 GB, free: 9.723 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001293/0.1864, allocations: 1.084 MB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1864, allocations: 0 / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1864, allocations: 4 kB / 0.6878 GB, free: 8.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1864, allocations: 0 / 0.6878 GB, free: 8.633 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.0005602/0.187, allocations: 0.5108 MB / 0.6883 GB, free: 8.074 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.187, allocations: 12.03 kB / 0.6883 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.1871, allocations: 80.12 kB / 0.6883 GB, free: 7.984 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.1873, allocations: 257.2 kB / 0.6886 GB, free: 7.695 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.1873, allocations: 150.9 kB / 0.6887 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.516e-05/0.1874, allocations: 158.9 kB / 0.6889 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.721e-05/0.1874, allocations: 109 kB / 0.689 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.145e-05/0.1875, allocations: 75.28 kB / 0.6891 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.1875, allocations: 150.6 kB / 0.6892 GB, free: 7.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.768e-05/0.1876, allocations: 150.6 kB / 0.6893 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.1876, allocations: 154.6 kB / 0.6895 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000272/0.1879, allocations: 469.9 kB / 0.6899 GB, free: 6.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.796e-05/0.188, allocations: 169.1 kB / 0.6901 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.751e-05/0.188, allocations: 84.14 kB / 0.6902 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.188, allocations: 75.28 kB / 0.6903 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.1881, allocations: 113.8 kB / 0.6904 GB, free: 5.789 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.037e-05/0.1881, allocations: 0 / 0.6904 GB, free: 5.789 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.114e-05/0.1882, allocations: 37.55 kB / 0.6904 GB, free: 5.746 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.1882, allocations: 126.7 kB / 0.6905 GB, free: 5.609 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1884, allocations: 129.8 kB / 0.6906 GB, free: 5.473 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.1884, allocations: 25.7 kB / 0.6907 GB, free: 5.441 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.569e-05/0.1884, allocations: 96.03 kB / 0.6908 GB, free: 5.344 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-06/0.1884, allocations: 4.016 kB / 0.6908 GB, free: 5.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1885, allocations: 21.66 kB / 0.6908 GB, free: 5.312 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1886, allocations: 318.8 kB / 0.6911 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.1886, allocations: 4 kB / 0.6911 GB, free: 4.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.1886, allocations: 4.016 kB / 0.6911 GB, free: 4.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.607e-05/0.1887, allocations: 16.89 kB / 0.6911 GB, free: 4.965 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1887, allocations: 0 / 0.6911 GB, free: 4.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001119/0.1888, allocations: 45.62 kB / 0.6912 GB, free: 4.914 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1888, allocations: 10.25 kB / 0.6912 GB, free: 4.906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.1888, allocations: 4 kB / 0.6912 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1889, allocations: 3.938 kB / 0.6912 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.1889, allocations: 4 kB / 0.6912 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1889, allocations: 0 / 0.6912 GB, free: 4.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.1889, allocations: 11.78 kB / 0.6912 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.1889, allocations: 0 / 0.6912 GB, free: 4.883 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 9.635e-05/0.189, allocations: 193.8 kB / 0.6914 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.1891, allocations: 112.9 kB / 0.6915 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.1891, allocations: 112.9 kB / 0.6916 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.895e-05/0.1892, allocations: 180.2 kB / 0.6918 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.919e-05/0.1893, allocations: 180.3 kB / 0.6919 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.133e-05/0.1893, allocations: 188.2 kB / 0.6921 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002077/0.1895, allocations: 405.2 kB / 0.6925 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-05/0.1896, allocations: 108.9 kB / 0.6926 GB, free: 3.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.981e-05/0.1896, allocations: 108.9 kB / 0.6927 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.007e-05/0.1897, allocations: 180.3 kB / 0.6929 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.14e-05/0.1898, allocations: 184.2 kB / 0.6931 GB, free: 2.836 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.818e-05/0.1898, allocations: 176.3 kB / 0.6932 GB, free: 2.656 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-05/0.1899, allocations: 184.2 kB / 0.6934 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.19, allocations: 311.7 kB / 0.6937 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-05/0.1901, allocations: 197.9 kB / 0.6939 GB, free: 1.922 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.179e-05/0.1902, allocations: 176.3 kB / 0.694 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.015e-05/0.1902, allocations: 108.9 kB / 0.6942 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.868e-05/0.1903, allocations: 184.2 kB / 0.6943 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.1904, allocations: 109 kB / 0.6944 GB, free: 1.328 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.252e-05/0.1904, allocations: 103.2 kB / 0.6945 GB, free: 1.227 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1904, allocations: 0 / 0.6945 GB, free: 1.227 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007458/0.1912, allocations: 279.8 kB / 0.6948 GB, free: 0.9531 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.0009969/0.1922, allocations: 0.509 MB / 0.6953 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.343e-05/0.1923, allocations: 45.62 kB / 0.6953 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.1923, allocations: 0 / 0.6953 GB, free: 396 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.1923, allocations: 3.938 kB / 0.6953 GB, free: 392 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/0.1927, allocations: 0.5263 MB / 0.6959 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.1931, allocations: 253.8 kB / 0.6961 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.1933, allocations: 0.6809 MB / 0.6968 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.208e-05/0.1933, allocations: 0 / 0.6968 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-06/0.1933, allocations: 15.44 kB / 0.6968 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1933, allocations: 0 / 0.6968 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.008857/0.2022, allocations: 5.48 MB / 0.7021 GB, free: 9.434 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)