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.00136/0.00136, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001588/0.001588, allocations: 217.5 kB / 22.99 MB, free: 4.977 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.422/1.422, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.9371/0.9371, allocations: 149.9 MB / 463 MB, free: 10.34 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.003377/0.003377, allocations: 70.83 kB / 0.6411 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1859, allocations: 89.17 MB / 0.7282 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005697/0.1916, allocations: 3.777 MB / 0.7319 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003774/0.1954, allocations: 2.226 MB / 0.7341 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004767/0.1959, allocations: 12 kB / 0.7341 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001883/0.1978, allocations: 0.5131 MB / 0.7346 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007739/0.1985, allocations: 242 kB / 0.7348 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1989, allocations: 143.8 kB / 0.7349 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001183/0.2001, allocations: 0.8059 MB / 0.7357 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004569/0.2006, allocations: 211.1 kB / 0.7359 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005899/0.2012, allocations: 310.9 kB / 0.7362 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005086/0.2017, allocations: 286.6 kB / 0.7365 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2018, allocations: 72 kB / 0.7366 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.202, allocations: 76 kB / 0.7366 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2022, allocations: 163.5 kB / 0.7368 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004564/0.2026, allocations: 318.6 kB / 0.7371 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.2038, allocations: 1.004 MB / 0.7381 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.2038, allocations: 0 / 0.7381 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2038, allocations: 0 / 0.7381 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.529e-05/0.2038, allocations: 4 kB / 0.7381 GB, free: 6.758 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.001853/0.2057, allocations: 0.8938 MB / 0.739 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2057, allocations: 8.031 kB / 0.739 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/0.2058, allocations: 86.7 kB / 0.7391 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.206, allocations: 76.47 kB / 0.7391 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007461/0.2067, allocations: 408.1 kB / 0.7395 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.806e-05/0.2068, allocations: 37.12 kB / 0.7396 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-05/0.2068, allocations: 48 kB / 0.7396 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/0.2076, allocations: 430.5 kB / 0.74 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.2076, allocations: 0 / 0.74 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.14e-05/0.2077, allocations: 20 kB / 0.74 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.2077, allocations: 12 kB / 0.74 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007297/0.2084, allocations: 363.8 kB / 0.7404 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.2106, allocations: 1.249 MB / 0.7416 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005371/0.2111, allocations: 311.4 kB / 0.7419 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.2116, allocations: 302.8 kB / 0.7422 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.2116, allocations: 4 kB / 0.7422 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2117, allocations: 35.25 kB / 0.7422 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 2.294e-06/0.2117, allocations: 0 / 0.7422 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009905/0.2127, allocations: 0.4927 MB / 0.7427 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.2127, allocations: 55.41 kB / 0.7428 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006133/0.2133, allocations: 482.7 kB / 0.7432 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.2134, allocations: 41.69 kB / 0.7433 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002178/0.2136, allocations: 276.7 kB / 0.7435 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2137, allocations: 158.6 kB / 0.7437 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.2138, allocations: 58.08 kB / 0.7437 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.214, allocations: 362.8 kB / 0.7441 GB, free: 436 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.2143, allocations: 116.7 kB / 0.7442 GB, free: 320 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.2145, allocations: 129.4 kB / 0.7443 GB, free: 192 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/0.2151, allocations: 305.9 kB / 0.7446 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.2151, allocations: 3.938 kB / 0.7446 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007023/0.2158, allocations: 392.5 kB / 0.745 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.2158, allocations: 8 kB / 0.745 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.2158, allocations: 7.969 kB / 0.745 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.2158, allocations: 0 / 0.745 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/0.2163, allocations: 123.9 kB / 0.7451 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2164, allocations: 8 kB / 0.7451 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.2166, allocations: 35.73 kB / 0.7452 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.2166, allocations: 8 kB / 0.7452 GB, free: 15.3 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.0002437/0.2169, allocations: 201.7 kB / 0.7454 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/0.217, allocations: 51.67 kB / 0.7454 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001227/0.2171, allocations: 61.09 kB / 0.7455 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.2171, allocations: 4 kB / 0.7455 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2171, allocations: 4 kB / 0.7455 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2171, allocations: 0 / 0.7455 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006936/0.2178, allocations: 484.2 kB / 0.7459 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2178, allocations: 8 kB / 0.7459 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.2183, allocations: 127.8 kB / 0.7461 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.2183, allocations: 0 / 0.7461 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.842e-05/0.2184, allocations: 8 kB / 0.7461 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.716e-06/0.2184, allocations: 0 / 0.7461 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2184, allocations: 0 / 0.7461 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.2194, allocations: 0.6562 MB / 0.7467 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.2195, allocations: 63.58 kB / 0.7468 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.2196, allocations: 7.938 kB / 0.7468 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.2198, allocations: 15.98 kB / 0.7468 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.418e-05/0.2199, allocations: 27.89 kB / 0.7468 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.2199, allocations: 12 kB / 0.7468 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004398/0.2204, allocations: 347.1 kB / 0.7472 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2204, allocations: 0 / 0.7472 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004374/0.2208, allocations: 143.7 kB / 0.7473 GB, free: 13.05 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.001396/0.2222, allocations: 1.219 MB / 0.7485 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006295/0.2228, allocations: 295.6 kB / 0.7488 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2228, allocations: 0 / 0.7488 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.2231, allocations: 175.5 kB / 0.7489 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.2238, allocations: 130.8 kB / 0.7491 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/0.2308, allocations: 4.863 MB / 0.7538 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.2311, allocations: 263.2 kB / 0.7541 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002321/0.2313, allocations: 56.36 kB / 0.7541 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/0.2316, allocations: 191.4 kB / 0.7543 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of SimCode: time 8.12e-07/0.2316, allocations: 0 / 0.7543 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/0.5927, allocations: 12.6 MB / 0.7666 GB, free: 34.44 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/12.08, allocations: 3.844 kB / 0.7666 GB, free: 34.44 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.820691986940801] Failed to read output from testmodel.py, exit status != 0: 12.200212467927486 12.227172753 12.018348828 Calling exit ...