Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001307/0.001307, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001432/0.001432, allocations: 211.4 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.742 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.9046/0.9046, allocations: 145 MB / 457.4 MB, free: 15.32 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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.002261/0.002261, allocations: 65.72 kB / 0.6332 GB, free: 6.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1763, allocations: 87.89 MB / 0.719 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00599/0.1823, allocations: 3.776 MB / 0.7227 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004504/0.1868, allocations: 2.227 MB / 0.7248 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007333/0.1875, allocations: 16 kB / 0.7249 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.1897, allocations: 497.4 kB / 0.7253 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009341/0.1907, allocations: 254 kB / 0.7256 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000411/0.1911, allocations: 135.8 kB / 0.7257 GB, free: 7.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.1924, allocations: 0.8175 MB / 0.7265 GB, free: 7.078 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004787/0.1929, allocations: 219 kB / 0.7267 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006237/0.1935, allocations: 303 kB / 0.727 GB, free: 6.559 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005551/0.194, allocations: 278.6 kB / 0.7273 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1942, allocations: 80 kB / 0.7273 GB, free: 6.207 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.1943, allocations: 76 kB / 0.7274 GB, free: 6.133 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.1945, allocations: 171.4 kB / 0.7276 GB, free: 5.965 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.195, allocations: 318.6 kB / 0.7279 GB, free: 5.652 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.1961, allocations: 1.035 MB / 0.7289 GB, free: 4.613 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1961, allocations: 0 / 0.7289 GB, free: 4.613 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.1961, allocations: 0 / 0.7289 GB, free: 4.613 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.352e-05/0.1961, allocations: 0 / 0.7289 GB, free: 4.613 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001754/0.1979, allocations: 0.8938 MB / 0.7298 GB, free: 3.688 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.322e-05/0.198, allocations: 12.03 kB / 0.7298 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001217/0.1981, allocations: 90.7 kB / 0.7299 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1982, allocations: 80.47 kB / 0.7299 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007218/0.199, allocations: 404.2 kB / 0.7303 GB, free: 3.078 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.446e-05/0.199, allocations: 33.38 kB / 0.7304 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.56e-05/0.1991, allocations: 52.31 kB / 0.7304 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007653/0.1998, allocations: 430.6 kB / 0.7308 GB, free: 2.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.1998, allocations: 4 kB / 0.7308 GB, free: 2.562 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.87e-05/0.1999, allocations: 16 kB / 0.7308 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/0.1999, allocations: 19.98 kB / 0.7309 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.2006, allocations: 359.8 kB / 0.7312 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00204/0.2027, allocations: 1.241 MB / 0.7324 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00052/0.2032, allocations: 320.1 kB / 0.7327 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005665/0.2037, allocations: 288.5 kB / 0.733 GB, free: 284 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.2038, allocations: 7.938 kB / 0.733 GB, free: 276 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.2038, allocations: 43.25 kB / 0.733 GB, free: 224 kB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.824e-06/0.2038, allocations: 0 / 0.733 GB, free: 224 kB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009882/0.2048, allocations: 0.4943 MB / 0.7335 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.2048, allocations: 59.39 kB / 0.7336 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.2054, allocations: 485.9 kB / 0.734 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.182e-05/0.2055, allocations: 37.7 kB / 0.7341 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.2057, allocations: 272.7 kB / 0.7343 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.2058, allocations: 158.6 kB / 0.7345 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.2059, allocations: 62.08 kB / 0.7346 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.2061, allocations: 366.8 kB / 0.7349 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.2064, allocations: 120.7 kB / 0.735 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.2066, allocations: 121.5 kB / 0.7351 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.2071, allocations: 298 kB / 0.7354 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2071, allocations: 0 / 0.7354 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006681/0.2078, allocations: 408.4 kB / 0.7358 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2078, allocations: 8 kB / 0.7358 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2078, allocations: 0 / 0.7358 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.2078, allocations: 0 / 0.7358 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005076/0.2083, allocations: 124.6 kB / 0.7359 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.2083, allocations: 4 kB / 0.7359 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.2086, allocations: 35.73 kB / 0.736 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.105e-05/0.2086, allocations: 11.98 kB / 0.736 GB, free: 13.15 MB / 0.5606 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 (46): * Single equations (assignments): 46 * 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.0002352/0.2088, allocations: 197.8 kB / 0.7362 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.415e-05/0.2089, allocations: 55.61 kB / 0.7362 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.209, allocations: 61.09 kB / 0.7363 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.209, allocations: 7.938 kB / 0.7363 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.209, allocations: 4 kB / 0.7363 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.209, allocations: 3.984 kB / 0.7363 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000657/0.2097, allocations: 484.2 kB / 0.7368 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2097, allocations: 3.938 kB / 0.7368 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.2102, allocations: 123.9 kB / 0.7369 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.2102, allocations: 4 kB / 0.7369 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.2102, allocations: 8 kB / 0.7369 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2102, allocations: 0 / 0.7369 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2102, allocations: 4 kB / 0.7369 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.2113, allocations: 0.6548 MB / 0.7375 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.2114, allocations: 63.58 kB / 0.7376 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.2114, allocations: 4 kB / 0.7376 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002126/0.2116, allocations: 19.98 kB / 0.7376 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.2117, allocations: 23.95 kB / 0.7376 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.2117, allocations: 12 kB / 0.7377 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004023/0.2121, allocations: 351.1 kB / 0.738 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2121, allocations: 0 / 0.738 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003937/0.2125, allocations: 143.7 kB / 0.7381 GB, free: 10.88 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001381/0.2139, allocations: 1.222 MB / 0.7393 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006158/0.2145, allocations: 295.6 kB / 0.7396 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2145, allocations: 0 / 0.7396 GB, free: 9.344 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.2148, allocations: 167.6 kB / 0.7398 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.2155, allocations: 132.6 kB / 0.7399 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007096/0.2226, allocations: 4.858 MB / 0.7446 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.2229, allocations: 275.2 kB / 0.7449 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.2232, allocations: 56.39 kB / 0.7449 GB, free: 3.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.2235, allocations: 187.4 kB / 0.7451 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of SimCode: time 1.403e-06/0.2235, allocations: 0 / 0.7451 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3649/0.5884, allocations: 12.65 MB / 0.7575 GB, free: 27.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.95, allocations: 2.406 kB / 0.7575 GB, free: 27.8 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.748984616715461] Failed to read output from testmodel.py, exit status != 0: 12.067074935883284 12.089612704 11.889272068 Calling exit ...