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_TwoUTube.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_TwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",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.00604/0.00604, allocations: 98.92 kB / 15.73 MB, free: 6.004 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.001548/0.001548, allocations: 192.6 kB / 16.67 MB, free: 5.922 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.544/2.544, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 64.11 kB / 1.018 GB, free: 9.801 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7273/0.7292, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002636/0.7319, allocations: 1.387 MB / 1.168 GB, free: 2.355 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003006/0.735, allocations: 1.794 MB / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.7351, allocations: 0 / 1.169 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.7352, allocations: 11.92 kB / 1.169 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.7354, allocations: 27.89 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.7384, allocations: 1.152 MB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.7386, allocations: 47.84 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.7386, allocations: 3.984 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.37e-05/0.7387, allocations: 27.86 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.7388, allocations: 35.89 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.7388, allocations: 4 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.7401, allocations: 0.8813 MB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.78e-05/0.7403, allocations: 71.75 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 7.622e-05/0.7403, allocations: 63.38 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.7416, allocations: 0.8761 MB / 1.172 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7416, allocations: 4 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.647e-06/0.7416, allocations: 0 / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7416, allocations: 3.938 kB / 1.172 GB, free: 13.36 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007348/0.7424, allocations: 0.5984 MB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.7424, allocations: 8.922 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.287e-05/0.7425, allocations: 46.73 kB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.132e-05/0.7425, allocations: 24.75 kB / 1.173 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.7427, allocations: 226.9 kB / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.7428, allocations: 384 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.7428, allocations: 384 / 1.173 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.7429, allocations: 113.6 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.743, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.933e-06/0.743, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.743, allocations: 4 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.54e-05/0.7431, allocations: 67.98 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.7433, allocations: 277.9 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.7435, allocations: 122.5 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.781e-05/0.7436, allocations: 112.8 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.7436, allocations: 3.938 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.7436, allocations: 38.56 kB / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.7437, allocations: 0 / 1.174 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.0004087/0.7441, allocations: 339.5 kB / 1.174 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.7441, allocations: 51.41 kB / 1.174 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.7444, allocations: 257 kB / 1.175 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.7444, allocations: 29.64 kB / 1.175 GB, free: 10.87 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.921e-05/0.7445, allocations: 128.7 kB / 1.175 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.7446, allocations: 107 kB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.4e-05/0.7446, allocations: 33.7 kB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.7448, allocations: 338.8 kB / 1.175 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.679e-05/0.7448, allocations: 75.97 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.249e-05/0.7449, allocations: 72.78 kB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.7451, allocations: 216.9 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7451, allocations: 0 / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002628/0.7454, allocations: 225.4 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.7454, allocations: 6.656 kB / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7454, allocations: 0 / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.7455, allocations: 0 / 1.176 GB, free: 9.664 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-06/0.7455, allocations: 12 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.7455, allocations: 4 kB / 1.176 GB, free: 9.648 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.084e-05/0.7455, allocations: 11.83 kB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.7456, allocations: 0 / 1.176 GB, free: 9.637 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 0.0001322/0.7457, allocations: 157.8 kB / 1.176 GB, free: 9.473 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.7457, allocations: 27.75 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.746, allocations: 257.7 kB / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.746, allocations: 0 / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.746, allocations: 0 / 1.176 GB, free: 9.184 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.7461, allocations: 4.031 kB / 1.176 GB, free: 9.18 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.7463, allocations: 285.8 kB / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.7463, allocations: 0 / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.7463, allocations: 0 / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.7463, allocations: 0 / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.7463, allocations: 4 kB / 1.177 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7463, allocations: 0 / 1.177 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.7463, allocations: 0 / 1.177 GB, free: 8.848 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.7466, allocations: 264.8 kB / 1.177 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.7467, allocations: 108.8 kB / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.7467, allocations: 0 / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.7467, allocations: 0 / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.7468, allocations: 0 / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.7468, allocations: 0 / 1.177 GB, free: 8.445 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001714/0.7469, allocations: 192.4 kB / 1.177 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7469, allocations: 0 / 1.177 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005871/0.7475, allocations: 211.4 kB / 1.177 GB, free: 8.047 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.001195/0.7487, allocations: 1.043 MB / 1.178 GB, free: 6.977 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003026/0.7491, allocations: 265.6 kB / 1.179 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.7491, allocations: 0 / 1.179 GB, free: 6.711 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.7492, allocations: 177.6 kB / 1.179 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.7495, allocations: 12.55 kB / 1.179 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.752, allocations: 2.595 MB / 1.181 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.7524, allocations: 0.771 MB / 1.182 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.907e-05/0.7525, allocations: 0 / 1.182 GB, free: 3.043 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.7525, allocations: 59.41 kB / 1.182 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of SimCode: time 5.71e-07/0.7526, allocations: 0 / 1.182 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03203/0.7846, allocations: 7.719 MB / 1.19 GB, free: 11.48 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.688/9.473, allocations: 4.938 kB / 1.19 GB, free: 11.48 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_TwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)