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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.548/1.548, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9623/0.9623, allocations: 144.9 MB / 454.5 MB, free: 9.984 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 64.19 kB / 0.6288 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1717, allocations: 87.84 MB / 0.7146 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.00264/0.1743, allocations: 1.446 MB / 0.716 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004776/0.1791, allocations: 2.927 MB / 0.7188 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.1791, allocations: 0 / 0.7188 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.918e-05/0.1792, allocations: 7.938 kB / 0.7188 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.1792, allocations: 15.84 kB / 0.7189 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004686/0.1839, allocations: 1.636 MB / 0.7205 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.184, allocations: 31.8 kB / 0.7205 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.1841, allocations: 4 kB / 0.7205 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.701e-05/0.1841, allocations: 19.94 kB / 0.7205 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.629e-05/0.1842, allocations: 19.86 kB / 0.7205 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.236e-05/0.1842, allocations: 3.938 kB / 0.7205 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003005/0.1872, allocations: 1.56 MB / 0.7221 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.257e-05/0.1872, allocations: 0 / 0.7221 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.1873, allocations: 19.88 kB / 0.7221 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.1895, allocations: 1.095 MB / 0.7231 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1895, allocations: 0 / 0.7231 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1895, allocations: 0 / 0.7231 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.1895, allocations: 0 / 0.7231 GB, free: 2.871 MB / 0.5294 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.0007432/0.1903, allocations: 0.5324 MB / 0.7237 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1903, allocations: 12.03 kB / 0.7237 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.902e-05/0.1904, allocations: 75.47 kB / 0.7238 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.738e-05/0.1904, allocations: 106 kB / 0.7239 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.233e-05/0.1905, allocations: 84.17 kB / 0.7239 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.1907, allocations: 251.5 kB / 0.7242 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.192e-05/0.1908, allocations: 154.9 kB / 0.7243 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.489e-05/0.1908, allocations: 154.7 kB / 0.7245 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.1909, allocations: 108.9 kB / 0.7246 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/0.191, allocations: 75.28 kB / 0.7246 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.504e-05/0.191, allocations: 150.6 kB / 0.7248 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.303e-05/0.1911, allocations: 158.6 kB / 0.7249 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.1912, allocations: 154.6 kB / 0.7251 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1915, allocations: 461.9 kB / 0.7255 GB, free: 276 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1916, allocations: 169.1 kB / 0.7257 GB, free: 96 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.1917, allocations: 84.08 kB / 0.7258 GB, free: 8 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.204e-05/0.1917, allocations: 79.28 kB / 0.7258 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.1918, allocations: 109.8 kB / 0.7259 GB, free: 15.81 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.1918, allocations: 0 / 0.7259 GB, free: 15.81 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.089e-05/0.1919, allocations: 33.66 kB / 0.726 GB, free: 15.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.192, allocations: 126.7 kB / 0.7261 GB, free: 15.64 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1921, allocations: 139.2 kB / 0.7262 GB, free: 15.49 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1921, allocations: 29.7 kB / 0.7263 GB, free: 15.46 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.1922, allocations: 96.09 kB / 0.7264 GB, free: 15.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.1922, allocations: 3.938 kB / 0.7264 GB, free: 15.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.1923, allocations: 17.7 kB / 0.7264 GB, free: 15.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.1924, allocations: 318.8 kB / 0.7267 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.1924, allocations: 0 / 0.7267 GB, free: 15.01 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.697e-05/0.1924, allocations: 4 kB / 0.7267 GB, free: 15.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.1925, allocations: 20.84 kB / 0.7267 GB, free: 14.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1925, allocations: 4.031 kB / 0.7267 GB, free: 14.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000131/0.1926, allocations: 41.64 kB / 0.7267 GB, free: 14.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1926, allocations: 4 kB / 0.7268 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.1927, allocations: 4 kB / 0.7268 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1927, allocations: 4 kB / 0.7268 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.1927, allocations: 3.938 kB / 0.7268 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1927, allocations: 3.938 kB / 0.7268 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.1927, allocations: 7.938 kB / 0.7268 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1927, allocations: 4 kB / 0.7268 GB, free: 14.9 MB / 0.545 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.000117/0.1928, allocations: 196.8 kB / 0.727 GB, free: 14.7 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.1929, allocations: 105 kB / 0.7271 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.193, allocations: 112.8 kB / 0.7272 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.252e-05/0.193, allocations: 188.2 kB / 0.7274 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.48e-05/0.1931, allocations: 180.3 kB / 0.7275 GB, free: 14.1 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.752e-05/0.1932, allocations: 180.2 kB / 0.7277 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.1935, allocations: 421.1 kB / 0.7281 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-05/0.1935, allocations: 101 kB / 0.7282 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.1936, allocations: 108.9 kB / 0.7283 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.713e-05/0.1937, allocations: 184.3 kB / 0.7285 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/0.1937, allocations: 184.2 kB / 0.7286 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.375e-05/0.1938, allocations: 180.3 kB / 0.7288 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.901e-05/0.1939, allocations: 180.2 kB / 0.729 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.1941, allocations: 315.7 kB / 0.7293 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.1942, allocations: 186 kB / 0.7295 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.78e-05/0.1942, allocations: 176.3 kB / 0.7296 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.323e-05/0.1943, allocations: 109 kB / 0.7297 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.544e-05/0.1944, allocations: 184.2 kB / 0.7299 GB, free: 11.47 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.1945, allocations: 101 kB / 0.73 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.105e-05/0.1945, allocations: 101.3 kB / 0.7301 GB, free: 11.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1945, allocations: 0 / 0.7301 GB, free: 11.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008456/0.1954, allocations: 291 kB / 0.7304 GB, free: 10.98 MB / 0.545 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.001685/0.1971, allocations: 1.176 MB / 0.7315 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.1972, allocations: 37.69 kB / 0.7316 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1972, allocations: 0 / 0.7316 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.1972, allocations: 4.062 kB / 0.7316 GB, free: 9.73 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.1976, allocations: 463.6 kB / 0.732 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.1992, allocations: 1.591 MB / 0.7336 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/0.1995, allocations: 0.6846 MB / 0.7342 GB, free: 6.891 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.1996, allocations: 4 kB / 0.7342 GB, free: 6.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.014e-05/0.1996, allocations: 15.44 kB / 0.7343 GB, free: 6.871 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/0.1996, allocations: 7.875 kB / 0.7343 GB, free: 6.863 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.2277, allocations: 7.213 MB / 0.7413 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.685/8.913, allocations: 13.05 kB / 0.7413 GB, free: 15.91 MB / 0.5606 GB " [Timeout remaining time 651] (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 --stepSize=0.0004 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.857516991032753] Failed to read output from testmodel.py, exit status != 0: 9.04191448201891 9.058992057 8.866308399 Calling exit ...