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.001576/0.001576, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001894/0.001894, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.809 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.9067/0.9067, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.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.002014/0.002014, allocations: 62.47 kB / 0.6331 GB, free: 6.734 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1658, allocations: 87.89 MB / 0.719 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004278/0.1701, allocations: 2.837 MB / 0.7217 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002772/0.1729, allocations: 1.962 MB / 0.7237 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.173, allocations: 4 kB / 0.7237 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001257/0.1743, allocations: 460.8 kB / 0.7241 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.1745, allocations: 146.9 kB / 0.7242 GB, free: 9.441 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001219/0.1747, allocations: 71.8 kB / 0.7243 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004739/0.1751, allocations: 445.8 kB / 0.7247 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.1753, allocations: 103.8 kB / 0.7248 GB, free: 8.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.1756, allocations: 163.4 kB / 0.725 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1758, allocations: 155.2 kB / 0.7251 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.674e-05/0.1758, allocations: 36 kB / 0.7252 GB, free: 8.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.1759, allocations: 32 kB / 0.7252 GB, free: 8.449 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.176, allocations: 107.6 kB / 0.7253 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.1762, allocations: 167.2 kB / 0.7255 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.1768, allocations: 0.5719 MB / 0.726 GB, free: 7.605 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1768, allocations: 0 / 0.726 GB, free: 7.605 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.804e-06/0.1768, allocations: 3.938 kB / 0.726 GB, free: 7.602 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.326e-06/0.1768, allocations: 0 / 0.726 GB, free: 7.602 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.001062/0.1779, allocations: 0.6446 MB / 0.7267 GB, free: 6.922 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.1779, allocations: 16.02 kB / 0.7267 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.805e-05/0.178, allocations: 50.73 kB / 0.7267 GB, free: 6.848 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.1781, allocations: 52.61 kB / 0.7268 GB, free: 6.797 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.1786, allocations: 324.6 kB / 0.7271 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1786, allocations: 16.81 kB / 0.7271 GB, free: 6.438 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.1787, allocations: 16.38 kB / 0.7271 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.1791, allocations: 203.4 kB / 0.7273 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1791, allocations: 3.938 kB / 0.7273 GB, free: 6.215 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.1791, allocations: 12 kB / 0.7273 GB, free: 6.203 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.1791, allocations: 4 kB / 0.7273 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003877/0.1795, allocations: 165.6 kB / 0.7275 GB, free: 6.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.1807, allocations: 0.6784 MB / 0.7282 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000302/0.181, allocations: 142.5 kB / 0.7283 GB, free: 5.16 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.1812, allocations: 104.8 kB / 0.7284 GB, free: 5.055 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.1812, allocations: 4 kB / 0.7284 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1812, allocations: 46.55 kB / 0.7284 GB, free: 4.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.1812, allocations: 0 / 0.7284 GB, free: 4.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006068/0.1818, allocations: 257.5 kB / 0.7287 GB, free: 4.738 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.1819, allocations: 55.41 kB / 0.7287 GB, free: 4.672 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004794/0.1823, allocations: 413.7 kB / 0.7291 GB, free: 4.258 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.1824, allocations: 33.7 kB / 0.7292 GB, free: 4.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.1825, allocations: 200.5 kB / 0.7294 GB, free: 4.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.1826, allocations: 67.38 kB / 0.7294 GB, free: 3.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.867e-05/0.1826, allocations: 37.7 kB / 0.7295 GB, free: 3.91 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1828, allocations: 350.8 kB / 0.7298 GB, free: 3.559 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.183, allocations: 51.97 kB / 0.7298 GB, free: 3.508 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.1831, allocations: 66.61 kB / 0.7299 GB, free: 3.445 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.1834, allocations: 132.8 kB / 0.73 GB, free: 3.312 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.1834, allocations: 3.938 kB / 0.73 GB, free: 3.309 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003839/0.1838, allocations: 215.2 kB / 0.7302 GB, free: 3.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.1838, allocations: 4 kB / 0.7302 GB, free: 3.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1838, allocations: 3.938 kB / 0.7302 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1838, allocations: 0 / 0.7302 GB, free: 3.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.184, allocations: 55.97 kB / 0.7303 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.184, allocations: 0 / 0.7303 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1842, allocations: 19.88 kB / 0.7303 GB, free: 3.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.1842, allocations: 8 kB / 0.7303 GB, free: 3.004 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.0001673/0.1844, allocations: 169.8 kB / 0.7305 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.1844, allocations: 35.77 kB / 0.7305 GB, free: 2.793 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.724e-05/0.1845, allocations: 43.47 kB / 0.7306 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1845, allocations: 0 / 0.7306 GB, free: 2.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.1845, allocations: 4 kB / 0.7306 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1845, allocations: 0 / 0.7306 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003835/0.1849, allocations: 308.5 kB / 0.7309 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1849, allocations: 0 / 0.7309 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.1851, allocations: 47.97 kB / 0.7309 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.1851, allocations: 4 kB / 0.7309 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.813e-05/0.1852, allocations: 15.92 kB / 0.7309 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1852, allocations: 3.938 kB / 0.7309 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1852, allocations: 0 / 0.7309 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.1858, allocations: 373.2 kB / 0.7313 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.1858, allocations: 43.72 kB / 0.7313 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.1859, allocations: 11.94 kB / 0.7313 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.186, allocations: 7.984 kB / 0.7313 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1861, allocations: 11.98 kB / 0.7314 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.1861, allocations: 12.05 kB / 0.7314 GB, free: 1.867 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003285/0.1864, allocations: 299.2 kB / 0.7317 GB, free: 1.574 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1864, allocations: 0 / 0.7317 GB, free: 1.574 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002986/0.1867, allocations: 75.84 kB / 0.7317 GB, free: 1.5 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.0009163/0.1877, allocations: 0.9249 MB / 0.7326 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003426/0.188, allocations: 143.8 kB / 0.7328 GB, free: 420 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.188, allocations: 0 / 0.7328 GB, free: 420 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001603/0.1882, allocations: 75.84 kB / 0.7328 GB, free: 344 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.1887, allocations: 105.9 kB / 0.7329 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/0.1932, allocations: 3.501 MB / 0.7364 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.1935, allocations: 190.5 kB / 0.7365 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.1936, allocations: 34.95 kB / 0.7366 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.1938, allocations: 119.4 kB / 0.7367 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1938, allocations: 0 / 0.7367 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04041/0.2342, allocations: 8.98 MB / 0.7455 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.34, allocations: 7.922 kB / 0.7455 GB, free: 3.617 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.46533716795966] Failed to read output from testmodel.py, exit status != 0: 11.452235781121999 11.777520246 11.597734075 Calling exit ...