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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",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.006913/0.006913, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001898/0.001898, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.617/2.617, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 67.91 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6903, allocations: 159.1 MB / 1.22 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002378/0.6927, allocations: 1.446 MB / 1.222 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004124/0.6969, allocations: 2.899 MB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.36e-05/0.6969, allocations: 0 / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.982e-05/0.697, allocations: 3.984 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.785e-05/0.697, allocations: 19.8 kB / 1.225 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.7005, allocations: 1.581 MB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.841e-05/0.7006, allocations: 43.73 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.306e-05/0.7006, allocations: 4 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.7006, allocations: 15.94 kB / 1.226 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.327e-05/0.7007, allocations: 23.84 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.168e-06/0.7007, allocations: 0 / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.7028, allocations: 1.533 MB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.442e-05/0.7028, allocations: 8 kB / 1.228 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.7029, allocations: 15.86 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001356/0.7042, allocations: 1.118 MB / 1.229 GB, free: 9.312 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.7042, allocations: 7.938 kB / 1.229 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.996e-06/0.7042, allocations: 3.984 kB / 1.229 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.7042, allocations: 0 / 1.229 GB, free: 9.301 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.0005799/0.7048, allocations: 0.5246 MB / 1.229 GB, free: 8.727 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.7049, allocations: 12.03 kB / 1.229 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7e-05/0.705, allocations: 114 kB / 1.229 GB, free: 8.594 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.705, allocations: 80.17 kB / 1.229 GB, free: 8.516 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.7052, allocations: 255.5 kB / 1.23 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.7053, allocations: 154.9 kB / 1.23 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.088e-05/0.7053, allocations: 154.9 kB / 1.23 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.687e-05/0.7054, allocations: 108.9 kB / 1.23 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.101e-05/0.7054, allocations: 75.28 kB / 1.23 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.886e-05/0.7055, allocations: 154.5 kB / 1.23 GB, free: 7.582 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.419e-05/0.7056, allocations: 150.6 kB / 1.23 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.7056, allocations: 154.6 kB / 1.231 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.7059, allocations: 473.8 kB / 1.231 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.173e-05/0.706, allocations: 165.1 kB / 1.231 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.7061, allocations: 80.14 kB / 1.231 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.7061, allocations: 83.16 kB / 1.231 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.191e-05/0.7061, allocations: 109.8 kB / 1.231 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.7062, allocations: 4 kB / 1.231 GB, free: 6.312 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 6.989e-05/0.7062, allocations: 33.69 kB / 1.232 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.385e-05/0.7063, allocations: 126.7 kB / 1.232 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.7064, allocations: 144.1 kB / 1.232 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.7065, allocations: 25.7 kB / 1.232 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.7065, allocations: 84.16 kB / 1.232 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-06/0.7065, allocations: 4 kB / 1.232 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.7066, allocations: 21.72 kB / 1.232 GB, free: 5.84 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7067, allocations: 318.8 kB / 1.232 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.7067, allocations: 8 kB / 1.232 GB, free: 5.512 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.7067, allocations: 7.938 kB / 1.232 GB, free: 5.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.7068, allocations: 12.86 kB / 1.232 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7068, allocations: 64 / 1.232 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000123/0.7069, allocations: 61.58 kB / 1.232 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/0.7069, allocations: 4 kB / 1.232 GB, free: 5.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.707, allocations: 4 kB / 1.232 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.707, allocations: 3.938 kB / 1.232 GB, free: 5.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.707, allocations: 4.062 kB / 1.232 GB, free: 5.406 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.064e-06/0.707, allocations: 4 kB / 1.232 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.707, allocations: 0 / 1.232 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.707, allocations: 0 / 1.232 GB, free: 5.402 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 9.999e-05/0.7071, allocations: 189.6 kB / 1.232 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.7072, allocations: 116.8 kB / 1.233 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.135e-05/0.7073, allocations: 112.9 kB / 1.233 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.31e-05/0.7073, allocations: 184.2 kB / 1.233 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-05/0.7074, allocations: 176.3 kB / 1.233 GB, free: 4.598 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-05/0.7075, allocations: 184.2 kB / 1.233 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.7077, allocations: 421 kB / 1.234 GB, free: 3.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.811e-05/0.7078, allocations: 101 kB / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/0.7078, allocations: 108.9 kB / 1.234 GB, free: 3.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.585e-05/0.7079, allocations: 184.2 kB / 1.234 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/0.708, allocations: 176.3 kB / 1.234 GB, free: 3.355 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.779e-05/0.7081, allocations: 184.2 kB / 1.234 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-05/0.7081, allocations: 180.3 kB / 1.235 GB, free: 2.984 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001439/0.7083, allocations: 315.6 kB / 1.235 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.529e-05/0.7084, allocations: 190 kB / 1.235 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.753e-05/0.7085, allocations: 176.3 kB / 1.235 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.7085, allocations: 101 kB / 1.235 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/0.7086, allocations: 184.2 kB / 1.235 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-05/0.7087, allocations: 109 kB / 1.236 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.7087, allocations: 105.1 kB / 1.236 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7087, allocations: 0 / 1.236 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006898/0.7094, allocations: 287 kB / 1.236 GB, free: 1.473 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.00133/0.7108, allocations: 1.188 MB / 1.237 GB, free: 264 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.301e-05/0.7109, allocations: 37.7 kB / 1.237 GB, free: 220 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7109, allocations: 0 / 1.237 GB, free: 220 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 4.218e-06/0.7109, allocations: 4 kB / 1.237 GB, free: 216 kB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.7113, allocations: 463.8 kB / 1.238 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.7127, allocations: 1.609 MB / 1.239 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.713, allocations: 0.6807 MB / 1.24 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.26e-05/0.713, allocations: 0 / 1.24 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.859e-05/0.713, allocations: 19.42 kB / 1.24 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of SimCode: time 3.51e-07/0.7131, allocations: 4.031 kB / 1.24 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.7413, allocations: 7.079 MB / 1.247 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.559, allocations: 6.984 kB / 1.247 GB, free: 6.465 MB / 0.9669 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_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_InternalResistancesTwoUTube.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)