Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.MultipoleThermalResistances_OneUTube,fileNamePrefix="Buildings_10_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_10_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.005814/0.005814, allocations: 101 kB / 15.73 MB, free: 6.059 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.001608/0.001608, allocations: 195.7 kB / 16.68 MB, free: 5.969 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.537/2.537, allocations: 437.1 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001953, allocations: 68.11 kB / 1.018 GB, free: 9.859 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7209/0.7228, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002364/0.7252, allocations: 1.372 MB / 1.168 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002713/0.728, allocations: 1.802 MB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.325e-05/0.728, allocations: 0 / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 8.174e-05/0.7281, allocations: 7.922 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001402/0.7283, allocations: 31.89 kB / 1.169 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002621/0.7309, allocations: 1.142 MB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.731, allocations: 43.78 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.7311, allocations: 7.984 kB / 1.171 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.7312, allocations: 23.86 kB / 1.171 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.189e-05/0.7312, allocations: 15.92 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.115e-05/0.7312, allocations: 8 kB / 1.171 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001275/0.7325, allocations: 0.8929 MB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 6.105e-05/0.7326, allocations: 27.91 kB / 1.171 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.7326, allocations: 27.8 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.7337, allocations: 0.7935 MB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7337, allocations: 3.938 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.432e-06/0.7337, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.7337, allocations: 0 / 1.172 GB, free: 13.57 MB / 0.9044 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.0005749/0.7343, allocations: 493.8 kB / 1.173 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.7343, allocations: 12.92 kB / 1.173 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.7344, allocations: 38.75 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.7344, allocations: 8.828 kB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.7346, allocations: 193.9 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.7346, allocations: 4.125 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.7346, allocations: 4 kB / 1.173 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.7347, allocations: 49.69 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.7347, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.7347, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.167e-06/0.7347, allocations: 0 / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.022e-05/0.7348, allocations: 31.92 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.735, allocations: 193.6 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 6.964e-05/0.7351, allocations: 50.5 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.188e-05/0.7351, allocations: 36.88 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.7352, allocations: 0 / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.7352, allocations: 34.56 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.7352, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0002083/0.7354, allocations: 121.6 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.7354, allocations: 55.39 kB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.7356, allocations: 151.7 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.7356, allocations: 25.7 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.7357, allocations: 96.3 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.7357, allocations: 31.72 kB / 1.174 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.7358, allocations: 17.72 kB / 1.174 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.7359, allocations: 326.8 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.482e-05/0.7359, allocations: 27.98 kB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.599e-05/0.736, allocations: 20 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.369e-05/0.736, allocations: 64.83 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.7361, allocations: 3.938 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001139/0.7362, allocations: 93.58 kB / 1.174 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.7362, allocations: 4 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.7362, allocations: 4.312 kB / 1.174 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7362, allocations: 3.984 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.7362, allocations: 0 / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7362, allocations: 4.062 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.7363, allocations: 0 / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.7363, allocations: 7.984 kB / 1.174 GB, free: 11.17 MB / 0.9044 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.027e-05/0.7364, allocations: 121.8 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.7364, allocations: 11.95 kB / 1.175 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.7366, allocations: 114.3 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.7366, allocations: 0 / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7366, allocations: 0 / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.7366, allocations: 0 / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.7368, allocations: 197.6 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.7368, allocations: 7.922 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-06/0.7368, allocations: 0 / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7368, allocations: 3.938 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.7368, allocations: 4 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.7368, allocations: 4 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.7368, allocations: 0 / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.737, allocations: 121 kB / 1.175 GB, free: 10.51 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.737, allocations: 93.05 kB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.737, allocations: 0 / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.177e-05/0.7371, allocations: 0 / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.7371, allocations: 3.938 kB / 1.175 GB, free: 10.4 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.7371, allocations: 4 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.265e-05/0.7372, allocations: 124.9 kB / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7372, allocations: 0 / 1.175 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005186/0.7377, allocations: 203.4 kB / 1.175 GB, free: 10.07 MB / 0.9044 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.001039/0.7388, allocations: 0.8869 MB / 1.176 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000157/0.7389, allocations: 97.67 kB / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7389, allocations: 0 / 1.176 GB, free: 9.059 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.739, allocations: 69.62 kB / 1.176 GB, free: 8.984 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.7392, allocations: 15.88 kB / 1.176 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.7408, allocations: 1.614 MB / 1.178 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.7412, allocations: 0.7041 MB / 1.179 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.7412, allocations: 7.984 kB / 1.179 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.7412, allocations: 19.44 kB / 1.179 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of SimCode: time 6.41e-07/0.7412, allocations: 0 / 1.179 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02805/0.7693, allocations: 5.972 MB / 1.185 GB, free: 0.7617 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.386/9.156, allocations: 15.59 kB / 1.185 GB, free: 0.75 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)