Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001312/0.001312, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.001356/0.001356, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.486/1.486, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.9412/0.9412, allocations: 144.9 MB / 453.8 MB, free: 0.7344 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.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.00207/0.00207, allocations: 66.38 kB / 0.6281 GB, free: 10.61 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1788, allocations: 87.83 MB / 0.7139 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004642/0.1834, allocations: 3.058 MB / 0.7168 GB, free: 15.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003147/0.1866, allocations: 2.183 MB / 0.719 GB, free: 13.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1868, allocations: 7.938 kB / 0.719 GB, free: 13.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.1882, allocations: 0.5055 MB / 0.7195 GB, free: 13 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003313/0.1885, allocations: 146.8 kB / 0.7196 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001376/0.1887, allocations: 55.95 kB / 0.7197 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005506/0.1892, allocations: 456.6 kB / 0.7201 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002482/0.1895, allocations: 107.3 kB / 0.7202 GB, free: 12.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.1898, allocations: 167.4 kB / 0.7204 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.1901, allocations: 179.2 kB / 0.7205 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.336e-05/0.1901, allocations: 32 kB / 0.7206 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.1902, allocations: 36 kB / 0.7206 GB, free: 11.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1903, allocations: 103.5 kB / 0.7207 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002368/0.1906, allocations: 214.9 kB / 0.7209 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006847/0.1913, allocations: 0.568 MB / 0.7215 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1913, allocations: 7.938 kB / 0.7215 GB, free: 10.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1913, allocations: 4 kB / 0.7215 GB, free: 10.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.996e-06/0.1913, allocations: 0 / 0.7215 GB, free: 10.95 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001194/0.1925, allocations: 0.7121 MB / 0.7222 GB, free: 10.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.1925, allocations: 12.03 kB / 0.7222 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.168e-05/0.1926, allocations: 58.73 kB / 0.7222 GB, free: 10.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.643e-05/0.1927, allocations: 48.61 kB / 0.7223 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005965/0.1933, allocations: 378.5 kB / 0.7226 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.1933, allocations: 16.81 kB / 0.7227 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.625e-05/0.1933, allocations: 20.38 kB / 0.7227 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004277/0.1938, allocations: 207.3 kB / 0.7229 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1938, allocations: 0 / 0.7229 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.1938, allocations: 12 kB / 0.7229 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1938, allocations: 4 kB / 0.7229 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.1942, allocations: 169.6 kB / 0.723 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.1955, allocations: 0.8586 MB / 0.7239 GB, free: 8.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.1958, allocations: 146.5 kB / 0.724 GB, free: 8.148 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.1961, allocations: 104.8 kB / 0.7241 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.1961, allocations: 0 / 0.7241 GB, free: 8.043 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.1961, allocations: 38.55 kB / 0.7242 GB, free: 7.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/0.1961, allocations: 4 kB / 0.7242 GB, free: 7.992 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006554/0.1968, allocations: 263.5 kB / 0.7244 GB, free: 7.73 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.1968, allocations: 51.41 kB / 0.7245 GB, free: 7.668 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000501/0.1973, allocations: 413.7 kB / 0.7249 GB, free: 7.254 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1973, allocations: 29.7 kB / 0.7249 GB, free: 7.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1975, allocations: 204.4 kB / 0.7251 GB, free: 7.016 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.002e-05/0.1976, allocations: 67.38 kB / 0.7252 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.798e-05/0.1976, allocations: 37.7 kB / 0.7252 GB, free: 6.906 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.1978, allocations: 346.8 kB / 0.7255 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.198, allocations: 59.91 kB / 0.7256 GB, free: 6.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.1981, allocations: 59.92 kB / 0.7256 GB, free: 6.441 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/0.1985, allocations: 131.2 kB / 0.7258 GB, free: 6.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1985, allocations: 4 kB / 0.7258 GB, free: 6.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004337/0.1989, allocations: 218.8 kB / 0.726 GB, free: 6.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.1989, allocations: 4 kB / 0.726 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.1989, allocations: 7.938 kB / 0.726 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1989, allocations: 0 / 0.726 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000267/0.1992, allocations: 47.97 kB / 0.726 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.1992, allocations: 0 / 0.726 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.1994, allocations: 23.88 kB / 0.726 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1994, allocations: 8 kB / 0.7261 GB, free: 6 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001777/0.1996, allocations: 165.8 kB / 0.7262 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.1996, allocations: 35.77 kB / 0.7262 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.158e-05/0.1997, allocations: 43.53 kB / 0.7263 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1997, allocations: 4 kB / 0.7263 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1997, allocations: 0 / 0.7263 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/0.1997, allocations: 0 / 0.7263 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004539/0.2002, allocations: 373.4 kB / 0.7266 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2002, allocations: 0 / 0.7266 GB, free: 5.328 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.2005, allocations: 59.91 kB / 0.7267 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2005, allocations: 7.938 kB / 0.7267 GB, free: 5.262 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.2005, allocations: 3.938 kB / 0.7267 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2005, allocations: 0 / 0.7267 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2005, allocations: 0 / 0.7267 GB, free: 5.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006505/0.2011, allocations: 381.5 kB / 0.7271 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2013, allocations: 124.8 kB / 0.7272 GB, free: 4.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.2013, allocations: 7.938 kB / 0.7272 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.2015, allocations: 11.98 kB / 0.7272 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.2015, allocations: 11.98 kB / 0.7272 GB, free: 4.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.2015, allocations: 8 kB / 0.7272 GB, free: 4.691 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003662/0.2019, allocations: 295.2 kB / 0.7275 GB, free: 4.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2019, allocations: 0 / 0.7275 GB, free: 4.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003295/0.2022, allocations: 75.84 kB / 0.7276 GB, free: 4.332 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.001038/0.2033, allocations: 0.9269 MB / 0.7285 GB, free: 3.379 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003929/0.2036, allocations: 145.9 kB / 0.7286 GB, free: 3.238 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2037, allocations: 0 / 0.7286 GB, free: 3.238 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001991/0.2039, allocations: 75.91 kB / 0.7287 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000566/0.2044, allocations: 92.98 kB / 0.7288 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004978/0.2094, allocations: 3.499 MB / 0.7322 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004627/0.2099, allocations: 0.795 MB / 0.733 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000159/0.21, allocations: 38.91 kB / 0.733 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.2102, allocations: 119.4 kB / 0.7331 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.2102, allocations: 0 / 0.7331 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03494/0.2451, allocations: 8.058 MB / 0.741 GB, free: 6.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.355/8.6, allocations: 7.469 kB / 0.741 GB, free: 6.742 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.66983907399117] Failed to read output from testmodel.py, exit status != 0: 8.676896314005717 9.000475436 8.806323164 Calling exit ...