Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.006814/0.006814, allocations: 99.44 kB / 15.73 MB, free: 5.996 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.001812/0.001812, allocations: 197.6 kB / 16.68 MB, free: 5.918 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8458/0.8458, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 70.2 kB / 0.5951 GB, free: 12.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1735, allocations: 82.03 MB / 0.6753 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002641/0.1761, allocations: 1.427 MB / 0.6766 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.1803, allocations: 2.852 MB / 0.6794 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.525e-05/0.1804, allocations: 0 / 0.6794 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.574e-05/0.1804, allocations: 3.938 kB / 0.6794 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.826e-05/0.1805, allocations: 15.86 kB / 0.6794 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.1845, allocations: 1.561 MB / 0.681 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.519e-05/0.1846, allocations: 47.73 kB / 0.681 GB, free: 4.895 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.941e-05/0.1847, allocations: 4 kB / 0.681 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.82e-05/0.1847, allocations: 11.92 kB / 0.681 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.891e-05/0.1847, allocations: 19.88 kB / 0.6811 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.1848, allocations: 4 kB / 0.6811 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.1871, allocations: 1.482 MB / 0.6825 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.1871, allocations: 4 kB / 0.6825 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.1872, allocations: 19.86 kB / 0.6825 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.189, allocations: 1.077 MB / 0.6836 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.189, allocations: 0 / 0.6836 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.402e-06/0.189, allocations: 4 kB / 0.6836 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.298e-05/0.1891, allocations: 4 kB / 0.6836 GB, free: 2.262 MB / 0.5137 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.0007147/0.1898, allocations: 0.5146 MB / 0.6841 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1898, allocations: 8.031 kB / 0.6841 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.551e-05/0.1899, allocations: 110 kB / 0.6842 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.1899, allocations: 80.22 kB / 0.6843 GB, free: 1.496 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.1901, allocations: 251.5 kB / 0.6845 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/0.1902, allocations: 162.9 kB / 0.6847 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.1902, allocations: 150.9 kB / 0.6848 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.007e-05/0.1903, allocations: 108.9 kB / 0.6849 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.1903, allocations: 79.28 kB / 0.685 GB, free: 0.7109 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.314e-05/0.1904, allocations: 150.6 kB / 0.6851 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.045e-05/0.1904, allocations: 150.6 kB / 0.6853 GB, free: 424 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.315e-05/0.1904, allocations: 154.6 kB / 0.6854 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.1907, allocations: 465.8 kB / 0.6859 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/0.1908, allocations: 169.1 kB / 0.686 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.1909, allocations: 80.14 kB / 0.6861 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1909, allocations: 83.22 kB / 0.6862 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.191, allocations: 113.8 kB / 0.6863 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.191, allocations: 0 / 0.6863 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.231e-05/0.191, allocations: 29.69 kB / 0.6863 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.1911, allocations: 130.6 kB / 0.6865 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.1912, allocations: 136.6 kB / 0.6866 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1913, allocations: 29.7 kB / 0.6866 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.1913, allocations: 92.05 kB / 0.6867 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.1913, allocations: 0 / 0.6867 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1914, allocations: 13.72 kB / 0.6867 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.1915, allocations: 322.8 kB / 0.687 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.1915, allocations: 4 kB / 0.687 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.1915, allocations: 4 kB / 0.687 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.261e-05/0.1916, allocations: 20.94 kB / 0.687 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1916, allocations: 4.031 kB / 0.6871 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.1917, allocations: 49.62 kB / 0.6871 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1918, allocations: 7.938 kB / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.1918, allocations: 4 kB / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1918, allocations: 0 / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.1918, allocations: 0 / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.1918, allocations: 0 / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.1919, allocations: 7.906 kB / 0.6871 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1919, allocations: 0 / 0.6871 GB, free: 14.4 MB / 0.5294 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 9.092e-05/0.192, allocations: 189.1 kB / 0.6873 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.192, allocations: 108.9 kB / 0.6874 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.697e-05/0.1921, allocations: 120.7 kB / 0.6875 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.525e-05/0.1921, allocations: 176.3 kB / 0.6877 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.285e-05/0.1922, allocations: 180.2 kB / 0.6879 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.72e-05/0.1923, allocations: 180.2 kB / 0.688 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.1925, allocations: 421.2 kB / 0.6884 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.782e-05/0.1925, allocations: 104.9 kB / 0.6885 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.89e-05/0.1926, allocations: 101 kB / 0.6886 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.579e-05/0.1926, allocations: 188.2 kB / 0.6888 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.695e-05/0.1927, allocations: 180.2 kB / 0.689 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.1927, allocations: 180.3 kB / 0.6892 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-05/0.1928, allocations: 184.2 kB / 0.6893 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.1929, allocations: 315.7 kB / 0.6896 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.193, allocations: 185.9 kB / 0.6898 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/0.1931, allocations: 188.3 kB / 0.69 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.1931, allocations: 108.9 kB / 0.6901 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.1932, allocations: 176.3 kB / 0.6903 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.1932, allocations: 105 kB / 0.6904 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.438e-05/0.1933, allocations: 101.1 kB / 0.6905 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1933, allocations: 0 / 0.6905 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007845/0.1941, allocations: 279.8 kB / 0.6907 GB, free: 10.48 MB / 0.5294 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.001378/0.1955, allocations: 1.155 MB / 0.6918 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.1956, allocations: 37.7 kB / 0.6919 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1956, allocations: 0 / 0.6919 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-06/0.1956, allocations: 4.359 kB / 0.6919 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.196, allocations: 476.2 kB / 0.6923 GB, free: 8.789 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1974, allocations: 1.559 MB / 0.6939 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1977, allocations: 0.6807 MB / 0.6945 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.827e-05/0.1977, allocations: 4.031 kB / 0.6945 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1977, allocations: 20.92 kB / 0.6946 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.1977, allocations: 0 / 0.6946 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.2232, allocations: 6.942 MB / 0.7013 GB, free: 15.69 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.194/8.417, allocations: 6.75 kB / 0.7013 GB, free: 15.69 MB / 0.545 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)