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.001348/0.001348, 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.002183/0.002183, allocations: 216.9 kB / 22.25 MB, free: 4.855 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.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.797 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.915/0.915, allocations: 145 MB / 457.4 MB, free: 15.28 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.00207/0.00207, allocations: 63.56 kB / 0.6331 GB, free: 6.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1689, allocations: 87.89 MB / 0.719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00441/0.1734, allocations: 2.833 MB / 0.7217 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.1763, allocations: 1.962 MB / 0.7237 GB, free: 9.941 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.1765, allocations: 4 kB / 0.7237 GB, free: 9.938 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00137/0.1779, allocations: 461.8 kB / 0.7241 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.1782, allocations: 150.8 kB / 0.7242 GB, free: 9.336 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001292/0.1783, allocations: 67.92 kB / 0.7243 GB, free: 9.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004986/0.1788, allocations: 437.9 kB / 0.7247 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.179, allocations: 103.8 kB / 0.7248 GB, free: 8.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000276/0.1793, allocations: 167.3 kB / 0.725 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1795, allocations: 159.1 kB / 0.7251 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.1796, allocations: 36 kB / 0.7252 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.979e-05/0.1796, allocations: 36 kB / 0.7252 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.1797, allocations: 95.66 kB / 0.7253 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001768/0.1799, allocations: 175.1 kB / 0.7255 GB, free: 8.078 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005854/0.1805, allocations: 0.5758 MB / 0.726 GB, free: 7.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1805, allocations: 4 kB / 0.726 GB, free: 7.496 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1805, allocations: 0 / 0.726 GB, free: 7.496 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1805, allocations: 0 / 0.726 GB, free: 7.496 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.001017/0.1815, allocations: 0.6407 MB / 0.7267 GB, free: 6.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.1816, allocations: 12.03 kB / 0.7267 GB, free: 6.809 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.449e-05/0.1816, allocations: 62.73 kB / 0.7267 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.1817, allocations: 48.61 kB / 0.7268 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.1823, allocations: 320.6 kB / 0.7271 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.1823, allocations: 16.75 kB / 0.7271 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/0.1823, allocations: 20.38 kB / 0.7271 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004085/0.1827, allocations: 203.4 kB / 0.7273 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1827, allocations: 0 / 0.7273 GB, free: 6.113 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.1828, allocations: 8 kB / 0.7273 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1828, allocations: 12 kB / 0.7273 GB, free: 6.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.1832, allocations: 165.6 kB / 0.7275 GB, free: 5.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001127/0.1843, allocations: 0.6823 MB / 0.7282 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.1846, allocations: 142.6 kB / 0.7283 GB, free: 5.051 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.1848, allocations: 100.8 kB / 0.7284 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.1848, allocations: 11.97 kB / 0.7284 GB, free: 4.938 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.1849, allocations: 30.56 kB / 0.7284 GB, free: 4.898 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.1849, allocations: 0 / 0.7284 GB, free: 4.898 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006006/0.1855, allocations: 263.3 kB / 0.7287 GB, free: 4.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.1855, allocations: 55.41 kB / 0.7287 GB, free: 4.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000487/0.186, allocations: 417.7 kB / 0.7291 GB, free: 4.152 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.186, allocations: 29.7 kB / 0.7292 GB, free: 4.117 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1862, allocations: 204.5 kB / 0.7294 GB, free: 3.914 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.1863, allocations: 67.38 kB / 0.7294 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.1863, allocations: 33.7 kB / 0.7294 GB, free: 3.809 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1865, allocations: 346.8 kB / 0.7298 GB, free: 3.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.1866, allocations: 55.97 kB / 0.7298 GB, free: 3.406 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.1868, allocations: 61.64 kB / 0.7299 GB, free: 3.348 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.1871, allocations: 135 kB / 0.73 GB, free: 3.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1871, allocations: 4 kB / 0.73 GB, free: 3.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003963/0.1875, allocations: 209.4 kB / 0.7302 GB, free: 3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.1875, allocations: 4 kB / 0.7302 GB, free: 2.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.1875, allocations: 7.875 kB / 0.7302 GB, free: 2.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1875, allocations: 4 kB / 0.7302 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.1878, allocations: 47.97 kB / 0.7303 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.1878, allocations: 3.938 kB / 0.7303 GB, free: 2.934 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.1879, allocations: 27.88 kB / 0.7303 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1879, allocations: 4 kB / 0.7303 GB, free: 2.902 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.0001643/0.1881, allocations: 165.8 kB / 0.7305 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.737e-05/0.1881, allocations: 35.77 kB / 0.7305 GB, free: 2.695 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.455e-05/0.1882, allocations: 43.47 kB / 0.7306 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.1882, allocations: 4 kB / 0.7306 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1882, allocations: 0 / 0.7306 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1882, allocations: 0 / 0.7306 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.1886, allocations: 308.5 kB / 0.7309 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1886, allocations: 0 / 0.7309 GB, free: 2.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.1889, allocations: 67.89 kB / 0.7309 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1889, allocations: 0 / 0.7309 GB, free: 2.238 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.1889, allocations: 3.938 kB / 0.7309 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1889, allocations: 0 / 0.7309 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1889, allocations: 0 / 0.7309 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006341/0.1896, allocations: 379.2 kB / 0.7313 GB, free: 1.848 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.114e-05/0.1896, allocations: 39.7 kB / 0.7313 GB, free: 1.809 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.1897, allocations: 7.938 kB / 0.7313 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1899, allocations: 20.05 kB / 0.7313 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.1899, allocations: 11.97 kB / 0.7314 GB, free: 1.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1899, allocations: 11.94 kB / 0.7314 GB, free: 1.758 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000354/0.1903, allocations: 299.2 kB / 0.7317 GB, free: 1.465 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1903, allocations: 0 / 0.7317 GB, free: 1.465 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000305/0.1906, allocations: 75.84 kB / 0.7317 GB, free: 1.391 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.0009921/0.1916, allocations: 0.925 MB / 0.7326 GB, free: 452 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003677/0.1919, allocations: 137.7 kB / 0.7328 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1919, allocations: 0 / 0.7328 GB, free: 316 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.1921, allocations: 77.94 kB / 0.7328 GB, free: 240 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.1927, allocations: 94.44 kB / 0.7329 GB, free: 144 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.1974, allocations: 3.503 MB / 0.7363 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.1976, allocations: 194.5 kB / 0.7365 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001677/0.1978, allocations: 42.89 kB / 0.7366 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.198, allocations: 119.4 kB / 0.7367 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.198, allocations: 0 / 0.7367 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.2371, allocations: 8.983 MB / 0.7455 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.31, allocations: 2.031 kB / 0.7455 GB, free: 3.508 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 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.44914848729968] Failed to read output from testmodel.py, exit status != 0: 11.424004565924406 11.743366711 11.559790261 Calling exit ...