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.001558/0.001558, 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.001909/0.001909, allocations: 190.9 kB / 16.14 MB, free: 6.707 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.304/1.304, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003398/0.003398, allocations: 282.9 kB / 290.2 MB, free: 2.223 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9668/0.9668, allocations: 169.2 MB / 0.4977 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00313/0.00313, allocations: 91.12 kB / 0.5945 GB, free: 28.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/0.1846, allocations: 86.98 MB / 0.6795 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003735/0.1884, allocations: 3.056 MB / 0.6825 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.1907, allocations: 2.107 MB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1909, allocations: 4 kB / 0.6845 GB, free: 12 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.1921, allocations: 482 kB / 0.685 GB, free: 11.52 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002203/0.1923, allocations: 139.1 kB / 0.6851 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001013/0.1924, allocations: 43.98 kB / 0.6852 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003997/0.1928, allocations: 468.6 kB / 0.6856 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.193, allocations: 131.9 kB / 0.6857 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.1932, allocations: 147.3 kB / 0.6859 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1934, allocations: 179.2 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.008e-05/0.1934, allocations: 27.94 kB / 0.6861 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.1935, allocations: 24 kB / 0.6861 GB, free: 10.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.783e-05/0.1936, allocations: 91.59 kB / 0.6862 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.1938, allocations: 203 kB / 0.6864 GB, free: 10.1 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.1942, allocations: 0.5332 MB / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1942, allocations: 0 / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1942, allocations: 0 / 0.6869 GB, free: 9.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1942, allocations: 4 kB / 0.6869 GB, free: 9.559 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009182/0.1952, allocations: 0.6928 MB / 0.6876 GB, free: 8.816 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1952, allocations: 16.02 kB / 0.6876 GB, free: 8.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.862e-05/0.1953, allocations: 44.38 kB / 0.6876 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/0.1957, allocations: 378.1 kB / 0.688 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1957, allocations: 16.81 kB / 0.688 GB, free: 8.336 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.1958, allocations: 20.38 kB / 0.688 GB, free: 8.316 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.1961, allocations: 203.6 kB / 0.6882 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1962, allocations: 3.938 kB / 0.6882 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.1962, allocations: 4 kB / 0.6882 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1962, allocations: 8 kB / 0.6882 GB, free: 8.098 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.1966, allocations: 165.6 kB / 0.6884 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1977, allocations: 0.8739 MB / 0.6893 GB, free: 6.988 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002795/0.198, allocations: 156.7 kB / 0.6894 GB, free: 6.828 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.1982, allocations: 112.8 kB / 0.6895 GB, free: 6.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.1982, allocations: 4 kB / 0.6895 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.1982, allocations: 38.55 kB / 0.6895 GB, free: 6.664 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.1982, allocations: 4 kB / 0.6896 GB, free: 6.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005754/0.1988, allocations: 251.6 kB / 0.6898 GB, free: 6.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.1989, allocations: 51.41 kB / 0.6898 GB, free: 6.348 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004375/0.1993, allocations: 417.7 kB / 0.6902 GB, free: 5.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1993, allocations: 25.7 kB / 0.6903 GB, free: 5.898 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1995, allocations: 212.1 kB / 0.6905 GB, free: 5.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.156e-05/0.1995, allocations: 63.11 kB / 0.6905 GB, free: 5.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/0.1996, allocations: 37.7 kB / 0.6906 GB, free: 5.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.1997, allocations: 346.8 kB / 0.6909 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1999, allocations: 59.86 kB / 0.691 GB, free: 5.172 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2, allocations: 59.97 kB / 0.691 GB, free: 5.113 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2003, allocations: 136.1 kB / 0.6911 GB, free: 4.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2003, allocations: 8 kB / 0.6911 GB, free: 4.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003567/0.2007, allocations: 201.1 kB / 0.6913 GB, free: 4.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.2007, allocations: 8 kB / 0.6913 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2007, allocations: 0 / 0.6913 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.2007, allocations: 3.938 kB / 0.6913 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.201, allocations: 51.91 kB / 0.6914 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.201, allocations: 7.938 kB / 0.6914 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.2012, allocations: 27.83 kB / 0.6914 GB, free: 4.672 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2012, allocations: 4 kB / 0.6914 GB, free: 4.668 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 (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.0001373/0.2013, allocations: 163.1 kB / 0.6916 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.371e-05/0.2014, allocations: 35.53 kB / 0.6916 GB, free: 4.465 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.336e-05/0.2015, allocations: 43.53 kB / 0.6917 GB, free: 4.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2015, allocations: 7.875 kB / 0.6917 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2015, allocations: 4 kB / 0.6917 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.2015, allocations: 3.984 kB / 0.6917 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.2019, allocations: 373.4 kB / 0.692 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.2019, allocations: 0 / 0.692 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002536/0.2021, allocations: 47.97 kB / 0.6921 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2021, allocations: 4 kB / 0.6921 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.875e-05/0.2022, allocations: 11.92 kB / 0.6921 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2022, allocations: 0 / 0.6921 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2022, allocations: 0 / 0.6921 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005639/0.2027, allocations: 378.8 kB / 0.6925 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.013e-05/0.2028, allocations: 120.6 kB / 0.6926 GB, free: 3.402 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.2029, allocations: 7.938 kB / 0.6926 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.2031, allocations: 11.98 kB / 0.6926 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.2031, allocations: 11.98 kB / 0.6926 GB, free: 3.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2031, allocations: 4 kB / 0.6926 GB, free: 3.367 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002884/0.2034, allocations: 311.2 kB / 0.6929 GB, free: 3.066 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2034, allocations: 0 / 0.6929 GB, free: 3.066 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.2037, allocations: 71.84 kB / 0.693 GB, free: 2.996 MB / 494.1 MB 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.0001078/0.2038, allocations: 99.25 kB / 0.6931 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003406/0.2042, allocations: 156.1 kB / 0.6932 GB, free: 2.742 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2042, allocations: 0 / 0.6932 GB, free: 2.742 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.2044, allocations: 79.91 kB / 0.6933 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.205, allocations: 89.42 kB / 0.6934 GB, free: 2.578 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2061, allocations: 0.8685 MB / 0.6942 GB, free: 1.688 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003098/0.2064, allocations: 0.7953 MB / 0.695 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.2066, allocations: 38.95 kB / 0.695 GB, free: 0.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2066, allocations: 23.44 kB / 0.6951 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2066, allocations: 0 / 0.6951 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of Templates: time 0.006762/0.2134, allocations: 3.726 MB / 0.6987 GB, free: 13.21 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)