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.MultipoleThermalResistances_OneUTube.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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",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.005025/0.005025, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001141/0.001141, allocations: 189.6 kB / 16.67 MB, free: 5.938 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.568/2.568, allocations: 469.4 MB / 0.7422 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 71.84 kB / 1.064 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.6895, allocations: 159.1 MB / 1.22 GB, free: 2.262 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002486/0.692, allocations: 1.372 MB / 1.221 GB, free: 0.8789 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002616/0.6947, allocations: 1.798 MB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.578e-05/0.6948, allocations: 4 kB / 1.223 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.174e-05/0.6949, allocations: 11.92 kB / 1.223 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.695, allocations: 27.89 kB / 1.223 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002616/0.6976, allocations: 1.146 MB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 8.966e-05/0.6977, allocations: 43.78 kB / 1.224 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.6978, allocations: 11.98 kB / 1.224 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.6979, allocations: 19.92 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.6979, allocations: 27.86 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.6979, allocations: 0 / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.6991, allocations: 0.8852 MB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.875e-05/0.6992, allocations: 35.89 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.163e-05/0.6993, allocations: 19.81 kB / 1.225 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.7003, allocations: 0.8024 MB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.7003, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7003, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.7003, allocations: 4 kB / 1.226 GB, free: 12.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005533/0.7009, allocations: 489.9 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.7009, allocations: 8.625 kB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.701, allocations: 38.75 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.675e-05/0.701, allocations: 12.83 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.7012, allocations: 184.8 kB / 1.227 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.7012, allocations: 4.125 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.7012, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.7013, allocations: 65.56 kB / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.271e-06/0.7013, allocations: 0 / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.7013, allocations: 0 / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.7013, allocations: 0 / 1.227 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.513e-05/0.7014, allocations: 23.98 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001675/0.7015, allocations: 185.7 kB / 1.227 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.281e-05/0.7016, allocations: 50.5 kB / 1.227 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.659e-05/0.7016, allocations: 36.88 kB / 1.227 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.7017, allocations: 8 kB / 1.227 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.7017, allocations: 34.5 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.7017, allocations: 0 / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0001936/0.7019, allocations: 121.7 kB / 1.227 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.7019, allocations: 51.41 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.7021, allocations: 153.2 kB / 1.227 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.7021, allocations: 29.69 kB / 1.227 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.018e-05/0.7021, allocations: 96.14 kB / 1.227 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.7022, allocations: 31.81 kB / 1.227 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.154e-05/0.7022, allocations: 13.72 kB / 1.227 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.503e-05/0.7023, allocations: 326.8 kB / 1.228 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.296e-05/0.7023, allocations: 27.98 kB / 1.228 GB, free: 9.875 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.365e-05/0.7024, allocations: 16 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.046e-05/0.7024, allocations: 68.77 kB / 1.228 GB, free: 9.789 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7024, allocations: 4 kB / 1.228 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001064/0.7026, allocations: 89.58 kB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.7026, allocations: 9.562 kB / 1.228 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.7026, allocations: 4.062 kB / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.7026, allocations: 0 / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.7026, allocations: 0 / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.7026, allocations: 0 / 1.228 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.7027, allocations: 4 kB / 1.228 GB, free: 9.676 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.7027, allocations: 4 kB / 1.228 GB, free: 9.672 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 7.469e-05/0.7027, allocations: 126.3 kB / 1.228 GB, free: 9.539 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.7028, allocations: 11.95 kB / 1.228 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.7029, allocations: 114.6 kB / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.7029, allocations: 0 / 1.228 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.7029, allocations: 3.938 kB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.703, allocations: 0 / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.7031, allocations: 197.5 kB / 1.228 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.7031, allocations: 3.938 kB / 1.228 GB, free: 9.152 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.914e-06/0.7031, allocations: 3.984 kB / 1.228 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7031, allocations: 4 kB / 1.228 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.7031, allocations: 0 / 1.228 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.7031, allocations: 3.984 kB / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7031, allocations: 0 / 1.228 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.7033, allocations: 125 kB / 1.229 GB, free: 9 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.7033, allocations: 93 kB / 1.229 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.7033, allocations: 0 / 1.229 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.472e-05/0.7033, allocations: 0 / 1.229 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.221e-05/0.7034, allocations: 4 kB / 1.229 GB, free: 8.887 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.7034, allocations: 4 kB / 1.229 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.656e-05/0.7035, allocations: 120.9 kB / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7035, allocations: 0 / 1.229 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005341/0.704, allocations: 207.4 kB / 1.229 GB, free: 8.562 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 (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 Backend phase and start with SimCode phase: time 0.000975/0.705, allocations: 0.885 MB / 1.23 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.7051, allocations: 101.6 kB / 1.23 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.7051, allocations: 0 / 1.23 GB, free: 7.543 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.254e-05/0.7052, allocations: 69.75 kB / 1.23 GB, free: 7.469 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001968/0.7054, allocations: 16 kB / 1.23 GB, free: 7.453 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.7068, allocations: 1.61 MB / 1.232 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.707, allocations: 0.7002 MB / 1.232 GB, free: 5.035 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.989e-05/0.707, allocations: 4 kB / 1.232 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.861e-05/0.7071, allocations: 23.36 kB / 1.232 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of SimCode: time 2.91e-07/0.7071, allocations: 0 / 1.232 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.7293, allocations: 6.004 MB / 1.238 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.742/8.471, allocations: 7.125 kB / 1.238 GB, free: 15.22 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)