Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001538/0.001538, allocations: 103.4 kB / 16.45 MB, free: 6.449 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.001775/0.001775, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.485/1.485, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.298/3.298, allocations: 0.505 GB / 0.8066 GB, free: 23.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002011/0.002011, allocations: 78.56 kB / 1.172 GB, free: 17.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3501, allocations: 180.2 MB / 1.348 GB, free: 9.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002968/0.3531, allocations: 1.456 MB / 1.349 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00517/0.3583, allocations: 2.938 MB / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.948e-05/0.3583, allocations: 0 / 1.352 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.894e-05/0.3584, allocations: 3.984 kB / 1.352 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.853e-05/0.3584, allocations: 15.88 kB / 1.352 GB, free: 5.492 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.3628, allocations: 1.634 MB / 1.354 GB, free: 3.871 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.363, allocations: 43.67 kB / 1.354 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.363, allocations: 4 kB / 1.354 GB, free: 3.824 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.363, allocations: 15.92 kB / 1.354 GB, free: 3.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.044e-05/0.3631, allocations: 15.94 kB / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.3631, allocations: 0 / 1.354 GB, free: 3.793 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.3659, allocations: 1.564 MB / 1.355 GB, free: 2.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.028e-05/0.3659, allocations: 3.938 kB / 1.355 GB, free: 2.223 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.3659, allocations: 19.86 kB / 1.355 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.3677, allocations: 1.103 MB / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3677, allocations: 0 / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3677, allocations: 0 / 1.356 GB, free: 1.098 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.3677, allocations: 0 / 1.356 GB, free: 1.098 MB / 1.045 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.0007857/0.3685, allocations: 0.5363 MB / 1.357 GB, free: 0.5117 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3686, allocations: 8.031 kB / 1.357 GB, free: 0.5039 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.166e-05/0.3686, allocations: 114 kB / 1.357 GB, free: 392 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.27e-05/0.3687, allocations: 84.17 kB / 1.357 GB, free: 308 kB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.3689, allocations: 247.6 kB / 1.357 GB, free: 20 kB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.547e-05/0.369, allocations: 154.9 kB / 1.358 GB, free: 15.87 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.567e-05/0.3691, allocations: 150.9 kB / 1.358 GB, free: 15.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.453e-05/0.3692, allocations: 112.9 kB / 1.358 GB, free: 15.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/0.3692, allocations: 75.28 kB / 1.358 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.3693, allocations: 150.6 kB / 1.358 GB, free: 15.38 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.31e-05/0.3693, allocations: 158.6 kB / 1.358 GB, free: 15.22 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.721e-05/0.3694, allocations: 154.5 kB / 1.358 GB, free: 15.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.3698, allocations: 465.9 kB / 1.359 GB, free: 14.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.3699, allocations: 169.1 kB / 1.359 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.885e-05/0.3699, allocations: 84.14 kB / 1.359 GB, free: 14.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.3699, allocations: 83.22 kB / 1.359 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.37, allocations: 105.8 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.37, allocations: 3.938 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.437e-05/0.3701, allocations: 29.66 kB / 1.359 GB, free: 14.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.642e-05/0.3702, allocations: 130.7 kB / 1.359 GB, free: 13.93 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3703, allocations: 133.8 kB / 1.359 GB, free: 13.79 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3703, allocations: 25.7 kB / 1.359 GB, free: 13.76 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.495e-05/0.3704, allocations: 88.12 kB / 1.36 GB, free: 13.67 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.415e-06/0.3704, allocations: 0 / 1.36 GB, free: 13.67 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3704, allocations: 25.66 kB / 1.36 GB, free: 13.64 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3706, allocations: 318.8 kB / 1.36 GB, free: 13.32 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.3706, allocations: 8 kB / 1.36 GB, free: 13.31 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.3706, allocations: 4 kB / 1.36 GB, free: 13.3 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.3707, allocations: 16.83 kB / 1.36 GB, free: 13.29 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3707, allocations: 0 / 1.36 GB, free: 13.29 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.3708, allocations: 53.58 kB / 1.36 GB, free: 13.23 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.3708, allocations: 9.875 kB / 1.36 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.3708, allocations: 0 / 1.36 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.3709, allocations: 0 / 1.36 GB, free: 13.22 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.3709, allocations: 4 kB / 1.36 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3709, allocations: 0 / 1.36 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.271e-05/0.3709, allocations: 0 / 1.36 GB, free: 13.21 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3709, allocations: 0 / 1.36 GB, free: 13.21 MB / 1.061 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.0001138/0.371, allocations: 193.2 kB / 1.36 GB, free: 13.02 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.3711, allocations: 112.8 kB / 1.36 GB, free: 12.9 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.233e-05/0.3711, allocations: 112.8 kB / 1.36 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.593e-05/0.3712, allocations: 176.3 kB / 1.361 GB, free: 12.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-05/0.3713, allocations: 180.2 kB / 1.361 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.247e-05/0.3714, allocations: 188.3 kB / 1.361 GB, free: 12.22 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.3717, allocations: 417.1 kB / 1.361 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.562e-05/0.3717, allocations: 105 kB / 1.361 GB, free: 11.64 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.3718, allocations: 101 kB / 1.362 GB, free: 11.54 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-05/0.3718, allocations: 180.2 kB / 1.362 GB, free: 11.36 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.3719, allocations: 180.3 kB / 1.362 GB, free: 11.17 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.726e-05/0.372, allocations: 196.2 kB / 1.362 GB, free: 10.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.151e-05/0.3721, allocations: 180.2 kB / 1.362 GB, free: 10.79 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001985/0.3723, allocations: 311.7 kB / 1.363 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.3724, allocations: 186.1 kB / 1.363 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/0.3725, allocations: 188.2 kB / 1.363 GB, free: 10.06 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.295e-05/0.3725, allocations: 101 kB / 1.363 GB, free: 9.957 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.199e-05/0.3726, allocations: 180.2 kB / 1.363 GB, free: 9.773 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/0.3727, allocations: 105 kB / 1.363 GB, free: 9.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.3727, allocations: 103.2 kB / 1.363 GB, free: 9.562 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 1.363 GB, free: 9.562 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000873/0.3736, allocations: 294.9 kB / 1.364 GB, free: 9.273 MB / 1.061 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.001514/0.3751, allocations: 1.171 MB / 1.365 GB, free: 8.074 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.3753, allocations: 41.69 kB / 1.365 GB, free: 8.027 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3753, allocations: 4.062 kB / 1.365 GB, free: 8.023 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-06/0.3753, allocations: 3.938 kB / 1.365 GB, free: 8.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.3758, allocations: 462.1 kB / 1.365 GB, free: 7.566 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.3774, allocations: 1.589 MB / 1.367 GB, free: 5.895 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3777, allocations: 0.6885 MB / 1.367 GB, free: 5.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.3777, allocations: 0 / 1.367 GB, free: 5.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.3777, allocations: 15.44 kB / 1.367 GB, free: 5.168 MB / 1.061 GB Notification: Performance of SimCode: time 8.52e-07/0.3777, allocations: 0 / 1.367 GB, free: 5.168 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/0.4139, allocations: 7.127 MB / 1.374 GB, free: 14.25 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.304/8.718, allocations: 11.09 kB / 1.374 GB, free: 14.25 MB / 1.076 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 15.678218230139464] Failed to read output from testmodel.py, exit status != 0: 8.792441985104233 8.817691781 8.445104611 Calling exit ...