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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005738/0.005738, allocations: 100.9 kB / 15.73 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001583/0.001583, allocations: 195.3 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.611/2.611, allocations: 482.4 MB / 0.7548 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 64.84 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2858, allocations: 162.2 MB / 1.242 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002451/0.2883, allocations: 1.43 MB / 1.243 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004097/0.2924, allocations: 2.85 MB / 1.246 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.2925, allocations: 0 / 1.246 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.2926, allocations: 7.922 kB / 1.246 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.472e-05/0.2926, allocations: 11.88 kB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003671/0.2963, allocations: 1.581 MB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.2964, allocations: 39.69 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.2964, allocations: 11.97 kB / 1.247 GB, free: 3.32 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.466e-05/0.2965, allocations: 7.938 kB / 1.247 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.609e-05/0.2965, allocations: 19.94 kB / 1.247 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.2965, allocations: 4 kB / 1.247 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002108/0.2986, allocations: 1.486 MB / 1.249 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.2987, allocations: 7.938 kB / 1.249 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.967e-05/0.2987, allocations: 19.86 kB / 1.249 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3, allocations: 1.087 MB / 1.25 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3, allocations: 0 / 1.25 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3001, allocations: 0 / 1.25 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3001, allocations: 0 / 1.25 GB, free: 0.6836 MB / 0.9669 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.0005826/0.3007, allocations: 0.5285 MB / 1.25 GB, free: 108 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3007, allocations: 12.03 kB / 1.25 GB, free: 96 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.942e-05/0.3008, allocations: 106 kB / 1.251 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.884e-05/0.3009, allocations: 88.09 kB / 1.251 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.301, allocations: 247.6 kB / 1.251 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.3011, allocations: 154.9 kB / 1.251 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.713e-05/0.3012, allocations: 154.9 kB / 1.251 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.741e-05/0.3012, allocations: 108.9 kB / 1.251 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.238e-05/0.3013, allocations: 75.28 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.752e-05/0.3013, allocations: 154.5 kB / 1.251 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.3014, allocations: 150.6 kB / 1.252 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.3015, allocations: 154.5 kB / 1.252 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.3018, allocations: 465.9 kB / 1.252 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.377e-05/0.3019, allocations: 169.1 kB / 1.252 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.701e-05/0.3019, allocations: 80.14 kB / 1.252 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.3019, allocations: 79.22 kB / 1.253 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/0.302, allocations: 113.8 kB / 1.253 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.91e-07/0.302, allocations: 0 / 1.253 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.572e-05/0.3021, allocations: 41.59 kB / 1.253 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.3022, allocations: 126.7 kB / 1.253 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3023, allocations: 127.4 kB / 1.253 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3023, allocations: 25.7 kB / 1.253 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.3024, allocations: 92.14 kB / 1.253 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.864e-06/0.3024, allocations: 7.938 kB / 1.253 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.3024, allocations: 17.7 kB / 1.253 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3026, allocations: 318.8 kB / 1.253 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.3026, allocations: 4 kB / 1.253 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.45e-05/0.3026, allocations: 4 kB / 1.253 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.922e-05/0.3026, allocations: 16.84 kB / 1.253 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3026, allocations: 3.938 kB / 1.253 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001176/0.3028, allocations: 53.59 kB / 1.253 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3028, allocations: 4 kB / 1.253 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/0.3028, allocations: 8.062 kB / 1.253 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3028, allocations: 0 / 1.253 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-06/0.3028, allocations: 7.984 kB / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3028, allocations: 0 / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.856e-05/0.3029, allocations: 48 / 1.253 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.371e-06/0.3029, allocations: 0 / 1.253 GB, free: 12.8 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.0001055/0.303, allocations: 189.1 kB / 1.254 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.3031, allocations: 116.8 kB / 1.254 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.3031, allocations: 112.9 kB / 1.254 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.081e-05/0.3032, allocations: 180.2 kB / 1.254 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.541e-05/0.3033, allocations: 184.2 kB / 1.254 GB, free: 12 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.849e-05/0.3034, allocations: 176.3 kB / 1.254 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3036, allocations: 417.1 kB / 1.255 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.236e-05/0.3037, allocations: 109 kB / 1.255 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.3037, allocations: 105 kB / 1.255 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.822e-05/0.3038, allocations: 180.2 kB / 1.255 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-05/0.3039, allocations: 180.3 kB / 1.255 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/0.3039, allocations: 180.2 kB / 1.255 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-05/0.304, allocations: 176.3 kB / 1.256 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001515/0.3042, allocations: 319.6 kB / 1.256 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.509e-05/0.3043, allocations: 182.1 kB / 1.256 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.935e-05/0.3043, allocations: 180.2 kB / 1.256 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.03e-05/0.3044, allocations: 109 kB / 1.256 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.3045, allocations: 188.3 kB / 1.257 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.3046, allocations: 104.9 kB / 1.257 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.985e-05/0.3046, allocations: 97.14 kB / 1.257 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3046, allocations: 0 / 1.257 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0006936/0.3053, allocations: 290.9 kB / 1.257 GB, free: 8.887 MB / 0.9825 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.001277/0.3066, allocations: 1.163 MB / 1.258 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.586e-05/0.3067, allocations: 49.56 kB / 1.258 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3067, allocations: 0 / 1.258 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.874e-06/0.3067, allocations: 0 / 1.258 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.3072, allocations: 467.7 kB / 1.259 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.3085, allocations: 1.591 MB / 1.26 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.3088, allocations: 0.6846 MB / 1.261 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.266e-05/0.3089, allocations: 4 kB / 1.261 GB, free: 4.797 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.166e-05/0.3089, allocations: 11.44 kB / 1.261 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of SimCode: time 7.11e-07/0.3089, allocations: 4.031 kB / 1.261 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02773/0.3366, allocations: 6.878 MB / 1.268 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.078, allocations: 6.562 kB / 1.268 GB, free: 14.11 MB / 0.9981 GB (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 400 --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)