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.001429/0.001429, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001537/0.001537, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.785 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.341/3.341, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.002094/0.002094, allocations: 73.94 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 181.8 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002853/0.3671, allocations: 1.448 MB / 1.365 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004669/0.3718, allocations: 2.643 MB / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.678e-05/0.3718, allocations: 0 / 1.367 GB, free: 9.918 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.774e-05/0.3718, allocations: 7.922 kB / 1.367 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.3719, allocations: 15.81 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.00427/0.3762, allocations: 1.604 MB / 1.369 GB, free: 8.309 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.749e-05/0.3763, allocations: 39.73 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.3763, allocations: 4 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.13e-05/0.3763, allocations: 19.86 kB / 1.369 GB, free: 8.246 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.3764, allocations: 19.92 kB / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.678e-06/0.3764, allocations: 0 / 1.369 GB, free: 8.227 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002486/0.3789, allocations: 1.454 MB / 1.371 GB, free: 6.77 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.3789, allocations: 7.938 kB / 1.371 GB, free: 6.762 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.3789, allocations: 11.94 kB / 1.371 GB, free: 6.75 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.3807, allocations: 1.072 MB / 1.372 GB, free: 5.676 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3807, allocations: 4 kB / 1.372 GB, free: 5.672 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3807, allocations: 0 / 1.372 GB, free: 5.672 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.3807, allocations: 0 / 1.372 GB, free: 5.672 MB / 1.061 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.0007179/0.3815, allocations: 468 kB / 1.372 GB, free: 5.184 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3815, allocations: 12.75 kB / 1.372 GB, free: 5.172 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.588e-05/0.3816, allocations: 110 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.3816, allocations: 76.22 kB / 1.372 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.3818, allocations: 201.8 kB / 1.372 GB, free: 4.758 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.3818, allocations: 150.9 kB / 1.373 GB, free: 4.609 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.3819, allocations: 154.9 kB / 1.373 GB, free: 4.457 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.001e-05/0.382, allocations: 112.9 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/0.382, allocations: 75.28 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.225e-05/0.3821, allocations: 150.6 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-05/0.3821, allocations: 150.6 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.3822, allocations: 154.5 kB / 1.373 GB, free: 3.816 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003202/0.3825, allocations: 444.9 kB / 1.374 GB, free: 3.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.269e-05/0.3826, allocations: 169.1 kB / 1.374 GB, free: 3.164 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.3827, allocations: 80.14 kB / 1.374 GB, free: 3.082 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3827, allocations: 79.22 kB / 1.374 GB, free: 3.004 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.581e-05/0.3827, allocations: 113.8 kB / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3827, allocations: 0 / 1.374 GB, free: 2.883 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.878e-05/0.3828, allocations: 33.7 kB / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.3829, allocations: 126.7 kB / 1.374 GB, free: 2.707 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.383, allocations: 136 kB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.3831, allocations: 25.7 kB / 1.375 GB, free: 2.535 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.3831, allocations: 92.12 kB / 1.375 GB, free: 2.441 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.3831, allocations: 0 / 1.375 GB, free: 2.441 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.3832, allocations: 17.72 kB / 1.375 GB, free: 2.418 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3833, allocations: 314.9 kB / 1.375 GB, free: 2.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.3833, allocations: 8 kB / 1.375 GB, free: 2.094 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.933e-05/0.3833, allocations: 7.984 kB / 1.375 GB, free: 2.086 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.3834, allocations: 20.83 kB / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3834, allocations: 0 / 1.375 GB, free: 2.062 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001317/0.3835, allocations: 53.62 kB / 1.375 GB, free: 2.004 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3835, allocations: 4 kB / 1.375 GB, free: 2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.3836, allocations: 7.938 kB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.3836, allocations: 0 / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-07/0.3836, allocations: 0 / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.3836, allocations: 3.938 kB / 1.375 GB, free: 1.988 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.326e-05/0.3836, allocations: 3.953 kB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.3836, allocations: 4 kB / 1.375 GB, free: 1.98 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.0001125/0.3837, allocations: 185.2 kB / 1.375 GB, free: 1.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.3838, allocations: 120.8 kB / 1.375 GB, free: 1.664 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.388e-05/0.3839, allocations: 112.8 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.176e-05/0.3839, allocations: 176.3 kB / 1.376 GB, free: 1.363 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.562e-05/0.384, allocations: 180.2 kB / 1.376 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-05/0.3841, allocations: 180.3 kB / 1.376 GB, free: 0.9961 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.3843, allocations: 396.2 kB / 1.376 GB, free: 0.5586 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.506e-05/0.3844, allocations: 101 kB / 1.376 GB, free: 464 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.22e-05/0.3844, allocations: 104.9 kB / 1.377 GB, free: 352 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.152e-05/0.3845, allocations: 176.3 kB / 1.377 GB, free: 168 kB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.3846, allocations: 180.3 kB / 1.377 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-05/0.3847, allocations: 192.2 kB / 1.377 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.317e-05/0.3848, allocations: 176.3 kB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.385, allocations: 307.7 kB / 1.377 GB, free: 15.28 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.385, allocations: 112.9 kB / 1.378 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3851, allocations: 192.2 kB / 1.378 GB, free: 14.97 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.39e-05/0.3852, allocations: 101 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.3853, allocations: 184.2 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/0.3853, allocations: 101 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.881e-05/0.3854, allocations: 101.1 kB / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 1.378 GB, free: 14.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0008536/0.3863, allocations: 291 kB / 1.379 GB, free: 14.19 MB / 1.076 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.001569/0.3878, allocations: 1.181 MB / 1.38 GB, free: 12.98 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001016/0.3879, allocations: 37.7 kB / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3879, allocations: 0 / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.3879, allocations: 0 / 1.38 GB, free: 12.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.3884, allocations: 467.7 kB / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001622/0.39, allocations: 1.588 MB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.758e-05/0.3901, allocations: 79.17 kB / 1.382 GB, free: 10.71 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.3901, allocations: 7.938 kB / 1.382 GB, free: 10.7 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.3901, allocations: 11.44 kB / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of SimCode: time 5.81e-07/0.3901, allocations: 0 / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04361/0.4337, allocations: 7.621 MB / 1.389 GB, free: 3.25 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.52, allocations: 14.33 kB / 1.389 GB, free: 3.238 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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: 18.42532884515822] Failed to read output from testmodel.py, exit status != 0: 11.630002667196095 11.656334925 11.270513698 Calling exit ...