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.001389/0.001389, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001556/0.001556, allocations: 217.3 kB / 22.26 MB, free: 5.113 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.012 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.9696/0.9696, allocations: 145 MB / 457.4 MB, free: 15.51 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.001978/0.001978, allocations: 62.09 kB / 0.6333 GB, free: 7.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1867, allocations: 87.89 MB / 0.7191 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002716/0.1894, allocations: 1.464 MB / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004889/0.1943, allocations: 2.993 MB / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1943, allocations: 0 / 0.7234 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.288e-05/0.1944, allocations: 7.922 kB / 0.7234 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.1944, allocations: 15.86 kB / 0.7235 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004637/0.1991, allocations: 1.71 MB / 0.7251 GB, free: 9.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.1992, allocations: 43.73 kB / 0.7252 GB, free: 9.109 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.1992, allocations: 7.922 kB / 0.7252 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/0.1993, allocations: 19.88 kB / 0.7252 GB, free: 9.082 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.439e-05/0.1993, allocations: 19.92 kB / 0.7252 GB, free: 9.062 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1993, allocations: 4 kB / 0.7252 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002868/0.2022, allocations: 1.759 MB / 0.7269 GB, free: 7.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.2022, allocations: 3.938 kB / 0.7269 GB, free: 7.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.2022, allocations: 19.88 kB / 0.727 GB, free: 7.273 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.204, allocations: 1.142 MB / 0.7281 GB, free: 6.129 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.204, allocations: 3.984 kB / 0.7281 GB, free: 6.125 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.204, allocations: 0 / 0.7281 GB, free: 6.125 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.204, allocations: 4 kB / 0.7281 GB, free: 6.121 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.0006906/0.2047, allocations: 476 kB / 0.7285 GB, free: 5.625 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.2048, allocations: 8.031 kB / 0.7285 GB, free: 5.617 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.786e-05/0.2048, allocations: 114 kB / 0.7286 GB, free: 5.496 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.581e-05/0.2049, allocations: 76.22 kB / 0.7287 GB, free: 5.422 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.2051, allocations: 203.7 kB / 0.7289 GB, free: 5.199 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.958e-05/0.2052, allocations: 154.9 kB / 0.7291 GB, free: 5.047 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.732e-05/0.2053, allocations: 154.9 kB / 0.7292 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.41e-05/0.2054, allocations: 108.9 kB / 0.7293 GB, free: 4.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.56e-05/0.2054, allocations: 75.28 kB / 0.7294 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.2055, allocations: 150.6 kB / 0.7295 GB, free: 4.559 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.666e-05/0.2056, allocations: 154.6 kB / 0.7297 GB, free: 4.406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.158e-05/0.2056, allocations: 154.6 kB / 0.7298 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.206, allocations: 437 kB / 0.7302 GB, free: 3.785 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2061, allocations: 169.1 kB / 0.7304 GB, free: 3.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.438e-05/0.2062, allocations: 84.19 kB / 0.7305 GB, free: 3.523 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.2062, allocations: 87.16 kB / 0.7306 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/0.2063, allocations: 105.8 kB / 0.7307 GB, free: 3.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2063, allocations: 0 / 0.7307 GB, free: 3.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 9.063e-05/0.2063, allocations: 33.66 kB / 0.7307 GB, free: 3.285 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.2064, allocations: 130.7 kB / 0.7308 GB, free: 3.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.2066, allocations: 137.8 kB / 0.731 GB, free: 3 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2066, allocations: 25.7 kB / 0.731 GB, free: 2.969 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.2067, allocations: 92.14 kB / 0.7311 GB, free: 2.875 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.2067, allocations: 0 / 0.7311 GB, free: 2.875 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.2067, allocations: 17.72 kB / 0.7311 GB, free: 2.852 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001788/0.2069, allocations: 318.8 kB / 0.7314 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.2069, allocations: 4 kB / 0.7314 GB, free: 2.527 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.121e-05/0.2069, allocations: 8 kB / 0.7314 GB, free: 2.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.207, allocations: 12.86 kB / 0.7314 GB, free: 2.504 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.207, allocations: 0 / 0.7314 GB, free: 2.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001352/0.2071, allocations: 57.64 kB / 0.7315 GB, free: 2.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.2071, allocations: 8 kB / 0.7315 GB, free: 2.434 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/0.2071, allocations: 4 kB / 0.7315 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2072, allocations: 0 / 0.7315 GB, free: 2.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.2072, allocations: 3.938 kB / 0.7315 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2072, allocations: 0 / 0.7315 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.2072, allocations: 4 kB / 0.7315 GB, free: 2.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.2072, allocations: 0 / 0.7315 GB, free: 2.422 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.0001243/0.2073, allocations: 185.1 kB / 0.7317 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-05/0.2074, allocations: 116.9 kB / 0.7318 GB, free: 2.109 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.492e-05/0.2075, allocations: 112.8 kB / 0.7319 GB, free: 1.988 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.968e-05/0.2076, allocations: 180.2 kB / 0.7321 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.166e-05/0.2077, allocations: 184.3 kB / 0.7322 GB, free: 1.617 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.272e-05/0.2077, allocations: 184.2 kB / 0.7324 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002742/0.208, allocations: 392.2 kB / 0.7328 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.374e-05/0.2081, allocations: 104.9 kB / 0.7329 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.781e-05/0.2081, allocations: 105 kB / 0.733 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-05/0.2082, allocations: 180.2 kB / 0.7332 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.2083, allocations: 180.2 kB / 0.7333 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.938e-05/0.2084, allocations: 176.3 kB / 0.7335 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-05/0.2085, allocations: 188.2 kB / 0.7337 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.2087, allocations: 319.6 kB / 0.734 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.806e-05/0.2087, allocations: 112.9 kB / 0.7341 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.185e-05/0.2088, allocations: 176.3 kB / 0.7343 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.505e-05/0.2089, allocations: 108.9 kB / 0.7344 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.209, allocations: 180.3 kB / 0.7345 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.2091, allocations: 109 kB / 0.7346 GB, free: 15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.837e-05/0.2091, allocations: 101 kB / 0.7347 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2091, allocations: 0 / 0.7347 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008593/0.21, allocations: 299 kB / 0.735 GB, free: 14.61 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.001529/0.2115, allocations: 1.197 MB / 0.7362 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.2117, allocations: 41.7 kB / 0.7362 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2117, allocations: 4.062 kB / 0.7362 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.36e-06/0.2117, allocations: 3.938 kB / 0.7362 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.2121, allocations: 463.7 kB / 0.7367 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.2138, allocations: 1.604 MB / 0.7382 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.2141, allocations: 0.6846 MB / 0.7389 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.2141, allocations: 3.938 kB / 0.7389 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.2142, allocations: 15.42 kB / 0.7389 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2142, allocations: 0 / 0.7389 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03792/0.2521, allocations: 7.378 MB / 0.7461 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.53, allocations: 3.984 kB / 0.7461 GB, free: 3.262 MB / 0.5606 GB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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 sys.exit(0), Time elapsed: 15.687304119997862] Failed to read output from testmodel.py, exit status != 0: 11.643102778998582 11.923322822 11.716245472 Calling exit ...