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.001356/0.001356, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001483/0.001483, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 8.008 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.9482/0.9482, allocations: 145 MB / 457.4 MB, free: 15.52 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.002085/0.002085, allocations: 71.36 kB / 0.6332 GB, free: 7.25 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1692, allocations: 87.88 MB / 0.719 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004695/0.1739, allocations: 3.086 MB / 0.7221 GB, free: 12.28 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003201/0.1771, allocations: 2.199 MB / 0.7242 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.1774, allocations: 15.94 kB / 0.7242 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1787, allocations: 0.4928 MB / 0.7247 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.179, allocations: 154.9 kB / 0.7249 GB, free: 9.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.1792, allocations: 63.88 kB / 0.7249 GB, free: 9.348 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005388/0.1797, allocations: 445.9 kB / 0.7253 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.1799, allocations: 103.8 kB / 0.7254 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.1802, allocations: 171.3 kB / 0.7256 GB, free: 8.637 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1805, allocations: 183.2 kB / 0.7258 GB, free: 8.457 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.88e-05/0.1805, allocations: 36 kB / 0.7258 GB, free: 8.422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.014e-05/0.1806, allocations: 36 kB / 0.7258 GB, free: 8.387 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.1807, allocations: 95.61 kB / 0.7259 GB, free: 8.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.1809, allocations: 219 kB / 0.7261 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006232/0.1815, allocations: 0.568 MB / 0.7267 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1815, allocations: 0 / 0.7267 GB, free: 7.508 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1815, allocations: 0 / 0.7267 GB, free: 7.508 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.1815, allocations: 0 / 0.7267 GB, free: 7.508 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.001058/0.1826, allocations: 0.6446 MB / 0.7273 GB, free: 6.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1826, allocations: 12.03 kB / 0.7273 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.524e-05/0.1827, allocations: 54.72 kB / 0.7274 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.1828, allocations: 52.61 kB / 0.7274 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005467/0.1833, allocations: 316.6 kB / 0.7277 GB, free: 6.371 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1833, allocations: 12.81 kB / 0.7278 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.1834, allocations: 20.38 kB / 0.7278 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.1838, allocations: 211.4 kB / 0.728 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.1838, allocations: 0 / 0.728 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1838, allocations: 8 kB / 0.728 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1838, allocations: 7.938 kB / 0.728 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.1842, allocations: 165.6 kB / 0.7281 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001216/0.1854, allocations: 0.8278 MB / 0.729 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.1858, allocations: 146.5 kB / 0.7291 GB, free: 4.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.186, allocations: 100.8 kB / 0.7292 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.186, allocations: 0 / 0.7292 GB, free: 4.797 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.186, allocations: 38.88 kB / 0.7292 GB, free: 4.75 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 9.62e-07/0.186, allocations: 0 / 0.7292 GB, free: 4.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005987/0.1866, allocations: 259.1 kB / 0.7295 GB, free: 4.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.1867, allocations: 55.34 kB / 0.7295 GB, free: 4.426 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005151/0.1872, allocations: 425.6 kB / 0.7299 GB, free: 4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1872, allocations: 25.7 kB / 0.73 GB, free: 3.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1874, allocations: 212.5 kB / 0.7302 GB, free: 3.758 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.1874, allocations: 67.42 kB / 0.7302 GB, free: 3.691 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.1875, allocations: 29.72 kB / 0.7303 GB, free: 3.656 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.1877, allocations: 346.8 kB / 0.7306 GB, free: 3.309 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.1878, allocations: 59.95 kB / 0.7306 GB, free: 3.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.1879, allocations: 59.92 kB / 0.7307 GB, free: 3.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.1882, allocations: 134.8 kB / 0.7308 GB, free: 3.059 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1882, allocations: 0 / 0.7308 GB, free: 3.059 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003929/0.1886, allocations: 210.9 kB / 0.731 GB, free: 2.848 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1886, allocations: 7.984 kB / 0.731 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1887, allocations: 7.875 kB / 0.731 GB, free: 2.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1887, allocations: 4 kB / 0.731 GB, free: 2.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.1889, allocations: 47.97 kB / 0.7311 GB, free: 2.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1889, allocations: 4 kB / 0.7311 GB, free: 2.777 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.1891, allocations: 23.88 kB / 0.7311 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.1891, allocations: 4 kB / 0.7311 GB, free: 2.75 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.0001641/0.1892, allocations: 161.8 kB / 0.7313 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.052e-05/0.1893, allocations: 35.77 kB / 0.7313 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.193e-05/0.1894, allocations: 47.45 kB / 0.7314 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1894, allocations: 0 / 0.7314 GB, free: 2.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1894, allocations: 4 kB / 0.7314 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1894, allocations: 7.938 kB / 0.7314 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.1898, allocations: 348.4 kB / 0.7317 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1898, allocations: 0 / 0.7317 GB, free: 2.105 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002569/0.1901, allocations: 55.95 kB / 0.7318 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1901, allocations: 4 kB / 0.7318 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1901, allocations: 7.938 kB / 0.7318 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1901, allocations: 0 / 0.7318 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1901, allocations: 0 / 0.7318 GB, free: 2.039 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.1907, allocations: 377.3 kB / 0.7321 GB, free: 1.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.312e-05/0.1908, allocations: 47.72 kB / 0.7322 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.1908, allocations: 7.938 kB / 0.7322 GB, free: 1.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.191, allocations: 4 kB / 0.7322 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.191, allocations: 23.88 kB / 0.7322 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.191, allocations: 0 / 0.7322 GB, free: 1.574 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003657/0.1914, allocations: 307.2 kB / 0.7325 GB, free: 1.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1914, allocations: 0 / 0.7325 GB, free: 1.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000312/0.1917, allocations: 75.84 kB / 0.7326 GB, free: 1.203 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.0009352/0.1927, allocations: 0.923 MB / 0.7335 GB, free: 260 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003615/0.193, allocations: 139.8 kB / 0.7336 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.193, allocations: 0 / 0.7336 GB, free: 120 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.1932, allocations: 73.78 kB / 0.7337 GB, free: 48 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00057/0.1938, allocations: 94.22 kB / 0.7338 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004686/0.1984, allocations: 3.499 MB / 0.7372 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.1989, allocations: 0.7912 MB / 0.738 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.199, allocations: 38.95 kB / 0.738 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.1992, allocations: 119.4 kB / 0.7381 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of SimCode: time 5.31e-07/0.1992, allocations: 0 / 0.7381 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.2358, allocations: 8.184 MB / 0.7461 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.35, allocations: 15.64 kB / 0.7461 GB, free: 3.469 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.498324776999652] Failed to read output from testmodel.py, exit status != 0: 11.460831625998253 11.746098753 11.561434735 Calling exit ...