Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001477/0.001477, allocations: 113 kB / 16.46 MB, free: 6.453 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.001645/0.001645, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.206/3.206, allocations: 0.49 GB / 0.7916 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001978/0.001978, allocations: 67.75 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3548, allocations: 176.1 MB / 1.321 GB, free: 3.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003009/0.3578, allocations: 1.461 MB / 1.322 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004847/0.3627, allocations: 2.93 MB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.248e-05/0.3627, allocations: 3.938 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.3627, allocations: 7.922 kB / 1.325 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.144e-05/0.3628, allocations: 15.86 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004418/0.3672, allocations: 1.626 MB / 1.327 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.3674, allocations: 43.73 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.844e-05/0.3674, allocations: 3.984 kB / 1.327 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.252e-05/0.3674, allocations: 11.94 kB / 1.327 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.3675, allocations: 11.94 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3675, allocations: 4 kB / 1.327 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.3698, allocations: 1.556 MB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.807e-05/0.3699, allocations: 11.92 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.3699, allocations: 23.86 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.3714, allocations: 1.095 MB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3714, allocations: 0 / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3714, allocations: 3.938 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3714, allocations: 0 / 1.329 GB, free: 10.52 MB / 1.029 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.0006571/0.3721, allocations: 0.5402 MB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.3721, allocations: 8.031 kB / 1.33 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.564e-05/0.3722, allocations: 110 kB / 1.33 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.3723, allocations: 84.17 kB / 1.33 GB, free: 9.727 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3724, allocations: 251.6 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.3725, allocations: 150.9 kB / 1.331 GB, free: 9.293 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.634e-05/0.3726, allocations: 150.9 kB / 1.331 GB, free: 9.145 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.309e-05/0.3726, allocations: 108.9 kB / 1.331 GB, free: 9.031 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.3727, allocations: 79.28 kB / 1.331 GB, free: 8.953 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.066e-05/0.3728, allocations: 154.6 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.979e-05/0.3728, allocations: 154.5 kB / 1.331 GB, free: 8.648 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.3729, allocations: 154.6 kB / 1.331 GB, free: 8.496 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.3732, allocations: 469.9 kB / 1.332 GB, free: 7.988 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.3733, allocations: 165.1 kB / 1.332 GB, free: 7.816 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.942e-05/0.3733, allocations: 80.14 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.3734, allocations: 87.14 kB / 1.332 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.3734, allocations: 105.8 kB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3734, allocations: 4 kB / 1.332 GB, free: 7.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.754e-05/0.3735, allocations: 33.66 kB / 1.332 GB, free: 7.492 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.3736, allocations: 130.6 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.3737, allocations: 131.9 kB / 1.333 GB, free: 7.215 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.3737, allocations: 25.7 kB / 1.333 GB, free: 7.184 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.3738, allocations: 96.12 kB / 1.333 GB, free: 7.086 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.3738, allocations: 0 / 1.333 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.3738, allocations: 13.72 kB / 1.333 GB, free: 7.066 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.374, allocations: 326.8 kB / 1.333 GB, free: 6.738 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.374, allocations: 0 / 1.333 GB, free: 6.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.012e-05/0.374, allocations: 7.938 kB / 1.333 GB, free: 6.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.819e-05/0.374, allocations: 12.86 kB / 1.333 GB, free: 6.715 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.374, allocations: 4 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001313/0.3742, allocations: 49.58 kB / 1.333 GB, free: 6.656 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.3742, allocations: 4 kB / 1.333 GB, free: 6.652 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.3742, allocations: 4 kB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3742, allocations: 0 / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/0.3742, allocations: 4.062 kB / 1.333 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.3742, allocations: 4 kB / 1.333 GB, free: 6.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.3742, allocations: 4 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3743, allocations: 4 kB / 1.333 GB, free: 6.633 MB / 1.029 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.0001164/0.3744, allocations: 185.1 kB / 1.333 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.3744, allocations: 120.8 kB / 1.333 GB, free: 6.316 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.76e-05/0.3745, allocations: 104.9 kB / 1.333 GB, free: 6.203 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.107e-05/0.3746, allocations: 188.2 kB / 1.334 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.338e-05/0.3747, allocations: 180.3 kB / 1.334 GB, free: 5.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/0.3747, allocations: 180.2 kB / 1.334 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.375, allocations: 417.1 kB / 1.334 GB, free: 5.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-05/0.3751, allocations: 101 kB / 1.334 GB, free: 5.074 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3751, allocations: 104.9 kB / 1.335 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/0.3752, allocations: 188.3 kB / 1.335 GB, free: 4.773 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.45e-05/0.3753, allocations: 184.3 kB / 1.335 GB, free: 4.586 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.209e-05/0.3754, allocations: 180.2 kB / 1.335 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.157e-05/0.3754, allocations: 176.3 kB / 1.335 GB, free: 4.223 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.3756, allocations: 315.7 kB / 1.336 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.3757, allocations: 186 kB / 1.336 GB, free: 3.684 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.3758, allocations: 180.2 kB / 1.336 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/0.3759, allocations: 105 kB / 1.336 GB, free: 3.391 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/0.376, allocations: 184.1 kB / 1.336 GB, free: 3.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.575e-05/0.3761, allocations: 105 kB / 1.336 GB, free: 3.094 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.773e-05/0.3761, allocations: 105 kB / 1.336 GB, free: 2.992 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3761, allocations: 0 / 1.336 GB, free: 2.992 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008676/0.377, allocations: 291 kB / 1.337 GB, free: 2.707 MB / 1.029 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.00155/0.3786, allocations: 1.183 MB / 1.338 GB, free: 1.496 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.3787, allocations: 33.69 kB / 1.338 GB, free: 1.457 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.3787, allocations: 4 kB / 1.338 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.3787, allocations: 0 / 1.338 GB, free: 1.453 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.3792, allocations: 463.8 kB / 1.338 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.3807, allocations: 1.587 MB / 1.34 GB, free: 15.33 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.381, allocations: 0.6846 MB / 1.341 GB, free: 14.62 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.381, allocations: 7.984 kB / 1.341 GB, free: 14.61 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.899e-05/0.3811, allocations: 15.44 kB / 1.341 GB, free: 14.59 MB / 1.045 GB Notification: Performance of SimCode: time 6.22e-07/0.3811, allocations: 0 / 1.341 GB, free: 14.59 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0337/0.4148, allocations: 7.116 MB / 1.347 GB, free: 7.695 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.351/8.765, allocations: 10.3 kB / 1.347 GB, free: 7.684 MB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.52490059309639] Failed to read output from testmodel.py, exit status != 0: 8.839149770094082 8.864940202 8.488766945 Calling exit ...