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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001752/0.001752, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.747/2.747, allocations: 469.4 MB / 0.742 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 62.45 kB / 0.9083 GB, free: 34.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3062, allocations: 159.1 MB / 1.064 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002782/0.309, allocations: 1.38 MB / 1.065 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002893/0.3119, allocations: 1.791 MB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.312, allocations: 0 / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.525e-05/0.3121, allocations: 3.984 kB / 1.067 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3123, allocations: 31.83 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.3151, allocations: 1.149 MB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.751e-05/0.3152, allocations: 39.84 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.3153, allocations: 11.98 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.775e-05/0.3154, allocations: 23.86 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.68e-05/0.3155, allocations: 15.92 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3155, allocations: 4 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.3168, allocations: 0.8501 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.3168, allocations: 31.84 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.3169, allocations: 23.81 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.318, allocations: 0.8072 MB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.318, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.452e-06/0.318, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.318, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8262 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.0005761/0.3186, allocations: 474.9 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.3186, allocations: 8.031 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.091e-05/0.3187, allocations: 34.69 kB / 1.07 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.3187, allocations: 8.844 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.3189, allocations: 193.8 kB / 1.07 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.3189, allocations: 4.125 kB / 1.07 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.3189, allocations: 8 kB / 1.07 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.319, allocations: 49.69 kB / 1.07 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.3191, allocations: 4 kB / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.3191, allocations: 0 / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3191, allocations: 0 / 1.07 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.823e-05/0.3191, allocations: 23.92 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001855/0.3193, allocations: 197.6 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.271e-05/0.3194, allocations: 46.52 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.3194, allocations: 37.03 kB / 1.071 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.3195, allocations: 3.984 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3195, allocations: 30.56 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.123e-06/0.3195, allocations: 4 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002075/0.3197, allocations: 121.5 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.3197, allocations: 55.41 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.3199, allocations: 153.2 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.3199, allocations: 29.73 kB / 1.071 GB, free: 6.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.3199, allocations: 96.14 kB / 1.071 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.32, allocations: 27.55 kB / 1.071 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-05/0.32, allocations: 17.72 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/0.3201, allocations: 326.8 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.017e-05/0.3202, allocations: 23.98 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.709e-05/0.3202, allocations: 23.98 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.879e-05/0.3203, allocations: 60.84 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3203, allocations: 4.031 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001077/0.3204, allocations: 93.52 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3204, allocations: 4 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.3204, allocations: 4 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3204, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.3204, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.3204, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.984e-05/0.3205, allocations: 3.938 kB / 1.072 GB, free: 5.895 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3205, allocations: 3.984 kB / 1.072 GB, free: 5.891 MB / 0.8262 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.785e-05/0.3206, allocations: 135.5 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.3206, allocations: 11.84 kB / 1.072 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001488/0.3208, allocations: 117.5 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-06/0.3208, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3208, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3208, allocations: 0 / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.3209, allocations: 201.5 kB / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.3209, allocations: 0 / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.21e-07/0.3209, allocations: 0 / 1.072 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.457e-06/0.3209, allocations: 3.984 kB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.321, allocations: 8.031 kB / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.321, allocations: 0 / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.321, allocations: 0 / 1.072 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.3211, allocations: 117 kB / 1.072 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.932e-05/0.3211, allocations: 85.02 kB / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.3212, allocations: 0 / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.37e-05/0.3212, allocations: 0 / 1.072 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.3212, allocations: 3.984 kB / 1.072 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.3212, allocations: 4.031 kB / 1.072 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.623e-05/0.3213, allocations: 123.2 kB / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.343e-06/0.3213, allocations: 0 / 1.073 GB, free: 5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005532/0.3219, allocations: 207.8 kB / 1.073 GB, free: 4.797 MB / 0.8262 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.001048/0.3229, allocations: 0.8805 MB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.3231, allocations: 101.7 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3231, allocations: 0 / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.761e-05/0.3231, allocations: 69.62 kB / 1.074 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.3234, allocations: 20.72 kB / 1.074 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3248, allocations: 1.597 MB / 1.075 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.3251, allocations: 0.7079 MB / 1.076 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.13e-05/0.3251, allocations: 4 kB / 1.076 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.3251, allocations: 19.44 kB / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.3251, allocations: 0 / 1.076 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.3479, allocations: 5.949 MB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.2, allocations: 6.5 kB / 1.082 GB, free: 11.49 MB / 0.8419 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)