Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007695/0.0007695, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.0008073/0.0008073, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001768/0.001768, allocations: 269.6 kB / 291.3 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9317/0.9317, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004314/0.0004314, allocations: 20.69 kB / 0.5981 GB, free: 28.26 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 88.54 MB / 0.6845 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001464/0.1816, allocations: 1.146 MB / 0.6857 GB, free: 14.24 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003783/0.1854, allocations: 2.65 MB / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.491e-05/0.1855, allocations: 0 / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.1855, allocations: 3.984 kB / 0.6882 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.48e-05/0.1856, allocations: 12.61 kB / 0.6883 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.1883, allocations: 1.259 MB / 0.6895 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.1884, allocations: 47.67 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.599e-05/0.1885, allocations: 0 / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.1885, allocations: 23.92 kB / 0.6896 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.1885, allocations: 15.92 kB / 0.6896 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.1886, allocations: 0 / 0.6896 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.1902, allocations: 1.252 MB / 0.6908 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.1902, allocations: 0 / 0.6908 GB, free: 9.008 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.1903, allocations: 33.64 kB / 0.6908 GB, free: 8.969 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008084/0.1911, allocations: 0.7018 MB / 0.6915 GB, free: 8.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1911, allocations: 0 / 0.6915 GB, free: 8.266 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1911, allocations: 4 kB / 0.6915 GB, free: 8.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.1911, allocations: 0 / 0.6915 GB, free: 8.262 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.0004873/0.1916, allocations: 0.5105 MB / 0.692 GB, free: 7.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1916, allocations: 12.03 kB / 0.692 GB, free: 7.691 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.847e-05/0.1917, allocations: 79.19 kB / 0.6921 GB, free: 7.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.1918, allocations: 248.8 kB / 0.6923 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.087e-05/0.1919, allocations: 154.6 kB / 0.6925 GB, free: 7.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.861e-05/0.192, allocations: 150.6 kB / 0.6926 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.849e-05/0.192, allocations: 112.9 kB / 0.6927 GB, free: 6.914 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.192, allocations: 75.28 kB / 0.6928 GB, free: 6.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.1921, allocations: 154.5 kB / 0.693 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.1922, allocations: 150.6 kB / 0.6931 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.367e-05/0.1922, allocations: 154.6 kB / 0.6932 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000275/0.1925, allocations: 469.9 kB / 0.6937 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.163e-05/0.1926, allocations: 173.1 kB / 0.6939 GB, free: 5.699 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.815e-05/0.1926, allocations: 80.14 kB / 0.6939 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1926, allocations: 75.28 kB / 0.694 GB, free: 5.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.1927, allocations: 109.8 kB / 0.6941 GB, free: 5.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1927, allocations: 0 / 0.6941 GB, free: 5.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.845e-05/0.1928, allocations: 37.59 kB / 0.6941 GB, free: 5.383 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1928, allocations: 130.6 kB / 0.6943 GB, free: 5.242 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.193, allocations: 134 kB / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.193, allocations: 25.7 kB / 0.6944 GB, free: 5.07 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.193, allocations: 96.05 kB / 0.6945 GB, free: 4.973 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.193, allocations: 0 / 0.6945 GB, free: 4.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.193, allocations: 0 / 0.6945 GB, free: 4.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.1931, allocations: 330.8 kB / 0.6948 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.1932, allocations: 3.938 kB / 0.6948 GB, free: 4.637 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.429e-05/0.1932, allocations: 4 kB / 0.6948 GB, free: 4.633 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.575e-05/0.1932, allocations: 8 kB / 0.6948 GB, free: 4.625 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1932, allocations: 0 / 0.6948 GB, free: 4.625 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001218/0.1934, allocations: 49.69 kB / 0.6949 GB, free: 4.57 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1934, allocations: 4 kB / 0.6949 GB, free: 4.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.1934, allocations: 4 kB / 0.6949 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.1934, allocations: 0 / 0.6949 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.1934, allocations: 4.062 kB / 0.6949 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.1934, allocations: 3.953 kB / 0.6949 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.1935, allocations: 7.906 kB / 0.6949 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.1935, allocations: 64 / 0.6949 GB, free: 4.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.372e-05/0.1936, allocations: 185.1 kB / 0.6951 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.1936, allocations: 112.9 kB / 0.6952 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.764e-05/0.1937, allocations: 116.8 kB / 0.6953 GB, free: 4.113 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.743e-05/0.1938, allocations: 184.2 kB / 0.6955 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.958e-05/0.1938, allocations: 176.3 kB / 0.6957 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.483e-05/0.1939, allocations: 184.2 kB / 0.6958 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.1941, allocations: 417.2 kB / 0.6962 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.1941, allocations: 101 kB / 0.6963 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/0.1942, allocations: 108.9 kB / 0.6964 GB, free: 2.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.548e-05/0.1942, allocations: 180.3 kB / 0.6966 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.046e-05/0.1943, allocations: 184.2 kB / 0.6968 GB, free: 2.504 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.508e-05/0.1943, allocations: 180.5 kB / 0.6969 GB, free: 2.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.589e-05/0.1944, allocations: 184.3 kB / 0.6971 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001139/0.1945, allocations: 311.8 kB / 0.6974 GB, free: 1.805 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1946, allocations: 189.9 kB / 0.6976 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.1947, allocations: 184.3 kB / 0.6978 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.164e-05/0.1947, allocations: 101 kB / 0.6979 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/0.1948, allocations: 180.2 kB / 0.698 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.1949, allocations: 109 kB / 0.6982 GB, free: 1.004 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.1949, allocations: 101 kB / 0.6982 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1949, allocations: 0 / 0.6982 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005957/0.1955, allocations: 287.7 kB / 0.6985 GB, free: 0.625 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000845/0.1964, allocations: 0.4902 MB / 0.699 GB, free: 128 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.722e-05/0.1965, allocations: 49.62 kB / 0.699 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1965, allocations: 0 / 0.699 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.533e-06/0.1965, allocations: 0 / 0.699 GB, free: 72 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.1969, allocations: 0.5303 MB / 0.6996 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.1972, allocations: 267.7 kB / 0.6998 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.1974, allocations: 0.6848 MB / 0.7005 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.365e-05/0.1974, allocations: 3.984 kB / 0.7005 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.014e-05/0.1975, allocations: 7.438 kB / 0.7005 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of SimCode: time 1.91e-07/0.1975, allocations: 0 / 0.7005 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of Templates: time 0.008746/0.2062, allocations: 5.615 MB / 0.706 GB, free: 8.965 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)