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.InternalResistancesTwoUTube.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.001423/0.001423, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.00147/0.00147, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.456/1.456, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.9539/0.9539, allocations: 145 MB / 453.8 MB, free: 0.7109 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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",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.002103/0.002103, allocations: 74.59 kB / 0.6281 GB, free: 10.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1934, allocations: 87.83 MB / 0.7139 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002766/0.1962, allocations: 1.448 MB / 0.7153 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004819/0.201, allocations: 2.97 MB / 0.7182 GB, free: 14.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.2011, allocations: 4 kB / 0.7182 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.46e-05/0.2011, allocations: 3.938 kB / 0.7182 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.2012, allocations: 19.78 kB / 0.7182 GB, free: 14.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004534/0.2057, allocations: 1.655 MB / 0.7198 GB, free: 12.63 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.2058, allocations: 47.72 kB / 0.7199 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.2059, allocations: 4 kB / 0.7199 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.255e-05/0.2059, allocations: 15.94 kB / 0.7199 GB, free: 12.56 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.134e-05/0.2059, allocations: 19.86 kB / 0.7199 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2059, allocations: 4 kB / 0.7199 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.2088, allocations: 1.595 MB / 0.7215 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.135e-05/0.2088, allocations: 7.938 kB / 0.7215 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.567e-05/0.2089, allocations: 19.86 kB / 0.7215 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.2107, allocations: 1.122 MB / 0.7226 GB, free: 9.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.2107, allocations: 0 / 0.7226 GB, free: 9.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2107, allocations: 0 / 0.7226 GB, free: 9.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.2107, allocations: 0 / 0.7226 GB, free: 9.789 MB / 0.545 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.0007091/0.2114, allocations: 0.5363 MB / 0.7231 GB, free: 9.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.2114, allocations: 12.03 kB / 0.7232 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.075e-05/0.2115, allocations: 106 kB / 0.7233 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.052e-05/0.2116, allocations: 80.2 kB / 0.7233 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001757/0.2117, allocations: 255.5 kB / 0.7236 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.662e-05/0.2118, allocations: 162.9 kB / 0.7237 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.64e-05/0.2119, allocations: 150.9 kB / 0.7239 GB, free: 8.402 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.216e-05/0.212, allocations: 108.9 kB / 0.724 GB, free: 8.289 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.212, allocations: 75.28 kB / 0.724 GB, free: 8.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.611e-05/0.2121, allocations: 150.6 kB / 0.7242 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.2121, allocations: 150.6 kB / 0.7243 GB, free: 7.918 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.2122, allocations: 154.6 kB / 0.7245 GB, free: 7.766 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.2125, allocations: 465.9 kB / 0.7249 GB, free: 7.262 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.2126, allocations: 169.1 kB / 0.7251 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.2127, allocations: 84.12 kB / 0.7252 GB, free: 7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.2127, allocations: 87.16 kB / 0.7253 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.2128, allocations: 109.8 kB / 0.7254 GB, free: 6.797 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2128, allocations: 0 / 0.7254 GB, free: 6.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.848e-05/0.2129, allocations: 37.59 kB / 0.7254 GB, free: 6.754 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.098e-05/0.2129, allocations: 126.7 kB / 0.7255 GB, free: 6.617 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2131, allocations: 140.4 kB / 0.7256 GB, free: 6.473 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2131, allocations: 25.7 kB / 0.7257 GB, free: 6.441 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.128e-05/0.2132, allocations: 88.12 kB / 0.7258 GB, free: 6.352 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.2132, allocations: 0 / 0.7258 GB, free: 6.352 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.012e-05/0.2132, allocations: 25.72 kB / 0.7258 GB, free: 6.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.2134, allocations: 314.8 kB / 0.7261 GB, free: 6.004 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.2134, allocations: 8 kB / 0.7261 GB, free: 5.996 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.2134, allocations: 8 kB / 0.7261 GB, free: 5.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.2134, allocations: 12.86 kB / 0.7261 GB, free: 5.973 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2134, allocations: 0 / 0.7261 GB, free: 5.973 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001411/0.2136, allocations: 57.53 kB / 0.7262 GB, free: 5.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2136, allocations: 4 kB / 0.7262 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.578e-05/0.2136, allocations: 7.984 kB / 0.7262 GB, free: 5.898 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2136, allocations: 4.062 kB / 0.7262 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.41e-07/0.2136, allocations: 0 / 0.7262 GB, free: 5.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2137, allocations: 3.984 kB / 0.7262 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.664e-05/0.2137, allocations: 7.938 kB / 0.7262 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.2137, allocations: 0 / 0.7262 GB, free: 5.883 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.000123/0.2138, allocations: 181.1 kB / 0.7264 GB, free: 5.695 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.2139, allocations: 116.9 kB / 0.7265 GB, free: 5.574 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.2139, allocations: 120.8 kB / 0.7266 GB, free: 5.449 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-05/0.214, allocations: 176.3 kB / 0.7268 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.073e-05/0.2141, allocations: 180.2 kB / 0.7269 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.521e-05/0.2142, allocations: 176.3 kB / 0.7271 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003129/0.2145, allocations: 421.1 kB / 0.7275 GB, free: 4.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-05/0.2145, allocations: 104.9 kB / 0.7276 GB, free: 4.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.925e-05/0.2146, allocations: 109 kB / 0.7277 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.678e-05/0.2147, allocations: 184.2 kB / 0.7279 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.877e-05/0.2147, allocations: 176.3 kB / 0.728 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.761e-05/0.2148, allocations: 180.3 kB / 0.7282 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-05/0.2149, allocations: 188.2 kB / 0.7284 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2151, allocations: 311.7 kB / 0.7287 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.2152, allocations: 186 kB / 0.7289 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.2153, allocations: 188.3 kB / 0.7291 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.645e-05/0.2153, allocations: 104.9 kB / 0.7292 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.2154, allocations: 180.3 kB / 0.7293 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.67e-05/0.2155, allocations: 112.8 kB / 0.7294 GB, free: 2.336 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.2155, allocations: 109.7 kB / 0.7295 GB, free: 2.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2155, allocations: 0 / 0.7295 GB, free: 2.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008953/0.2164, allocations: 295 kB / 0.7298 GB, free: 1.941 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.001513/0.218, allocations: 1.181 MB / 0.731 GB, free: 0.7344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2181, allocations: 49.56 kB / 0.731 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2181, allocations: 0 / 0.731 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.638e-06/0.2181, allocations: 4 kB / 0.731 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.2185, allocations: 463.8 kB / 0.7315 GB, free: 224 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.2201, allocations: 1.622 MB / 0.733 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2204, allocations: 0.6807 MB / 0.7337 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.46e-05/0.2204, allocations: 7.969 kB / 0.7337 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.417e-05/0.2205, allocations: 11.44 kB / 0.7337 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.2205, allocations: 0 / 0.7337 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.2555, allocations: 7.342 MB / 0.7409 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.504, allocations: 8.547 kB / 0.7409 GB, free: 6.66 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.76179571999819] Failed to read output from testmodel.py, exit status != 0: 8.58048083500762 8.959837849 8.746403372 Calling exit ...