Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005816/0.005816, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001105/0.001105, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9221/0.9221, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 75.83 kB / 0.5952 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3901, allocations: 82.02 MB / 0.6753 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002072/0.3922, allocations: 1.372 MB / 0.6766 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.3948, allocations: 1.792 MB / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.807e-05/0.3948, allocations: 0 / 0.6783 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 8.653e-05/0.3949, allocations: 13.14 kB / 0.6784 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001439/0.3951, allocations: 30.89 kB / 0.6784 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.3976, allocations: 1.149 MB / 0.6795 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.3978, allocations: 53.22 kB / 0.6796 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.637e-05/0.3978, allocations: 6.203 kB / 0.6796 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.623e-05/0.3979, allocations: 26.31 kB / 0.6796 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.872e-05/0.398, allocations: 25.48 kB / 0.6796 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.398, allocations: 9.406 kB / 0.6796 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.3991, allocations: 0.8829 MB / 0.6805 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.3992, allocations: 67 kB / 0.6805 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.3992, allocations: 72.08 kB / 0.6806 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009745/0.4002, allocations: 0.8794 MB / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4002, allocations: 0 / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4002, allocations: 0 / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4002, allocations: 0 / 0.6815 GB, free: 12.64 MB / 0.5137 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.0006434/0.4009, allocations: 0.5953 MB / 0.6821 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4009, allocations: 14.06 kB / 0.6821 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.988e-05/0.401, allocations: 48.39 kB / 0.6821 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.401, allocations: 24.66 kB / 0.6821 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001833/0.4012, allocations: 233.1 kB / 0.6824 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.4012, allocations: 384 / 0.6824 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-06/0.4012, allocations: 5.625 kB / 0.6824 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4014, allocations: 105.8 kB / 0.6825 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4014, allocations: 1.25 kB / 0.6825 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.4014, allocations: 0 / 0.6825 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4014, allocations: 0 / 0.6825 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.215e-05/0.4015, allocations: 79.84 kB / 0.6825 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002387/0.4017, allocations: 277.8 kB / 0.6828 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4019, allocations: 122.9 kB / 0.6829 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.423e-05/0.4019, allocations: 105.2 kB / 0.683 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.402, allocations: 5.312 kB / 0.683 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.402, allocations: 35.94 kB / 0.6831 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=32): time 1.032e-06/0.402, allocations: 0 / 0.6831 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32): time 0.000356/0.4024, allocations: 342.7 kB / 0.6834 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.411e-05/0.4024, allocations: 51.41 kB / 0.6834 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.4026, allocations: 255.2 kB / 0.6837 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.4026, allocations: 25.7 kB / 0.6837 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.4027, allocations: 131.3 kB / 0.6838 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.168e-05/0.4028, allocations: 99.8 kB / 0.6839 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.4028, allocations: 32.36 kB / 0.684 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.403, allocations: 344.4 kB / 0.6843 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.403, allocations: 71.72 kB / 0.6844 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.63e-05/0.4031, allocations: 83.3 kB / 0.6844 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4033, allocations: 199.1 kB / 0.6846 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4033, allocations: 0 / 0.6846 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002182/0.4035, allocations: 237.3 kB / 0.6849 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.4035, allocations: 5.781 kB / 0.6849 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4036, allocations: 1.5 kB / 0.6849 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4036, allocations: 0 / 0.6849 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/0.4036, allocations: 0 / 0.6849 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4036, allocations: 9.109 kB / 0.6849 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.4036, allocations: 13.98 kB / 0.6849 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.4037, allocations: 0.9062 kB / 0.6849 GB, free: 10.05 MB / 0.5137 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.0001138/0.4038, allocations: 155.1 kB / 0.685 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.4038, allocations: 27.97 kB / 0.6851 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002743/0.4041, allocations: 244.4 kB / 0.6853 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.4041, allocations: 0 / 0.6853 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4041, allocations: 5.031 kB / 0.6853 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4041, allocations: 3.984 kB / 0.6853 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002065/0.4043, allocations: 297.6 kB / 0.6856 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.4043, allocations: 5.531 kB / 0.6856 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.4043, allocations: 0 / 0.6856 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.4044, allocations: 0 / 0.6856 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.4044, allocations: 1.594 kB / 0.6856 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4044, allocations: 4 kB / 0.6856 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4044, allocations: 0 / 0.6856 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.4046, allocations: 253.1 kB / 0.6858 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.4047, allocations: 107.6 kB / 0.6859 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4047, allocations: 1.188 kB / 0.6859 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.592e-05/0.4048, allocations: 0 / 0.6859 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.4048, allocations: 1.188 kB / 0.6859 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.4048, allocations: 1.375 kB / 0.6859 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001498/0.4049, allocations: 194.3 kB / 0.6861 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4049, allocations: 0 / 0.6861 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000634/0.4056, allocations: 211.2 kB / 0.6863 GB, free: 9.102 MB / 0.5137 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.001076/0.4067, allocations: 1.044 MB / 0.6873 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.407, allocations: 264.9 kB / 0.6876 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.407, allocations: 0 / 0.6876 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001437/0.4071, allocations: 178.6 kB / 0.6878 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.4074, allocations: 22.47 kB / 0.6878 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.4097, allocations: 2.589 MB / 0.6903 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.41, allocations: 0.7701 MB / 0.6911 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.592e-05/0.41, allocations: 1.812 kB / 0.6911 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.246e-05/0.4101, allocations: 53.2 kB / 0.6911 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of SimCode: time 1.743e-06/0.4101, allocations: 0 / 0.6911 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.4362, allocations: 7.764 MB / 0.6987 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.782/8.218, allocations: 7.5 kB / 0.6987 GB, free: 14.11 MB / 0.5294 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)