Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001369/0.001369, allocations: 193.1 kB / 16.14 MB, free: 6.715 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002466/0.002466, allocations: 287.1 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5068 GB, free: 4.785 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004054/0.004054, allocations: 101.5 kB / 0.6058 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1707, allocations: 89.16 MB / 0.6928 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004326/0.1751, allocations: 3.059 MB / 0.6958 GB, free: 1.719 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.1778, allocations: 2.11 MB / 0.6979 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001567/0.1779, allocations: 8 kB / 0.6979 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.1792, allocations: 478 kB / 0.6983 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.1794, allocations: 127.2 kB / 0.6985 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001097/0.1796, allocations: 55.91 kB / 0.6985 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.18, allocations: 469.8 kB / 0.699 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.1803, allocations: 135.9 kB / 0.6991 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.1805, allocations: 151.3 kB / 0.6992 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.1807, allocations: 179.2 kB / 0.6994 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.398e-05/0.1807, allocations: 24 kB / 0.6994 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.238e-05/0.1808, allocations: 24 kB / 0.6995 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001068/0.1809, allocations: 87.61 kB / 0.6995 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.1811, allocations: 202.9 kB / 0.6997 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.1816, allocations: 0.5371 MB / 0.7003 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1816, allocations: 0 / 0.7003 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.21e-07/0.1816, allocations: 0 / 0.7003 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.1816, allocations: 0 / 0.7003 GB, free: 13.15 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001024/0.1826, allocations: 0.6967 MB / 0.7009 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.1827, allocations: 8.031 kB / 0.701 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.1827, allocations: 48.38 kB / 0.701 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004532/0.1832, allocations: 374.1 kB / 0.7014 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.1832, allocations: 16.81 kB / 0.7014 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.1833, allocations: 24.38 kB / 0.7014 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.1837, allocations: 207.6 kB / 0.7016 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1837, allocations: 0 / 0.7016 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.1837, allocations: 8 kB / 0.7016 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1838, allocations: 11.98 kB / 0.7016 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003842/0.1841, allocations: 157.7 kB / 0.7018 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001175/0.1853, allocations: 0.8738 MB / 0.7026 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.1856, allocations: 157 kB / 0.7028 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.1859, allocations: 108.8 kB / 0.7029 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.1859, allocations: 0 / 0.7029 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.1859, allocations: 42.5 kB / 0.7029 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.1859, allocations: 0 / 0.7029 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005895/0.1865, allocations: 259 kB / 0.7032 GB, free: 10 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1866, allocations: 51.41 kB / 0.7032 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/0.1871, allocations: 421.7 kB / 0.7036 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1871, allocations: 29.7 kB / 0.7036 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.1872, allocations: 200.2 kB / 0.7038 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.1873, allocations: 67.08 kB / 0.7039 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-05/0.1874, allocations: 33.72 kB / 0.7039 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1875, allocations: 350.8 kB / 0.7043 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.1877, allocations: 55.92 kB / 0.7043 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.1878, allocations: 63.91 kB / 0.7044 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002887/0.1881, allocations: 130.5 kB / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1881, allocations: 0 / 0.7045 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003875/0.1885, allocations: 211.2 kB / 0.7047 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.1885, allocations: 7.938 kB / 0.7047 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1886, allocations: 3.984 kB / 0.7047 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1886, allocations: 7.938 kB / 0.7047 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002481/0.1888, allocations: 59.89 kB / 0.7048 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1888, allocations: 0 / 0.7048 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.189, allocations: 27.83 kB / 0.7048 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.189, allocations: 4 kB / 0.7048 GB, free: 8.266 MB / 0.4981 GB 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001594/0.1892, allocations: 157.8 kB / 0.705 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.1893, allocations: 39.53 kB / 0.705 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.668e-05/0.1893, allocations: 47.52 kB / 0.705 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1893, allocations: 0 / 0.705 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1894, allocations: 0 / 0.705 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1894, allocations: 0 / 0.705 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004246/0.1898, allocations: 373.3 kB / 0.7054 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.1898, allocations: 15.86 kB / 0.7054 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.1901, allocations: 47.97 kB / 0.7055 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1901, allocations: 0 / 0.7055 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.534e-05/0.1901, allocations: 11.94 kB / 0.7055 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.1901, allocations: 4 kB / 0.7055 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1901, allocations: 0 / 0.7055 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.1907, allocations: 385.3 kB / 0.7058 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1908, allocations: 116.7 kB / 0.7059 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.612e-05/0.1909, allocations: 7.938 kB / 0.706 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.1911, allocations: 11.98 kB / 0.706 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.698e-05/0.1911, allocations: 11.98 kB / 0.706 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.1911, allocations: 4 kB / 0.706 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003401/0.1915, allocations: 299.2 kB / 0.7063 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1915, allocations: 0 / 0.7063 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003101/0.1918, allocations: 79.81 kB / 0.7063 GB, free: 6.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001226/0.1919, allocations: 111.2 kB / 0.7064 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.1923, allocations: 135.9 kB / 0.7066 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1923, allocations: 0 / 0.7066 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.1925, allocations: 83.89 kB / 0.7067 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005884/0.1931, allocations: 90.05 kB / 0.7067 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.1944, allocations: 0.8763 MB / 0.7076 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/0.1949, allocations: 0.7953 MB / 0.7084 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.195, allocations: 34.97 kB / 0.7084 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.1951, allocations: 23.44 kB / 0.7084 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of SimCode: time 2.224e-06/0.1951, allocations: 0 / 0.7084 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of Templates: time 0.008387/0.2035, allocations: 3.722 MB / 0.7121 GB, free: 0.7852 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)