Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.001328/0.001328, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001412/0.001412, allocations: 217.5 kB / 22.25 MB, free: 5.117 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.356/1.356, allocations: 230.6 MB / 256 MB, free: 7.973 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.872/0.872, allocations: 145 MB / 457.4 MB, free: 15.5 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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.001886/0.001886, allocations: 69.97 kB / 0.6333 GB, free: 7.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1488, allocations: 87.89 MB / 0.7191 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002593/0.1514, allocations: 1.457 MB / 0.7205 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004562/0.156, allocations: 2.989 MB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.08e-05/0.156, allocations: 0 / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.378e-05/0.1561, allocations: 7.922 kB / 0.7234 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.532e-05/0.1561, allocations: 19.8 kB / 0.7235 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.1608, allocations: 1.717 MB / 0.7251 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.1609, allocations: 43.67 kB / 0.7252 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.427e-05/0.161, allocations: 0 / 0.7252 GB, free: 9.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.161, allocations: 19.92 kB / 0.7252 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.061e-05/0.161, allocations: 11.94 kB / 0.7252 GB, free: 9.039 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.161, allocations: 4 kB / 0.7252 GB, free: 9.035 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003033/0.1641, allocations: 1.759 MB / 0.7269 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.1641, allocations: 7.938 kB / 0.7269 GB, free: 7.266 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.1641, allocations: 23.86 kB / 0.727 GB, free: 7.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002114/0.1662, allocations: 1.146 MB / 0.7281 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1662, allocations: 0 / 0.7281 GB, free: 6.094 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1662, allocations: 0 / 0.7281 GB, free: 6.094 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.1662, allocations: 0 / 0.7281 GB, free: 6.094 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008285/0.1671, allocations: 468 kB / 0.7285 GB, free: 5.605 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1671, allocations: 12.03 kB / 0.7285 GB, free: 5.594 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.874e-05/0.1672, allocations: 106 kB / 0.7286 GB, free: 5.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.011e-05/0.1673, allocations: 76.22 kB / 0.7287 GB, free: 5.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.1674, allocations: 213.6 kB / 0.7289 GB, free: 5.172 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.1675, allocations: 150.9 kB / 0.7291 GB, free: 5.023 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.931e-05/0.1675, allocations: 150.9 kB / 0.7292 GB, free: 4.875 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.286e-05/0.1676, allocations: 108.9 kB / 0.7293 GB, free: 4.762 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.1677, allocations: 75.28 kB / 0.7294 GB, free: 4.688 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.1677, allocations: 154.6 kB / 0.7295 GB, free: 4.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/0.1678, allocations: 154.5 kB / 0.7297 GB, free: 4.383 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.1678, allocations: 154.6 kB / 0.7298 GB, free: 4.23 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.1681, allocations: 433 kB / 0.7302 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.786e-05/0.1682, allocations: 177.1 kB / 0.7304 GB, free: 3.582 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.856e-05/0.1683, allocations: 84.19 kB / 0.7305 GB, free: 3.496 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.1683, allocations: 79.22 kB / 0.7306 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.1683, allocations: 105.8 kB / 0.7307 GB, free: 3.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.1683, allocations: 0 / 0.7307 GB, free: 3.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 7.777e-05/0.1684, allocations: 41.58 kB / 0.7307 GB, free: 3.258 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.1685, allocations: 130.6 kB / 0.7308 GB, free: 3.117 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.1686, allocations: 139.5 kB / 0.731 GB, free: 2.973 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.1686, allocations: 25.7 kB / 0.731 GB, free: 2.941 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1687, allocations: 84.14 kB / 0.7311 GB, free: 2.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.1687, allocations: 0 / 0.7311 GB, free: 2.855 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.513e-05/0.1687, allocations: 25.7 kB / 0.7311 GB, free: 2.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1689, allocations: 314.8 kB / 0.7314 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.1689, allocations: 4 kB / 0.7314 GB, free: 2.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.1689, allocations: 8 kB / 0.7314 GB, free: 2.496 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.737e-05/0.1689, allocations: 20.88 kB / 0.7314 GB, free: 2.473 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1689, allocations: 0 / 0.7314 GB, free: 2.473 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000123/0.1691, allocations: 53.59 kB / 0.7315 GB, free: 2.414 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.1691, allocations: 4 kB / 0.7315 GB, free: 2.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/0.1691, allocations: 7.938 kB / 0.7315 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1691, allocations: 0 / 0.7315 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.1691, allocations: 0 / 0.7315 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1691, allocations: 0 / 0.7315 GB, free: 2.402 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.154e-05/0.1691, allocations: 4 kB / 0.7315 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.1691, allocations: 3.984 kB / 0.7315 GB, free: 2.395 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001122/0.1693, allocations: 194.2 kB / 0.7317 GB, free: 2.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.493e-05/0.1693, allocations: 108.9 kB / 0.7318 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.77e-05/0.1694, allocations: 112.7 kB / 0.7319 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.559e-05/0.1694, allocations: 176.3 kB / 0.732 GB, free: 1.781 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.968e-05/0.1695, allocations: 180.2 kB / 0.7322 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-05/0.1696, allocations: 188.2 kB / 0.7324 GB, free: 1.406 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1698, allocations: 384.2 kB / 0.7328 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.266e-05/0.1699, allocations: 108.9 kB / 0.7329 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.1699, allocations: 104.9 kB / 0.733 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.89e-05/0.17, allocations: 184.2 kB / 0.7331 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.501e-05/0.17, allocations: 184.2 kB / 0.7333 GB, free: 392 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.027e-05/0.1701, allocations: 184.2 kB / 0.7335 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.79e-05/0.1702, allocations: 180.2 kB / 0.7337 GB, free: 12 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001663/0.1704, allocations: 315.7 kB / 0.734 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.452e-05/0.1704, allocations: 112.9 kB / 0.7341 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.1705, allocations: 184.3 kB / 0.7343 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.967e-05/0.1706, allocations: 104.9 kB / 0.7344 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.1707, allocations: 184.2 kB / 0.7345 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.1707, allocations: 105 kB / 0.7346 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.1708, allocations: 101.5 kB / 0.7347 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1708, allocations: 3.938 kB / 0.7347 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0007524/0.1715, allocations: 295 kB / 0.735 GB, free: 14.58 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001481/0.173, allocations: 1.202 MB / 0.7362 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.487e-05/0.1731, allocations: 37.7 kB / 0.7362 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1731, allocations: 0 / 0.7362 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.571e-06/0.1731, allocations: 3.938 kB / 0.7362 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004264/0.1735, allocations: 463.7 kB / 0.7367 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001473/0.175, allocations: 1.61 MB / 0.7382 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.1753, allocations: 0.6884 MB / 0.7389 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.285e-05/0.1753, allocations: 0 / 0.7389 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.1753, allocations: 15.44 kB / 0.7389 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of SimCode: time 4.1e-07/0.1753, allocations: 4 kB / 0.7389 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03564/0.211, allocations: 7.374 MB / 0.7461 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.34, allocations: 10.39 kB / 0.7461 GB, free: 3.227 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.04941595881246] Failed to read output from testmodel.py, exit status != 0: 11.450217690085992 11.724320509 11.555464776 Calling exit ...