Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001314/0.001314, allocations: 119 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.00145/0.00145, allocations: 221.6 kB / 23.01 MB, free: 5.047 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.93/0.93, allocations: 150 MB / 463.2 MB, free: 10.45 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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.00205/0.00205, allocations: 69.84 kB / 0.6413 GB, free: 10.29 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.175, allocations: 89.19 MB / 0.7284 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004548/0.1795, allocations: 3.051 MB / 0.7314 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003145/0.1827, allocations: 2.207 MB / 0.7335 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002131/0.1829, allocations: 4 kB / 0.7335 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.1844, allocations: 0.5094 MB / 0.734 GB, free: 11.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.1847, allocations: 150.8 kB / 0.7342 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.1848, allocations: 59.95 kB / 0.7342 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005214/0.1854, allocations: 441.8 kB / 0.7347 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002255/0.1856, allocations: 111.8 kB / 0.7348 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.1859, allocations: 171.3 kB / 0.7349 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.1861, allocations: 179.2 kB / 0.7351 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.1862, allocations: 39.98 kB / 0.7351 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.959e-05/0.1862, allocations: 39.94 kB / 0.7352 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.1864, allocations: 95.67 kB / 0.7353 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.1866, allocations: 218.9 kB / 0.7355 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.1872, allocations: 0.5447 MB / 0.736 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1872, allocations: 0 / 0.736 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.492e-06/0.1872, allocations: 0 / 0.736 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.1872, allocations: 0 / 0.736 GB, free: 9.336 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001053/0.1882, allocations: 0.6368 MB / 0.7366 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.1883, allocations: 8.031 kB / 0.7366 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/0.1883, allocations: 54.73 kB / 0.7367 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/0.1884, allocations: 48.61 kB / 0.7367 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005591/0.189, allocations: 316.6 kB / 0.737 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.189, allocations: 24.5 kB / 0.7371 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.189, allocations: 23.98 kB / 0.7371 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004388/0.1895, allocations: 199.3 kB / 0.7373 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.1895, allocations: 3.938 kB / 0.7373 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1895, allocations: 12 kB / 0.7373 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.1895, allocations: 4 kB / 0.7373 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.1899, allocations: 157.7 kB / 0.7374 GB, free: 7.797 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001184/0.1911, allocations: 0.8316 MB / 0.7383 GB, free: 6.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000294/0.1914, allocations: 142.8 kB / 0.7384 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.1916, allocations: 104.8 kB / 0.7385 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1916, allocations: 3.938 kB / 0.7385 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.1916, allocations: 42.56 kB / 0.7385 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.233e-06/0.1916, allocations: 3.938 kB / 0.7385 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0005992/0.1922, allocations: 255.9 kB / 0.7388 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.1923, allocations: 51.41 kB / 0.7388 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/0.1928, allocations: 421.7 kB / 0.7392 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.424e-05/0.1928, allocations: 29.7 kB / 0.7393 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.193, allocations: 204.5 kB / 0.7395 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/0.193, allocations: 71.41 kB / 0.7395 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.858e-05/0.1931, allocations: 25.72 kB / 0.7396 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1933, allocations: 350.8 kB / 0.7399 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.1934, allocations: 55.97 kB / 0.7399 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1935, allocations: 62.02 kB / 0.74 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.1938, allocations: 139 kB / 0.7401 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1938, allocations: 0 / 0.7401 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003887/0.1942, allocations: 213.3 kB / 0.7403 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1942, allocations: 4 kB / 0.7403 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1942, allocations: 0 / 0.7403 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1943, allocations: 0 / 0.7403 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.1945, allocations: 59.95 kB / 0.7404 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.1945, allocations: 3.938 kB / 0.7404 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001364/0.1947, allocations: 19.88 kB / 0.7404 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.1947, allocations: 4 kB / 0.7404 GB, free: 4.605 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 (20): * Single equations (assignments): 20 * 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.0001644/0.1948, allocations: 163.8 kB / 0.7406 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.1949, allocations: 43.7 kB / 0.7406 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.195, allocations: 39.52 kB / 0.7407 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.195, allocations: 8 kB / 0.7407 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.195, allocations: 0 / 0.7407 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.195, allocations: 0 / 0.7407 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.1954, allocations: 344.4 kB / 0.741 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1954, allocations: 7.938 kB / 0.741 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002535/0.1957, allocations: 59.89 kB / 0.7411 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1957, allocations: 0 / 0.7411 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.1957, allocations: 0 / 0.7411 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1957, allocations: 4 kB / 0.7411 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1957, allocations: 3.938 kB / 0.7411 GB, free: 3.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1963, allocations: 381.2 kB / 0.7414 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.1963, allocations: 43.67 kB / 0.7415 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.1964, allocations: 7.938 kB / 0.7415 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1965, allocations: 11.98 kB / 0.7415 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.1966, allocations: 11.97 kB / 0.7415 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.1966, allocations: 16 kB / 0.7415 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003287/0.1969, allocations: 295.2 kB / 0.7418 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1969, allocations: 0 / 0.7418 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003033/0.1972, allocations: 71.89 kB / 0.7419 GB, free: 3.059 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0009261/0.1982, allocations: 0.9307 MB / 0.7428 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.1985, allocations: 133.5 kB / 0.7429 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1985, allocations: 0 / 0.7429 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.1987, allocations: 77.94 kB / 0.743 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005538/0.1992, allocations: 97.2 kB / 0.7431 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.204, allocations: 3.495 MB / 0.7465 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004224/0.2044, allocations: 0.799 MB / 0.7473 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.2045, allocations: 30.97 kB / 0.7473 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.2047, allocations: 115.4 kB / 0.7474 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of SimCode: time 1.383e-06/0.2047, allocations: 4 kB / 0.7474 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03864/0.2433, allocations: 8.145 MB / 0.7554 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.61, allocations: 11.62 kB / 0.7554 GB, free: 5.355 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.678734828001325] Failed to read output from testmodel.py, exit status != 0: 11.720826376000332 12.030334584 11.840491763 Calling exit ...