Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001605/0.001605, allocations: 108.9 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.002382/0.002382, allocations: 216.2 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.537/1.537, allocations: 230.6 MB / 252.8 MB, free: 8.949 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7672 GB, free: 5.215 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002255/0.002255, allocations: 71.89 kB / 1.112 GB, free: 1.469 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9057/0.9079, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002779/0.9107, allocations: 1.452 MB / 1.28 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004452/0.9152, allocations: 2.937 MB / 1.283 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.633e-05/0.9152, allocations: 3.938 kB / 1.283 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.9152, allocations: 0 / 1.283 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.071e-05/0.9153, allocations: 11.86 kB / 1.283 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003868/0.9192, allocations: 1.638 MB / 1.284 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.94e-05/0.9193, allocations: 43.67 kB / 1.284 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.9193, allocations: 0 / 1.284 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.851e-05/0.9193, allocations: 15.94 kB / 1.284 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.954e-05/0.9193, allocations: 19.92 kB / 1.284 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.9194, allocations: 4 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.9217, allocations: 1.548 MB / 1.286 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.154e-05/0.9217, allocations: 15.91 kB / 1.286 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.9217, allocations: 11.94 kB / 1.286 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.9232, allocations: 1.099 MB / 1.287 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9232, allocations: 4 kB / 1.287 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9232, allocations: 0 / 1.287 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.9232, allocations: 0 / 1.287 GB, free: 4.602 MB / 0.9825 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.0006634/0.9239, allocations: 0.5402 MB / 1.287 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.9239, allocations: 12.03 kB / 1.287 GB, free: 4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.924, allocations: 110 kB / 1.288 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.206e-05/0.924, allocations: 76.22 kB / 1.288 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.9242, allocations: 255.5 kB / 1.288 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/0.9243, allocations: 150.9 kB / 1.288 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.924e-05/0.9243, allocations: 154.9 kB / 1.288 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.25e-05/0.9244, allocations: 104.9 kB / 1.288 GB, free: 3.109 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/0.9245, allocations: 75.28 kB / 1.288 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.624e-05/0.9245, allocations: 150.6 kB / 1.289 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.58e-05/0.9246, allocations: 150.6 kB / 1.289 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.641e-05/0.9247, allocations: 162.5 kB / 1.289 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.925, allocations: 469.9 kB / 1.289 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.697e-05/0.9251, allocations: 173.2 kB / 1.289 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.455e-05/0.9252, allocations: 84.14 kB / 1.29 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/0.9252, allocations: 79.22 kB / 1.29 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.373e-05/0.9253, allocations: 109.8 kB / 1.29 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.9253, allocations: 0 / 1.29 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.557e-05/0.9253, allocations: 33.64 kB / 1.29 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.9254, allocations: 126.7 kB / 1.29 GB, free: 1.434 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.9255, allocations: 139.5 kB / 1.29 GB, free: 1.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.673e-05/0.9256, allocations: 25.7 kB / 1.29 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.9256, allocations: 88.14 kB / 1.29 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.9256, allocations: 0 / 1.29 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.393e-05/0.9257, allocations: 21.72 kB / 1.29 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.9258, allocations: 326.8 kB / 1.29 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.9258, allocations: 3.938 kB / 1.29 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.597e-05/0.9258, allocations: 4 kB / 1.29 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.9259, allocations: 16.8 kB / 1.29 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.9259, allocations: 0 / 1.29 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001243/0.926, allocations: 49.62 kB / 1.29 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.926, allocations: 4 kB / 1.29 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.926, allocations: 8.062 kB / 1.29 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.926, allocations: 0 / 1.29 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.926, allocations: 0 / 1.29 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.926, allocations: 0 / 1.29 GB, free: 0.7188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.316e-05/0.9261, allocations: 7.891 kB / 1.29 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.9261, allocations: 4 kB / 1.291 GB, free: 0.707 MB / 0.9825 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.0001031/0.9262, allocations: 187.4 kB / 1.291 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.405e-05/0.9263, allocations: 120.8 kB / 1.291 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.636e-05/0.9263, allocations: 108.9 kB / 1.291 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.977e-05/0.9264, allocations: 180.3 kB / 1.291 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.148e-05/0.9265, allocations: 188.2 kB / 1.291 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.115e-05/0.9265, allocations: 180.2 kB / 1.291 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.9268, allocations: 417.1 kB / 1.292 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/0.9268, allocations: 105 kB / 1.292 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.219e-05/0.9269, allocations: 101 kB / 1.292 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.088e-05/0.927, allocations: 180.2 kB / 1.292 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.927, allocations: 188.2 kB / 1.292 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-05/0.9271, allocations: 180.2 kB / 1.293 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.361e-05/0.9272, allocations: 180.3 kB / 1.293 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/0.9273, allocations: 311.7 kB / 1.293 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.9274, allocations: 190 kB / 1.293 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.29e-05/0.9275, allocations: 180.2 kB / 1.293 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.9276, allocations: 105 kB / 1.293 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/0.9277, allocations: 184.2 kB / 1.294 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.593e-05/0.9277, allocations: 105 kB / 1.294 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.224e-05/0.9278, allocations: 100.7 kB / 1.294 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9278, allocations: 0 / 1.294 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008236/0.9286, allocations: 291 kB / 1.294 GB, free: 12.78 MB / 0.9981 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.00142/0.93, allocations: 1.185 MB / 1.295 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.9301, allocations: 33.69 kB / 1.295 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9301, allocations: 0 / 1.295 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.887e-06/0.9301, allocations: 7.938 kB / 1.295 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.9306, allocations: 463.8 kB / 1.296 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.932, allocations: 1.589 MB / 1.297 GB, free: 9.398 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.9323, allocations: 0.6846 MB / 1.298 GB, free: 8.688 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.578e-05/0.9324, allocations: 4 kB / 1.298 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.9324, allocations: 11.44 kB / 1.298 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of SimCode: time 5.61e-07/0.9324, allocations: 4.031 kB / 1.298 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03325/0.9656, allocations: 7.126 MB / 1.305 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.38/9.346, allocations: 12.78 kB / 1.305 GB, free: 1.746 MB / 0.9981 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.606842881068587] Failed to read output from testmodel.py, exit status != 0: 9.417084001004696 9.43021151 8.504220791 Calling exit ...