Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.00189/0.00189, allocations: 115 kB / 19.7 MB, free: 2.039 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.00239/0.00239, allocations: 225.4 kB / 23.01 MB, free: 4.945 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 7.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.97/0.97, allocations: 150 MB / 463.2 MB, free: 10.46 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002021/0.002021, allocations: 67.12 kB / 0.6413 GB, free: 10.25 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1744, allocations: 89.17 MB / 0.7284 GB, free: 1.137 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002777/0.1772, allocations: 1.457 MB / 0.7298 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.1824, allocations: 2.996 MB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.1825, allocations: 0 / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.1825, allocations: 3.938 kB / 0.7328 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.658e-05/0.1826, allocations: 23.78 kB / 0.7328 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004866/0.1875, allocations: 1.704 MB / 0.7345 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.1876, allocations: 47.67 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.05e-05/0.1877, allocations: 4 kB / 0.7345 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.906e-05/0.1877, allocations: 23.92 kB / 0.7345 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.17e-05/0.1877, allocations: 11.92 kB / 0.7345 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1877, allocations: 4 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.1907, allocations: 1.755 MB / 0.7363 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.293e-05/0.1907, allocations: 15.92 kB / 0.7363 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.1908, allocations: 15.88 kB / 0.7363 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.1926, allocations: 1.148 MB / 0.7374 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1926, allocations: 0 / 0.7374 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1926, allocations: 4 kB / 0.7374 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.1926, allocations: 0 / 0.7374 GB, free: 7.918 MB / 0.5606 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.0007049/0.1933, allocations: 483.9 kB / 0.7379 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.1934, allocations: 8.031 kB / 0.7379 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.409e-05/0.1934, allocations: 106 kB / 0.738 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1936, allocations: 84.17 kB / 0.7381 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.1937, allocations: 203.8 kB / 0.7383 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.1938, allocations: 158.5 kB / 0.7384 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.729e-05/0.1939, allocations: 150.6 kB / 0.7386 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.326e-05/0.194, allocations: 109 kB / 0.7387 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.194, allocations: 79.22 kB / 0.7387 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.499e-05/0.1941, allocations: 154.5 kB / 0.7389 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.952e-05/0.1941, allocations: 150.6 kB / 0.739 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.761e-05/0.1942, allocations: 158.5 kB / 0.7392 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.1945, allocations: 436.9 kB / 0.7396 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.1947, allocations: 169.1 kB / 0.7398 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.1947, allocations: 80.14 kB / 0.7398 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.214e-05/0.1947, allocations: 83.28 kB / 0.7399 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/0.1948, allocations: 105.8 kB / 0.74 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.1948, allocations: 0 / 0.74 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 9.214e-05/0.1949, allocations: 37.59 kB / 0.7401 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.195, allocations: 126.7 kB / 0.7402 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.1951, allocations: 133.8 kB / 0.7403 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1951, allocations: 25.7 kB / 0.7403 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.1952, allocations: 96.12 kB / 0.7404 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/0.1952, allocations: 0 / 0.7404 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.1952, allocations: 17.72 kB / 0.7404 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.1954, allocations: 326.8 kB / 0.7407 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.1954, allocations: 4 kB / 0.7408 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.383e-05/0.1955, allocations: 4 kB / 0.7408 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.1955, allocations: 16.86 kB / 0.7408 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1955, allocations: 0 / 0.7408 GB, free: 4.285 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001374/0.1956, allocations: 61.61 kB / 0.7408 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1957, allocations: 4 kB / 0.7408 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.1957, allocations: 4 kB / 0.7408 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1957, allocations: 0 / 0.7408 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.1957, allocations: 0 / 0.7408 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1957, allocations: 0 / 0.7408 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.327e-05/0.1957, allocations: 3.953 kB / 0.7408 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.1957, allocations: 4 kB / 0.7408 GB, free: 4.203 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 (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.0001371/0.1959, allocations: 189.1 kB / 0.741 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.1959, allocations: 113 kB / 0.7411 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.196, allocations: 108.8 kB / 0.7412 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.486e-05/0.1961, allocations: 184.2 kB / 0.7414 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.412e-05/0.1962, allocations: 180.2 kB / 0.7416 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.45e-05/0.1963, allocations: 180.3 kB / 0.7418 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000276/0.1966, allocations: 400.1 kB / 0.7421 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/0.1966, allocations: 101 kB / 0.7422 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.097e-05/0.1967, allocations: 104.9 kB / 0.7423 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.793e-05/0.1967, allocations: 188.2 kB / 0.7425 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.822e-05/0.1968, allocations: 180.3 kB / 0.7427 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.495e-05/0.1969, allocations: 184.2 kB / 0.7429 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-05/0.197, allocations: 180.3 kB / 0.743 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1972, allocations: 315.7 kB / 0.7433 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.1972, allocations: 112.9 kB / 0.7434 GB, free: 1.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.735e-05/0.1973, allocations: 184.2 kB / 0.7436 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.262e-05/0.1974, allocations: 105 kB / 0.7437 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.1975, allocations: 176.3 kB / 0.7439 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.1975, allocations: 108.9 kB / 0.744 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.1976, allocations: 105.3 kB / 0.7441 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1976, allocations: 0 / 0.7441 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009115/0.1985, allocations: 295 kB / 0.7444 GB, free: 396 kB / 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.2001, allocations: 1.196 MB / 0.7455 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.2002, allocations: 41.64 kB / 0.7456 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2002, allocations: 4.062 kB / 0.7456 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.2002, allocations: 0 / 0.7456 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004503/0.2006, allocations: 462.8 kB / 0.746 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.2023, allocations: 1.607 MB / 0.7476 GB, free: 12.97 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.2027, allocations: 0.6846 MB / 0.7483 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.447e-05/0.2027, allocations: 0 / 0.7483 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.186e-05/0.2027, allocations: 19.42 kB / 0.7483 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of SimCode: time 5.21e-07/0.2027, allocations: 0 / 0.7483 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/0.2384, allocations: 7.357 MB / 0.7555 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.53, allocations: 12.5 kB / 0.7555 GB, free: 5.062 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.879492747000768] Failed to read output from testmodel.py, exit status != 0: 11.63391985600174 11.947055886 11.751740253 Calling exit ...