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.00143/0.00143, allocations: 116.8 kB / 17.17 MB, free: 6 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.001716/0.001716, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.468/1.468, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.9333/0.9333, allocations: 144.9 MB / 454.5 MB, free: 10.02 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="cs",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="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.00199/0.00199, allocations: 65.34 kB / 0.6288 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1724, allocations: 87.83 MB / 0.7145 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004758/0.1771, allocations: 3.048 MB / 0.7175 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003306/0.1804, allocations: 2.195 MB / 0.7197 GB, free: 6.461 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.1807, allocations: 8 kB / 0.7197 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.1821, allocations: 0.4938 MB / 0.7202 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.1824, allocations: 154.8 kB / 0.7203 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.1825, allocations: 55.94 kB / 0.7204 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005172/0.1831, allocations: 445.8 kB / 0.7208 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002268/0.1833, allocations: 111.3 kB / 0.7209 GB, free: 5.199 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002932/0.1836, allocations: 167.4 kB / 0.721 GB, free: 5.035 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.1838, allocations: 187.1 kB / 0.7212 GB, free: 4.852 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.1839, allocations: 36 kB / 0.7213 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.1839, allocations: 32 kB / 0.7213 GB, free: 4.785 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.1841, allocations: 95.67 kB / 0.7214 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.1843, allocations: 218.9 kB / 0.7216 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.1849, allocations: 0.568 MB / 0.7221 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1849, allocations: 3.984 kB / 0.7221 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1849, allocations: 0 / 0.7221 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.1849, allocations: 4 kB / 0.7221 GB, free: 3.898 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001164/0.1861, allocations: 0.7121 MB / 0.7228 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1862, allocations: 8.031 kB / 0.7229 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.924e-05/0.1862, allocations: 12.62 kB / 0.7229 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.744e-05/0.1862, allocations: 50.73 kB / 0.7229 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.1863, allocations: 52.61 kB / 0.723 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.1869, allocations: 378.5 kB / 0.7233 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.1869, allocations: 12.81 kB / 0.7233 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.856e-05/0.187, allocations: 24.31 kB / 0.7234 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/0.1874, allocations: 207.2 kB / 0.7236 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.1874, allocations: 0 / 0.7236 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.443e-05/0.1874, allocations: 12 kB / 0.7236 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.1875, allocations: 4 kB / 0.7236 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004057/0.1879, allocations: 161.7 kB / 0.7237 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.1892, allocations: 0.8742 MB / 0.7246 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.1895, allocations: 142.6 kB / 0.7247 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1897, allocations: 102.4 kB / 0.7248 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1897, allocations: 0 / 0.7248 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.1898, allocations: 30.56 kB / 0.7248 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.1898, allocations: 8 kB / 0.7248 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006525/0.1904, allocations: 263.1 kB / 0.7251 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1905, allocations: 55.41 kB / 0.7252 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005038/0.191, allocations: 417.7 kB / 0.7256 GB, free: 192 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.191, allocations: 33.62 kB / 0.7256 GB, free: 152 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.1912, allocations: 204.5 kB / 0.7258 GB, free: 15.94 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.233e-05/0.1912, allocations: 67.42 kB / 0.7258 GB, free: 15.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1913, allocations: 33.72 kB / 0.7259 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.1915, allocations: 346.8 kB / 0.7262 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.1916, allocations: 55.97 kB / 0.7263 GB, free: 15.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.1918, allocations: 59.92 kB / 0.7263 GB, free: 15.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/0.1921, allocations: 131.6 kB / 0.7264 GB, free: 15.25 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1921, allocations: 7.938 kB / 0.7264 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004221/0.1925, allocations: 209.4 kB / 0.7266 GB, free: 15.03 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1926, allocations: 7.938 kB / 0.7267 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1926, allocations: 0 / 0.7267 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1926, allocations: 4 kB / 0.7267 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.1928, allocations: 51.95 kB / 0.7267 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1928, allocations: 3.938 kB / 0.7267 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.193, allocations: 23.89 kB / 0.7267 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.193, allocations: 4 kB / 0.7267 GB, free: 14.93 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.0001724/0.1932, allocations: 161.8 kB / 0.7269 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.1932, allocations: 39.7 kB / 0.7269 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.1933, allocations: 39.59 kB / 0.727 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1933, allocations: 0 / 0.727 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.1933, allocations: 0 / 0.727 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1933, allocations: 7.984 kB / 0.727 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.1938, allocations: 381.1 kB / 0.7273 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1938, allocations: 4 kB / 0.7273 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.194, allocations: 55.91 kB / 0.7274 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.194, allocations: 3.938 kB / 0.7274 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1941, allocations: 11.98 kB / 0.7274 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1941, allocations: 0 / 0.7274 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1941, allocations: 0 / 0.7274 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006412/0.1947, allocations: 369 kB / 0.7278 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1948, allocations: 124.8 kB / 0.7279 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/0.1949, allocations: 7.938 kB / 0.7279 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.195, allocations: 11.92 kB / 0.7279 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.1951, allocations: 11.98 kB / 0.7279 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.1951, allocations: 8 kB / 0.7279 GB, free: 13.63 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003409/0.1954, allocations: 307.1 kB / 0.7282 GB, free: 13.33 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1954, allocations: 0 / 0.7282 GB, free: 13.33 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003115/0.1957, allocations: 79.91 kB / 0.7283 GB, free: 13.25 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.001017/0.1968, allocations: 0.9193 MB / 0.7292 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003694/0.1971, allocations: 147.8 kB / 0.7293 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1971, allocations: 0 / 0.7293 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001718/0.1973, allocations: 79.89 kB / 0.7294 GB, free: 12.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/0.1979, allocations: 94.52 kB / 0.7295 GB, free: 11.99 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00479/0.2026, allocations: 3.502 MB / 0.7329 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/0.2031, allocations: 0.7912 MB / 0.7337 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001364/0.2032, allocations: 38.95 kB / 0.7337 GB, free: 7.559 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.2034, allocations: 119.4 kB / 0.7338 GB, free: 7.445 MB / 0.545 GB Notification: Performance of SimCode: time 1.062e-06/0.2034, allocations: 0 / 0.7338 GB, free: 7.445 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.2318, allocations: 8.096 MB / 0.7417 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.536/8.767, allocations: 21.28 kB / 0.7418 GB, free: 15.66 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 & /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: 12.684366830042563] Failed to read output from testmodel.py, exit status != 0: 8.899140800000168 8.923046724 8.734853896 Calling exit ...