Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001258/0.001258, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001343/0.001343, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9392/0.9392, allocations: 144.9 MB / 454.5 MB, free: 10.04 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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001991/0.001991, allocations: 67.7 kB / 0.6288 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1625, allocations: 87.84 MB / 0.7145 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00611/0.1687, allocations: 4.167 MB / 0.7186 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004245/0.1729, allocations: 2.456 MB / 0.721 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005918/0.1735, allocations: 15.94 kB / 0.721 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002016/0.1755, allocations: 0.5247 MB / 0.7215 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0008478/0.1764, allocations: 258 kB / 0.7218 GB, free: 4.281 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1767, allocations: 139.8 kB / 0.7219 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001174/0.1779, allocations: 0.8122 MB / 0.7227 GB, free: 3.332 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.1783, allocations: 234.6 kB / 0.7229 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004523/0.1788, allocations: 310.9 kB / 0.7232 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.1792, allocations: 334.5 kB / 0.7236 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.993e-05/0.1793, allocations: 76 kB / 0.7236 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.1794, allocations: 75.94 kB / 0.7237 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001821/0.1796, allocations: 171.4 kB / 0.7239 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004335/0.18, allocations: 390.2 kB / 0.7242 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.1813, allocations: 1.031 MB / 0.7252 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1813, allocations: 0 / 0.7252 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1813, allocations: 0 / 0.7252 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.1813, allocations: 0 / 0.7252 GB, free: 0.7266 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001617/0.1829, allocations: 0.9652 MB / 0.7262 GB, free: 15.71 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.1829, allocations: 12.03 kB / 0.7262 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.986e-05/0.183, allocations: 13.19 kB / 0.7262 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.1831, allocations: 86.7 kB / 0.7263 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.1832, allocations: 76.47 kB / 0.7264 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/0.1841, allocations: 466 kB / 0.7268 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.1841, allocations: 33.38 kB / 0.7268 GB, free: 14.99 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.253e-05/0.1842, allocations: 56.36 kB / 0.7269 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.185, allocations: 434.3 kB / 0.7273 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.185, allocations: 0 / 0.7273 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.381e-05/0.1851, allocations: 20 kB / 0.7273 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.1851, allocations: 12 kB / 0.7273 GB, free: 14.47 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.1858, allocations: 367.8 kB / 0.7277 GB, free: 14.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002424/0.1882, allocations: 1.52 MB / 0.7292 GB, free: 12.52 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.1888, allocations: 316.3 kB / 0.7295 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/0.1893, allocations: 294.6 kB / 0.7298 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.1893, allocations: 8 kB / 0.7298 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.543e-05/0.1894, allocations: 38.55 kB / 0.7298 GB, free: 11.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.1894, allocations: 0 / 0.7298 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.001052/0.1904, allocations: 0.4909 MB / 0.7303 GB, free: 11.36 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.1905, allocations: 55.41 kB / 0.7303 GB, free: 11.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006491/0.1911, allocations: 493.9 kB / 0.7308 GB, free: 10.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1912, allocations: 37.64 kB / 0.7308 GB, free: 10.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002233/0.1914, allocations: 276.7 kB / 0.7311 GB, free: 10.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.1915, allocations: 154.6 kB / 0.7313 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1916, allocations: 62.08 kB / 0.7313 GB, free: 10.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002524/0.1919, allocations: 362.8 kB / 0.7317 GB, free: 9.902 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.1922, allocations: 116.7 kB / 0.7318 GB, free: 9.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002961/0.1925, allocations: 138.3 kB / 0.7319 GB, free: 9.656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.193, allocations: 294.2 kB / 0.7322 GB, free: 9.367 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.193, allocations: 0 / 0.7322 GB, free: 9.367 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007825/0.1938, allocations: 400.5 kB / 0.7326 GB, free: 8.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1938, allocations: 4 kB / 0.7326 GB, free: 8.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1938, allocations: 3.938 kB / 0.7326 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1938, allocations: 4 kB / 0.7326 GB, free: 8.957 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.1944, allocations: 131.8 kB / 0.7327 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.475e-06/0.1944, allocations: 0 / 0.7327 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.1946, allocations: 39.72 kB / 0.7327 GB, free: 8.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1946, allocations: 8 kB / 0.7327 GB, free: 8.781 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 (46): * Single equations (assignments): 46 * 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.0002379/0.1949, allocations: 193.8 kB / 0.7329 GB, free: 8.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.195, allocations: 59.61 kB / 0.733 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001302/0.1951, allocations: 61.11 kB / 0.733 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.1951, allocations: 4 kB / 0.733 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1951, allocations: 0 / 0.733 GB, free: 8.457 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.1951, allocations: 3.984 kB / 0.7331 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.1958, allocations: 0.5752 MB / 0.7336 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1958, allocations: 0 / 0.7336 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005213/0.1964, allocations: 123.9 kB / 0.7337 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.1964, allocations: 7.938 kB / 0.7337 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.1964, allocations: 8 kB / 0.7337 GB, free: 7.691 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1964, allocations: 8 kB / 0.7338 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1964, allocations: 0 / 0.7338 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.1975, allocations: 0.6483 MB / 0.7344 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.1977, allocations: 144.6 kB / 0.7345 GB, free: 6.859 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.1977, allocations: 4 kB / 0.7345 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.1979, allocations: 19.98 kB / 0.7345 GB, free: 6.836 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.198, allocations: 23.97 kB / 0.7346 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.198, allocations: 12 kB / 0.7346 GB, free: 6.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004353/0.1985, allocations: 355.1 kB / 0.7349 GB, free: 6.461 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1985, allocations: 0 / 0.7349 GB, free: 6.461 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004395/0.1989, allocations: 139.8 kB / 0.7351 GB, free: 6.324 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001564/0.2005, allocations: 1.219 MB / 0.7362 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000742/0.2012, allocations: 303.7 kB / 0.7365 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2012, allocations: 0 / 0.7365 GB, free: 4.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.2015, allocations: 163.8 kB / 0.7367 GB, free: 4.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.2022, allocations: 136.4 kB / 0.7368 GB, free: 4.492 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007035/0.2092, allocations: 4.87 MB / 0.7416 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005924/0.2098, allocations: 0.8704 MB / 0.7424 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002241/0.2101, allocations: 56.33 kB / 0.7425 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.2103, allocations: 195.4 kB / 0.7427 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of SimCode: time 7.11e-07/0.2103, allocations: 0 / 0.7427 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03365/0.244, allocations: 11.58 MB / 0.754 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.829/9.073, allocations: 13.16 kB / 0.754 GB, free: 3.164 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.010984643013217] Failed to read output from testmodel.py, exit status != 0: 9.204738787957467 9.220211259 9.035855656 Calling exit ...