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.001267/0.001267, allocations: 108 kB / 15.61 MB, free: 152 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.001413/0.001413, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.433/1.433, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.649/2.649, allocations: 437 MB / 0.7104 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 71.88 kB / 0.8694 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.6909, allocations: 151.6 MB / 1.017 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002665/0.6937, allocations: 1.381 MB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002703/0.6964, allocations: 1.794 MB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.6965, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.6966, allocations: 7.922 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.6968, allocations: 23.91 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002606/0.6994, allocations: 1.148 MB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.29e-05/0.6995, allocations: 35.86 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.6995, allocations: 11.98 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.054e-05/0.6996, allocations: 27.84 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.6997, allocations: 27.84 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.6997, allocations: 4 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.7008, allocations: 0.8501 MB / 1.023 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.602e-05/0.7009, allocations: 19.92 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.254e-05/0.7009, allocations: 27.8 kB / 1.023 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009071/0.7018, allocations: 0.8013 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.7019, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7019, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.7019, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 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.0005211/0.7024, allocations: 482.8 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.7025, allocations: 12.03 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.7025, allocations: 38.75 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.783e-05/0.7025, allocations: 8.75 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001602/0.7027, allocations: 189.5 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.7027, allocations: 8.062 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-06/0.7027, allocations: 4 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.7028, allocations: 49.69 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.7028, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.7029, allocations: 4 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-06/0.7029, allocations: 0 / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.791e-05/0.7029, allocations: 31.92 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001739/0.7031, allocations: 189.6 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.591e-05/0.7032, allocations: 46.5 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.7032, allocations: 36.88 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.7032, allocations: 0 / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.7033, allocations: 34.56 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.7033, allocations: 4 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000215/0.7035, allocations: 117.5 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.7035, allocations: 51.41 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.7037, allocations: 153.6 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.7037, allocations: 25.7 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.7038, allocations: 100.1 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.929e-05/0.7038, allocations: 23.8 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.268e-05/0.7038, allocations: 17.72 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.704, allocations: 334.8 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.704, allocations: 20 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.7041, allocations: 27.97 kB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.466e-05/0.7041, allocations: 64.83 kB / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7041, allocations: 0 / 1.025 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001123/0.7043, allocations: 97.42 kB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.7043, allocations: 6.031 kB / 1.026 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7043, allocations: 4 kB / 1.026 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7043, allocations: 3.938 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.7043, allocations: 0 / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7043, allocations: 4.062 kB / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.7044, allocations: 0 / 1.026 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.7044, allocations: 4 kB / 1.026 GB, free: 9.867 MB / 0.7794 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.062e-05/0.7045, allocations: 127.3 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.295e-05/0.7045, allocations: 7.906 kB / 1.026 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.7047, allocations: 119.2 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7047, allocations: 0 / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7047, allocations: 0 / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.7047, allocations: 4.031 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.7048, allocations: 193.5 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.7048, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.7048, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7049, allocations: 0 / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.7049, allocations: 4 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7049, allocations: 7.984 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.7049, allocations: 0 / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.705, allocations: 125.2 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.7051, allocations: 85.02 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.7051, allocations: 0 / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.125e-05/0.7051, allocations: 0 / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.605e-05/0.7051, allocations: 0 / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.7051, allocations: 4 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.501e-05/0.7052, allocations: 123.1 kB / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7052, allocations: 0 / 1.026 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005822/0.7058, allocations: 207.8 kB / 1.027 GB, free: 8.781 MB / 0.7794 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.00094/0.7068, allocations: 0.881 MB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.7069, allocations: 101.7 kB / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7069, allocations: 0 / 1.027 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.489e-05/0.707, allocations: 73.61 kB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.7072, allocations: 16.62 kB / 1.028 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001341/0.7086, allocations: 1.6 MB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.7088, allocations: 0.7041 MB / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.637e-05/0.7088, allocations: 0 / 1.03 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.077e-05/0.7089, allocations: 23.42 kB / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7089, allocations: 0 / 1.03 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.7303, allocations: 5.938 MB / 1.036 GB, free: 15.5 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.567, allocations: 13.94 kB / 1.036 GB, free: 15.49 MB / 0.795 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)