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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004967/0.004967, allocations: 98.39 kB / 15.73 MB, free: 6.031 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.001256/0.001256, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.596/2.596, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 71.83 kB / 1.065 GB, free: 14 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6935/0.6954, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002389/0.6978, allocations: 1.413 MB / 1.222 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004095/0.7019, allocations: 2.872 MB / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.702, allocations: 0 / 1.224 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.702, allocations: 7.922 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.501e-05/0.7021, allocations: 15.86 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003492/0.7056, allocations: 1.565 MB / 1.226 GB, free: 12.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.336e-05/0.7057, allocations: 43.73 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.297e-05/0.7057, allocations: 3.906 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.576e-05/0.7058, allocations: 19.94 kB / 1.226 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.93e-05/0.7058, allocations: 19.86 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.7058, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.7079, allocations: 1.49 MB / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.7079, allocations: 0 / 1.228 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.708, allocations: 15.88 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001361/0.7093, allocations: 1.087 MB / 1.229 GB, free: 9.477 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.7093, allocations: 4 kB / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7094, allocations: 0 / 1.229 GB, free: 9.473 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.7094, allocations: 0 / 1.229 GB, free: 9.473 MB / 0.9512 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.0005833/0.71, allocations: 0.5285 MB / 1.229 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.71, allocations: 8.031 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.546e-05/0.7101, allocations: 110 kB / 1.229 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.7101, allocations: 80.17 kB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.7103, allocations: 258.4 kB / 1.23 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.7104, allocations: 150.9 kB / 1.23 GB, free: 8.254 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.7104, allocations: 158.9 kB / 1.23 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.006e-05/0.7105, allocations: 112.8 kB / 1.23 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/0.7105, allocations: 79.22 kB / 1.23 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.853e-05/0.7106, allocations: 150.6 kB / 1.23 GB, free: 7.754 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.343e-05/0.7107, allocations: 150.6 kB / 1.23 GB, free: 7.605 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.903e-05/0.7107, allocations: 150.6 kB / 1.23 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003004/0.711, allocations: 465.9 kB / 1.231 GB, free: 6.953 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.993e-05/0.7111, allocations: 169.1 kB / 1.231 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.7112, allocations: 84.14 kB / 1.231 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.7112, allocations: 87.2 kB / 1.231 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.094e-05/0.7113, allocations: 113.8 kB / 1.231 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7113, allocations: 0 / 1.231 GB, free: 6.484 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.976e-05/0.7114, allocations: 33.66 kB / 1.231 GB, free: 6.445 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.7114, allocations: 126.7 kB / 1.231 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.7116, allocations: 129.8 kB / 1.232 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.7116, allocations: 25.7 kB / 1.232 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.198e-05/0.7116, allocations: 92.06 kB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.7117, allocations: 8 kB / 1.232 GB, free: 6.039 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.539e-05/0.7117, allocations: 17.72 kB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.7118, allocations: 314.8 kB / 1.232 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.531e-05/0.7118, allocations: 8 kB / 1.232 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.51e-05/0.7119, allocations: 7.938 kB / 1.232 GB, free: 5.684 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.198e-05/0.7119, allocations: 8.859 kB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7119, allocations: 0 / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.00012/0.712, allocations: 53.58 kB / 1.232 GB, free: 5.613 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7121, allocations: 8 kB / 1.232 GB, free: 5.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.7121, allocations: 4.062 kB / 1.232 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.7121, allocations: 4 kB / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-06/0.7121, allocations: 0 / 1.232 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.7121, allocations: 3.938 kB / 1.232 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.7121, allocations: 0 / 1.232 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-06/0.7121, allocations: 0 / 1.232 GB, free: 5.594 MB / 0.9512 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.0001004/0.7122, allocations: 185.7 kB / 1.232 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.761e-05/0.7123, allocations: 116.9 kB / 1.232 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.164e-05/0.7124, allocations: 116.8 kB / 1.233 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.942e-05/0.7125, allocations: 184.2 kB / 1.233 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.809e-05/0.7125, allocations: 176.3 kB / 1.233 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/0.7126, allocations: 184.2 kB / 1.233 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.7128, allocations: 421.1 kB / 1.233 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/0.7129, allocations: 109 kB / 1.234 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.7129, allocations: 104.9 kB / 1.234 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.383e-05/0.713, allocations: 176.3 kB / 1.234 GB, free: 3.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-05/0.7131, allocations: 180.2 kB / 1.234 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.794e-05/0.7132, allocations: 184.2 kB / 1.234 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.767e-05/0.7132, allocations: 184.2 kB / 1.234 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.7134, allocations: 307.7 kB / 1.235 GB, free: 2.848 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.7135, allocations: 198 kB / 1.235 GB, free: 2.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.7135, allocations: 176.3 kB / 1.235 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.7136, allocations: 104.9 kB / 1.235 GB, free: 2.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.7137, allocations: 180.3 kB / 1.235 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.7138, allocations: 109 kB / 1.235 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.033e-05/0.7138, allocations: 96.83 kB / 1.235 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7138, allocations: 0 / 1.235 GB, free: 1.949 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000661/0.7145, allocations: 287 kB / 1.236 GB, free: 1.668 MB / 0.9512 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.001279/0.7158, allocations: 1.168 MB / 1.237 GB, free: 484 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.323e-05/0.7159, allocations: 29.7 kB / 1.237 GB, free: 448 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.7159, allocations: 4 kB / 1.237 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.7159, allocations: 0 / 1.237 GB, free: 444 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004193/0.7163, allocations: 479.6 kB / 1.237 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.7176, allocations: 1.585 MB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.7179, allocations: 0.6807 MB / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.594e-05/0.7179, allocations: 4 kB / 1.24 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.718, allocations: 19.38 kB / 1.24 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.718, allocations: 4.031 kB / 1.24 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.7462, allocations: 6.873 MB / 1.246 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.727/8.473, allocations: 4.828 kB / 1.246 GB, free: 6.898 MB / 0.9669 GB (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)