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.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.001435/0.001435, 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.001944/0.001944, 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 1.047/1.047, allocations: 149.9 MB / 463.1 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.002394/0.002394, allocations: 70.73 kB / 0.6412 GB, free: 10.03 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2134, 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.Functions.Validation.InternalResistancesOneUTube): time 0.003017/0.2164, allocations: 1.407 MB / 0.7296 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005074/0.2215, allocations: 2.646 MB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.837e-05/0.2215, allocations: 0 / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.2215, allocations: 3.938 kB / 0.7322 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.049e-05/0.2216, allocations: 15.84 kB / 0.7322 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004795/0.2264, allocations: 1.62 MB / 0.7338 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.2266, allocations: 39.73 kB / 0.7338 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.789e-05/0.2266, allocations: 4 kB / 0.7338 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.2266, allocations: 19.92 kB / 0.7339 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.79e-05/0.2267, allocations: 7.938 kB / 0.7339 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.2267, allocations: 4 kB / 0.7339 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002994/0.2297, allocations: 1.454 MB / 0.7353 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.2297, allocations: 11.94 kB / 0.7353 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.2297, allocations: 7.938 kB / 0.7353 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.232, allocations: 1.074 MB / 0.7364 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.232, allocations: 0 / 0.7364 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.734e-06/0.232, allocations: 0 / 0.7364 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.232, allocations: 0 / 0.7364 GB, free: 8.617 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.0008222/0.2328, allocations: 479.9 kB / 0.7368 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2328, allocations: 8.031 kB / 0.7368 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.851e-05/0.2329, allocations: 110 kB / 0.7369 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/0.233, allocations: 88.17 kB / 0.737 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.2332, allocations: 193.7 kB / 0.7372 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.462e-05/0.2332, allocations: 154.5 kB / 0.7373 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-05/0.2333, allocations: 150.6 kB / 0.7375 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.101e-05/0.2334, allocations: 105 kB / 0.7376 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.144e-05/0.2334, allocations: 79.28 kB / 0.7377 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.01e-05/0.2335, allocations: 150.6 kB / 0.7378 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.877e-05/0.2336, allocations: 154.6 kB / 0.738 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.2336, allocations: 154.5 kB / 0.7381 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004096/0.234, allocations: 440.9 kB / 0.7385 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.2342, allocations: 173.1 kB / 0.7387 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.385e-05/0.2342, allocations: 84.14 kB / 0.7388 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.2343, allocations: 79.22 kB / 0.7388 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.2344, allocations: 113.8 kB / 0.739 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.2344, allocations: 0 / 0.739 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 8.251e-05/0.2344, allocations: 29.66 kB / 0.739 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.2345, allocations: 134.7 kB / 0.7391 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.2347, allocations: 133.7 kB / 0.7392 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.2347, allocations: 25.7 kB / 0.7393 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.2348, allocations: 84.14 kB / 0.7393 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.941e-06/0.2348, allocations: 4 kB / 0.7393 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.2348, allocations: 21.72 kB / 0.7394 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.235, allocations: 322.8 kB / 0.7397 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.235, allocations: 4 kB / 0.7397 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.2351, allocations: 4 kB / 0.7397 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.2351, allocations: 16.8 kB / 0.7397 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2351, allocations: 0 / 0.7397 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001549/0.2353, allocations: 49.64 kB / 0.7397 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2353, allocations: 6.188 kB / 0.7397 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/0.2353, allocations: 4 kB / 0.7398 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.2353, allocations: 0 / 0.7398 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.022e-06/0.2353, allocations: 64 / 0.7398 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2353, allocations: 4 kB / 0.7398 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.253e-05/0.2353, allocations: 0 / 0.7398 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.2354, allocations: 0 / 0.7398 GB, free: 4.926 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.0001383/0.2355, allocations: 197 kB / 0.7399 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.881e-05/0.2356, allocations: 112.9 kB / 0.7401 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.486e-05/0.2356, allocations: 108.7 kB / 0.7402 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-05/0.2357, allocations: 184.2 kB / 0.7403 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.281e-05/0.2358, allocations: 180.2 kB / 0.7405 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.758e-05/0.2359, allocations: 180.3 kB / 0.7407 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.2362, allocations: 388.2 kB / 0.741 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.927e-05/0.2363, allocations: 113 kB / 0.7412 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.942e-05/0.2363, allocations: 104.9 kB / 0.7413 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.763e-05/0.2364, allocations: 176.3 kB / 0.7414 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.2365, allocations: 188.3 kB / 0.7416 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.022e-05/0.2366, allocations: 184.2 kB / 0.7418 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.16e-05/0.2367, allocations: 176.3 kB / 0.7419 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.2369, allocations: 319.6 kB / 0.7423 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.2369, allocations: 108.9 kB / 0.7424 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.237, allocations: 180.2 kB / 0.7425 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.2371, allocations: 101 kB / 0.7426 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/0.2372, allocations: 188.2 kB / 0.7428 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.2373, allocations: 105 kB / 0.7429 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.276e-05/0.2373, allocations: 103.2 kB / 0.743 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2373, allocations: 0 / 0.743 GB, free: 1.398 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000907/0.2383, allocations: 291 kB / 0.7433 GB, free: 1.113 MB / 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.00194/0.2402, allocations: 1.179 MB / 0.7444 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001261/0.2403, allocations: 37.69 kB / 0.7445 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2403, allocations: 4.062 kB / 0.7445 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.975e-06/0.2403, allocations: 0 / 0.7445 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.2408, allocations: 459.7 kB / 0.7449 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.2427, allocations: 1.59 MB / 0.7465 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.019e-05/0.2427, allocations: 71.33 kB / 0.7465 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.674e-05/0.2427, allocations: 0 / 0.7465 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.2428, allocations: 23.47 kB / 0.7466 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.2428, allocations: 0 / 0.7466 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04084/0.2836, allocations: 7.626 MB / 0.754 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.03, allocations: 7.266 kB / 0.754 GB, free: 6.188 MB / 0.5762 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_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_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.46936423704028] Failed to read output from testmodel.py, exit status != 0: 12.143548231106251 12.483689683 12.249118977 Calling exit ...