Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001407/0.001407, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001587/0.001587, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.9324/0.9324, allocations: 150 MB / 463.2 MB, free: 10.52 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.002006/0.002006, allocations: 63.81 kB / 0.6413 GB, free: 10.32 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1826, allocations: 89.17 MB / 0.7284 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005916/0.1886, allocations: 4.188 MB / 0.7325 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004068/0.1926, allocations: 2.475 MB / 0.7349 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000317/0.1929, allocations: 12 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001735/0.1947, allocations: 0.5598 MB / 0.7355 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005487/0.1952, allocations: 246 kB / 0.7357 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.1955, allocations: 139.8 kB / 0.7358 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.1964, allocations: 0.802 MB / 0.7366 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003953/0.1968, allocations: 231 kB / 0.7368 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004877/0.1973, allocations: 306.9 kB / 0.7371 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.1977, allocations: 334.6 kB / 0.7374 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.1978, allocations: 72 kB / 0.7375 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.1979, allocations: 76 kB / 0.7376 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002095/0.1981, allocations: 175.4 kB / 0.7378 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003704/0.1985, allocations: 390.1 kB / 0.7381 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.1996, allocations: 0.9923 MB / 0.7391 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1996, allocations: 0 / 0.7391 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1996, allocations: 0 / 0.7391 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.351e-05/0.1996, allocations: 4 kB / 0.7391 GB, free: 6.207 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001614/0.2012, allocations: 0.8899 MB / 0.74 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.2013, allocations: 8.031 kB / 0.74 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001114/0.2014, allocations: 94.7 kB / 0.7401 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001234/0.2015, allocations: 76.47 kB / 0.7401 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007788/0.2023, allocations: 400.2 kB / 0.7405 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.138e-05/0.2023, allocations: 41.12 kB / 0.7406 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.2024, allocations: 48 kB / 0.7406 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.2032, allocations: 426.4 kB / 0.741 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.2032, allocations: 4 kB / 0.741 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/0.2033, allocations: 24 kB / 0.741 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.524e-05/0.2033, allocations: 8 kB / 0.7411 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007693/0.204, allocations: 367.8 kB / 0.7414 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002191/0.2062, allocations: 1.476 MB / 0.7428 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005713/0.2068, allocations: 314.9 kB / 0.7431 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.2073, allocations: 287.7 kB / 0.7434 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.2073, allocations: 4 kB / 0.7434 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.2073, allocations: 39.25 kB / 0.7435 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.774e-06/0.2073, allocations: 0 / 0.7435 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009994/0.2083, allocations: 0.4888 MB / 0.7439 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.2084, allocations: 55.41 kB / 0.744 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/0.209, allocations: 485.9 kB / 0.7445 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.209, allocations: 33.64 kB / 0.7445 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.2092, allocations: 284.6 kB / 0.7448 GB, free: 224 kB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2093, allocations: 154.6 kB / 0.7449 GB, free: 68 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.2095, allocations: 70.14 kB / 0.745 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.2096, allocations: 358.8 kB / 0.7453 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2099, allocations: 116.7 kB / 0.7454 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.2101, allocations: 129.4 kB / 0.7455 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005244/0.2106, allocations: 297.9 kB / 0.7458 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2106, allocations: 0 / 0.7458 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006607/0.2113, allocations: 396.5 kB / 0.7462 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2113, allocations: 8 kB / 0.7462 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2113, allocations: 0 / 0.7462 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.2114, allocations: 0 / 0.7462 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005284/0.2119, allocations: 127.8 kB / 0.7463 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/0.2119, allocations: 7.984 kB / 0.7463 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.2121, allocations: 35.73 kB / 0.7464 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.2121, allocations: 19.94 kB / 0.7464 GB, free: 14.5 MB / 0.5762 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.0002314/0.2124, allocations: 199.7 kB / 0.7466 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.2125, allocations: 51.67 kB / 0.7466 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.2126, allocations: 61.09 kB / 0.7467 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.2126, allocations: 4 kB / 0.7467 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2126, allocations: 0 / 0.7467 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2126, allocations: 4 kB / 0.7467 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.2133, allocations: 0.5429 MB / 0.7472 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2133, allocations: 4 kB / 0.7472 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.2138, allocations: 127.9 kB / 0.7474 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2138, allocations: 3.938 kB / 0.7474 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.2138, allocations: 15.98 kB / 0.7474 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.2138, allocations: 0 / 0.7474 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2138, allocations: 0 / 0.7474 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.2149, allocations: 0.6522 MB / 0.748 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.215, allocations: 63.58 kB / 0.7481 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.866e-05/0.215, allocations: 8 kB / 0.7481 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.2153, allocations: 15.98 kB / 0.7481 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.2153, allocations: 19.95 kB / 0.7481 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2153, allocations: 16 kB / 0.7481 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004314/0.2158, allocations: 351.1 kB / 0.7485 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2158, allocations: 0 / 0.7485 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004034/0.2162, allocations: 147.7 kB / 0.7486 GB, free: 12.18 MB / 0.5762 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.001356/0.2175, allocations: 1.212 MB / 0.7498 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006084/0.2181, allocations: 307.5 kB / 0.7501 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2181, allocations: 0 / 0.7501 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.2184, allocations: 167.6 kB / 0.7502 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.2191, allocations: 128.5 kB / 0.7504 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00666/0.2257, allocations: 4.855 MB / 0.7551 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.2262, allocations: 0.8704 MB / 0.756 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002108/0.2264, allocations: 56.34 kB / 0.756 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002638/0.2267, allocations: 187.4 kB / 0.7562 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of SimCode: time 1.493e-06/0.2267, allocations: 0 / 0.7562 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3703/0.597, allocations: 11.76 MB / 0.7677 GB, free: 34.24 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.22, allocations: 4.953 kB / 0.7677 GB, free: 34.24 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_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 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.987910593998095] Failed to read output from testmodel.py, exit status != 0: 12.33242614899791 12.356395296 12.152413832 Calling exit ...