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.001502/0.001502, allocations: 108 kB / 15.6 MB, free: 132 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.001584/0.001584, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.44/1.44, allocations: 222.9 MB / 240.2 MB, free: 4.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 286.9 kB / 290.7 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.068/1.068, allocations: 178.6 MB / 0.5073 GB, free: 4.531 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.0027, allocations: 97.38 kB / 0.6066 GB, free: 24.67 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1775, allocations: 89.15 MB / 0.6937 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002699/0.1802, allocations: 1.412 MB / 0.695 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00459/0.1849, allocations: 2.868 MB / 0.6978 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.1849, allocations: 0 / 0.6978 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.327e-05/0.185, allocations: 0 / 0.6978 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.092e-05/0.1851, allocations: 19.78 kB / 0.6979 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003712/0.1888, allocations: 1.552 MB / 0.6994 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.1889, allocations: 39.75 kB / 0.6994 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.1889, allocations: 0 / 0.6994 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.428e-05/0.1889, allocations: 23.91 kB / 0.6994 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.067e-05/0.189, allocations: 15.94 kB / 0.6995 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.189, allocations: 0 / 0.6995 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.1911, allocations: 1.423 MB / 0.7008 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.746e-05/0.1911, allocations: 8 kB / 0.7009 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.077e-05/0.1912, allocations: 15.86 kB / 0.7009 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.1925, allocations: 1.084 MB / 0.7019 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1925, allocations: 0 / 0.7019 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1926, allocations: 0 / 0.7019 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.758e-06/0.1926, allocations: 0 / 0.7019 GB, free: 11.67 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006155/0.1932, allocations: 0.5223 MB / 0.7024 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.1932, allocations: 12.03 kB / 0.7024 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.981e-05/0.1933, allocations: 106 kB / 0.7025 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.981e-05/0.1934, allocations: 76.22 kB / 0.7026 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1935, allocations: 248.9 kB / 0.7029 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.832e-05/0.1936, allocations: 158.9 kB / 0.703 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.524e-05/0.1937, allocations: 158.9 kB / 0.7032 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.327e-05/0.1938, allocations: 116.8 kB / 0.7033 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.1939, allocations: 75.28 kB / 0.7033 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.79e-05/0.1939, allocations: 150.6 kB / 0.7035 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.194, allocations: 150.6 kB / 0.7036 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.157e-05/0.1941, allocations: 150.6 kB / 0.7038 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1944, allocations: 465.9 kB / 0.7042 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.675e-05/0.1945, allocations: 177.1 kB / 0.7044 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.314e-05/0.1945, allocations: 84.14 kB / 0.7045 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.1946, allocations: 79.22 kB / 0.7045 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.1947, allocations: 113.8 kB / 0.7047 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1947, allocations: 3.938 kB / 0.7047 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.419e-05/0.1947, allocations: 29.7 kB / 0.7047 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.398e-05/0.1948, allocations: 130.6 kB / 0.7048 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.195, allocations: 135.1 kB / 0.7049 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.195, allocations: 25.7 kB / 0.705 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1951, allocations: 100.1 kB / 0.7051 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.1951, allocations: 0 / 0.7051 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.1951, allocations: 17.72 kB / 0.7051 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1953, allocations: 318.8 kB / 0.7054 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.097e-05/0.1953, allocations: 4 kB / 0.7054 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.1953, allocations: 8 kB / 0.7054 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.1954, allocations: 8.859 kB / 0.7054 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1954, allocations: 0 / 0.7054 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001363/0.1955, allocations: 61.53 kB / 0.7055 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.1955, allocations: 4 kB / 0.7055 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.1956, allocations: 8 kB / 0.7055 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1956, allocations: 4 kB / 0.7055 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.72e-07/0.1956, allocations: 0 / 0.7055 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.1956, allocations: 0 / 0.7055 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.1956, allocations: 0 / 0.7055 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1956, allocations: 0 / 0.7055 GB, free: 7.789 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 (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.0001158/0.1958, allocations: 185.1 kB / 0.7057 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.1958, allocations: 108.8 kB / 0.7058 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.166e-05/0.1959, allocations: 124.8 kB / 0.7059 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.57e-05/0.196, allocations: 176.3 kB / 0.706 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.526e-05/0.1961, allocations: 180.3 kB / 0.7062 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-05/0.1962, allocations: 180.2 kB / 0.7064 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.1964, allocations: 417.1 kB / 0.7068 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.958e-05/0.1965, allocations: 108.9 kB / 0.7069 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.1965, allocations: 105 kB / 0.707 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.587e-05/0.1966, allocations: 180.2 kB / 0.7072 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.69e-05/0.1967, allocations: 180.2 kB / 0.7073 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.442e-05/0.1968, allocations: 184.2 kB / 0.7075 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.439e-05/0.1968, allocations: 180.2 kB / 0.7077 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.197, allocations: 311.8 kB / 0.708 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.1971, allocations: 193.9 kB / 0.7082 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.541e-05/0.1972, allocations: 184.2 kB / 0.7083 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/0.1973, allocations: 104.9 kB / 0.7084 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.657e-05/0.1974, allocations: 180.3 kB / 0.7086 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.1974, allocations: 105 kB / 0.7087 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.598e-05/0.1975, allocations: 97.3 kB / 0.7088 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1975, allocations: 3.938 kB / 0.7088 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007129/0.1982, allocations: 279.8 kB / 0.7091 GB, free: 3.879 MB / 0.4981 GB 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.001316/0.1995, allocations: 1.159 MB / 0.7102 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1997, allocations: 37.7 kB / 0.7102 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1997, allocations: 3.938 kB / 0.7102 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.01e-06/0.1997, allocations: 3.938 kB / 0.7102 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000418/0.2001, allocations: 475.7 kB / 0.7107 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.2015, allocations: 1.561 MB / 0.7122 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2019, allocations: 0.6884 MB / 0.7129 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.154e-05/0.2019, allocations: 4.031 kB / 0.7129 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.2019, allocations: 11.44 kB / 0.7129 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.2019, allocations: 0 / 0.7129 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.2329, allocations: 6.888 MB / 0.7196 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/8.458, allocations: 11.83 kB / 0.7197 GB, free: 9.117 MB / 0.5137 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)