Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 196.7 kB / 16.53 MB, free: 6.684 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.407/1.407, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00241/0.00241, allocations: 275 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002622/0.002622, allocations: 97.78 kB / 0.5954 GB, free: 27.81 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1724, allocations: 86.98 MB / 0.6804 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003148/0.1756, allocations: 1.414 MB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.1807, allocations: 2.846 MB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.1808, allocations: 0 / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.289e-05/0.1808, allocations: 3.938 kB / 0.6845 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.884e-05/0.1809, allocations: 19.84 kB / 0.6845 GB, free: 12.26 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.1852, allocations: 1.558 MB / 0.6861 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.1853, allocations: 39.73 kB / 0.6861 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.1853, allocations: 8 kB / 0.6861 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.1853, allocations: 7.938 kB / 0.6861 GB, free: 10.67 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.1854, allocations: 19.92 kB / 0.6861 GB, free: 10.65 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.1854, allocations: 4 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.1879, allocations: 1.423 MB / 0.6875 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.84e-05/0.1879, allocations: 7.984 kB / 0.6875 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.971e-05/0.1879, allocations: 15.88 kB / 0.6875 GB, free: 9.195 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001588/0.1895, allocations: 1.068 MB / 0.6886 GB, free: 8.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1895, allocations: 4 kB / 0.6886 GB, free: 8.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1895, allocations: 0 / 0.6886 GB, free: 8.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.1896, allocations: 0 / 0.6886 GB, free: 8.121 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.0007313/0.1903, allocations: 0.516 MB / 0.6891 GB, free: 7.559 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.1904, allocations: 8.031 kB / 0.6891 GB, free: 7.551 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.366e-05/0.1904, allocations: 110 kB / 0.6892 GB, free: 7.434 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.945e-05/0.1905, allocations: 84.12 kB / 0.6893 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.1908, allocations: 251.6 kB / 0.6895 GB, free: 7.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.953e-05/0.1908, allocations: 150.9 kB / 0.6897 GB, free: 6.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.1909, allocations: 158.9 kB / 0.6898 GB, free: 6.762 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.1911, allocations: 112.9 kB / 0.6899 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.734e-05/0.1911, allocations: 75.28 kB / 0.69 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.1912, allocations: 150.6 kB / 0.6901 GB, free: 6.422 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.1912, allocations: 150.6 kB / 0.6903 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.262e-05/0.1913, allocations: 150.6 kB / 0.6904 GB, free: 6.125 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1917, allocations: 469.9 kB / 0.6909 GB, free: 5.617 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.841e-05/0.1918, allocations: 173.1 kB / 0.691 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.1919, allocations: 84.14 kB / 0.6911 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/0.1919, allocations: 83.2 kB / 0.6912 GB, free: 5.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/0.192, allocations: 113.8 kB / 0.6913 GB, free: 5.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.192, allocations: 3.938 kB / 0.6913 GB, free: 5.145 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 8.453e-05/0.1921, allocations: 37.48 kB / 0.6914 GB, free: 5.102 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/0.1921, allocations: 130.7 kB / 0.6915 GB, free: 4.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1923, allocations: 132 kB / 0.6916 GB, free: 4.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.1923, allocations: 25.7 kB / 0.6916 GB, free: 4.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/0.1924, allocations: 88.05 kB / 0.6917 GB, free: 4.703 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.1924, allocations: 4 kB / 0.6917 GB, free: 4.699 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.1924, allocations: 25.7 kB / 0.6917 GB, free: 4.668 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1926, allocations: 310.8 kB / 0.692 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.1926, allocations: 8 kB / 0.692 GB, free: 4.348 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.517e-05/0.1926, allocations: 4 kB / 0.692 GB, free: 4.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.446e-05/0.1927, allocations: 12.84 kB / 0.6921 GB, free: 4.328 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1927, allocations: 0 / 0.6921 GB, free: 4.328 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001195/0.1928, allocations: 53.61 kB / 0.6921 GB, free: 4.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1928, allocations: 8 kB / 0.6921 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.1928, allocations: 4.062 kB / 0.6921 GB, free: 4.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1929, allocations: 3.984 kB / 0.6921 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.61e-07/0.1929, allocations: 0 / 0.6921 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1929, allocations: 4 kB / 0.6921 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.1929, allocations: 3.906 kB / 0.6921 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1929, allocations: 0 / 0.6921 GB, free: 4.246 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 0.0001107/0.193, allocations: 185.8 kB / 0.6923 GB, free: 4.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.053e-05/0.1931, allocations: 108.9 kB / 0.6924 GB, free: 3.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.844e-05/0.1932, allocations: 116.8 kB / 0.6925 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.638e-05/0.1932, allocations: 180.2 kB / 0.6927 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-05/0.1933, allocations: 176.3 kB / 0.6929 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-05/0.1934, allocations: 184.2 kB / 0.693 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.1937, allocations: 417.2 kB / 0.6934 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.219e-05/0.1937, allocations: 108.9 kB / 0.6935 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.1938, allocations: 109 kB / 0.6936 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-05/0.1938, allocations: 176.3 kB / 0.6938 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-05/0.1939, allocations: 180.2 kB / 0.694 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.827e-05/0.194, allocations: 180.3 kB / 0.6942 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-05/0.1941, allocations: 184.2 kB / 0.6943 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1943, allocations: 319.6 kB / 0.6946 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.1944, allocations: 186 kB / 0.6948 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.982e-05/0.1945, allocations: 184.2 kB / 0.695 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.643e-05/0.1946, allocations: 108.9 kB / 0.6951 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.78e-05/0.1946, allocations: 180.3 kB / 0.6953 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.1947, allocations: 104.9 kB / 0.6954 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.2e-05/0.1948, allocations: 101.6 kB / 0.6955 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1948, allocations: 0 / 0.6955 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006961/0.1955, allocations: 275.8 kB / 0.6957 GB, free: 344 kB / 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.001386/0.1969, allocations: 1.158 MB / 0.6969 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.197, allocations: 37.69 kB / 0.6969 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.197, allocations: 3.938 kB / 0.6969 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.197, allocations: 3.938 kB / 0.6969 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.1974, allocations: 464.8 kB / 0.6973 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.1989, allocations: 1.571 MB / 0.6989 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.1992, allocations: 0.6844 MB / 0.6996 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.23e-05/0.1992, allocations: 4.031 kB / 0.6996 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1993, allocations: 19.42 kB / 0.6996 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.1993, allocations: 0 / 0.6996 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.228, allocations: 6.883 MB / 0.7063 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.161, allocations: 15.75 kB / 0.7063 GB, free: 5.582 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)