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.001187/0.001187, 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.001189/0.001189, allocations: 192.9 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001989/0.001989, allocations: 287 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9362/0.9362, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 100.4 kB / 0.5954 GB, free: 27.8 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1741, allocations: 86.98 MB / 0.6803 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002388/0.1765, allocations: 1.415 MB / 0.6817 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003759/0.1803, allocations: 2.841 MB / 0.6845 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.812e-05/0.1803, allocations: 4 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.066e-05/0.1804, allocations: 3.938 kB / 0.6845 GB, free: 12.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.103e-05/0.1804, allocations: 11.86 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.1836, allocations: 1.565 MB / 0.686 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.1837, allocations: 39.73 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.1837, allocations: 4 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.1837, allocations: 15.92 kB / 0.6861 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.463e-05/0.1838, allocations: 11.92 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.796e-06/0.1838, allocations: 7.938 kB / 0.6861 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.1855, allocations: 1.423 MB / 0.6875 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.909e-06/0.1855, allocations: 0 / 0.6875 GB, free: 9.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1856, allocations: 27.86 kB / 0.6875 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.1867, allocations: 1.068 MB / 0.6886 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1867, allocations: 0 / 0.6886 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1867, allocations: 0 / 0.6886 GB, free: 8.082 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.1868, allocations: 0 / 0.6886 GB, free: 8.082 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.0005473/0.1873, allocations: 0.5107 MB / 0.6891 GB, free: 7.523 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1873, allocations: 12.03 kB / 0.6891 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.782e-05/0.1874, allocations: 110 kB / 0.6892 GB, free: 7.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.585e-05/0.1875, allocations: 80.12 kB / 0.6893 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1876, allocations: 251.6 kB / 0.6895 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.857e-05/0.1877, allocations: 158.9 kB / 0.6897 GB, free: 6.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.311e-05/0.1877, allocations: 150.9 kB / 0.6898 GB, free: 6.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.908e-05/0.1878, allocations: 108.9 kB / 0.6899 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.1878, allocations: 75.28 kB / 0.69 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.1878, allocations: 154.6 kB / 0.6901 GB, free: 6.387 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.1879, allocations: 150.6 kB / 0.6903 GB, free: 6.238 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.501e-05/0.1879, allocations: 150.6 kB / 0.6904 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.1882, allocations: 469.8 kB / 0.6909 GB, free: 5.582 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.146e-05/0.1883, allocations: 181.2 kB / 0.691 GB, free: 5.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.1883, allocations: 80.14 kB / 0.6911 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1883, allocations: 79.22 kB / 0.6912 GB, free: 5.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.1884, allocations: 109.8 kB / 0.6913 GB, free: 5.117 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.1884, allocations: 0 / 0.6913 GB, free: 5.117 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.323e-05/0.1884, allocations: 41.53 kB / 0.6913 GB, free: 5.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.1885, allocations: 130.7 kB / 0.6915 GB, free: 4.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1886, allocations: 131.9 kB / 0.6916 GB, free: 4.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.1886, allocations: 25.7 kB / 0.6916 GB, free: 4.762 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.1887, allocations: 99.97 kB / 0.6917 GB, free: 4.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.1887, allocations: 0 / 0.6917 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.1887, allocations: 21.7 kB / 0.6917 GB, free: 4.633 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.1888, allocations: 310.8 kB / 0.692 GB, free: 4.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.2e-05/0.1889, allocations: 8 kB / 0.692 GB, free: 4.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.1889, allocations: 4 kB / 0.692 GB, free: 4.309 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.1889, allocations: 20.92 kB / 0.6921 GB, free: 4.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1889, allocations: 3.984 kB / 0.6921 GB, free: 4.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001065/0.189, allocations: 49.58 kB / 0.6921 GB, free: 4.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.189, allocations: 4 kB / 0.6921 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1891, allocations: 0 / 0.6921 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.1891, allocations: 4 kB / 0.6921 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.1891, allocations: 0 / 0.6921 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1891, allocations: 0 / 0.6921 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.007e-05/0.1891, allocations: 3.906 kB / 0.6921 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.1891, allocations: 3.984 kB / 0.6921 GB, free: 4.211 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 7.882e-05/0.1892, allocations: 193.8 kB / 0.6923 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.1893, allocations: 104.9 kB / 0.6924 GB, free: 3.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.1893, allocations: 112.8 kB / 0.6925 GB, free: 3.781 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.391e-05/0.1894, allocations: 176.3 kB / 0.6927 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.284e-05/0.1894, allocations: 184.2 kB / 0.6929 GB, free: 3.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.842e-05/0.1895, allocations: 188.3 kB / 0.693 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.1897, allocations: 409.2 kB / 0.6934 GB, free: 2.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.869e-05/0.1897, allocations: 108.9 kB / 0.6935 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.1898, allocations: 101 kB / 0.6936 GB, free: 2.547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.998e-05/0.1898, allocations: 184.2 kB / 0.6938 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.605e-05/0.1899, allocations: 188.3 kB / 0.694 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.206e-05/0.1899, allocations: 180.3 kB / 0.6942 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.047e-05/0.19, allocations: 180.2 kB / 0.6943 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1901, allocations: 319.6 kB / 0.6946 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.1902, allocations: 189.9 kB / 0.6948 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.444e-05/0.1902, allocations: 180.3 kB / 0.695 GB, free: 1.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.821e-05/0.1903, allocations: 104.9 kB / 0.6951 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.1904, allocations: 180.2 kB / 0.6953 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.1904, allocations: 108.9 kB / 0.6954 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.313e-05/0.1905, allocations: 101.8 kB / 0.6955 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1905, allocations: 0 / 0.6955 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.1911, allocations: 271.8 kB / 0.6957 GB, free: 308 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.001109/0.1922, allocations: 1.158 MB / 0.6969 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.001e-05/0.1923, allocations: 45.58 kB / 0.6969 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1923, allocations: 0 / 0.6969 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.837e-06/0.1923, allocations: 11.98 kB / 0.6969 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1927, allocations: 460.7 kB / 0.6973 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.1938, allocations: 1.567 MB / 0.6989 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.194, allocations: 0.6844 MB / 0.6995 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.246e-05/0.194, allocations: 4 kB / 0.6995 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.719e-05/0.1941, allocations: 11.44 kB / 0.6996 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of SimCode: time 2.144e-06/0.1941, allocations: 0 / 0.6996 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.2188, allocations: 6.903 MB / 0.7063 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.516/7.734, allocations: 8.359 kB / 0.7063 GB, free: 5.535 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)