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_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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005333/0.005333, allocations: 97.25 kB / 15.73 MB, free: 6.039 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.001296/0.001296, allocations: 204.6 kB / 16.68 MB, free: 5.961 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 1.045/1.045, allocations: 143.3 MB / 433.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.89 kB / 0.5954 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3884/0.3904, allocations: 82.02 MB / 0.6755 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002105/0.3925, allocations: 1.37 MB / 0.6768 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003008/0.3955, allocations: 1.79 MB / 0.6786 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.3956, allocations: 1.062 kB / 0.6786 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.452e-05/0.3957, allocations: 12.86 kB / 0.6786 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.3959, allocations: 31.08 kB / 0.6786 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.3986, allocations: 1.147 MB / 0.6797 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.3987, allocations: 49.97 kB / 0.6798 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.3988, allocations: 2.312 kB / 0.6798 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.3989, allocations: 24.44 kB / 0.6798 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.951e-05/0.3989, allocations: 26.11 kB / 0.6798 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.399, allocations: 1 kB / 0.6798 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.4003, allocations: 0.8873 MB / 0.6807 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.204e-05/0.4003, allocations: 34.34 kB / 0.6807 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.4004, allocations: 29.33 kB / 0.6808 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.4015, allocations: 0.7947 MB / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.4015, allocations: 0 / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4015, allocations: 0 / 0.6815 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.4015, 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006295/0.4021, allocations: 0.4892 MB / 0.682 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4022, allocations: 9.625 kB / 0.682 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.4022, allocations: 32.12 kB / 0.6821 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.4022, allocations: 9.016 kB / 0.6821 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.4024, allocations: 190.5 kB / 0.6823 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.4025, allocations: 5.5 kB / 0.6823 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.4025, allocations: 0 / 0.6823 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.4026, allocations: 58.25 kB / 0.6823 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.4026, allocations: 0 / 0.6823 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.653e-06/0.4026, allocations: 0 / 0.6823 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4026, allocations: 0 / 0.6823 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.4027, allocations: 27.23 kB / 0.6823 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000219/0.4029, allocations: 187.8 kB / 0.6825 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.148e-05/0.403, allocations: 55.12 kB / 0.6826 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.403, allocations: 32.09 kB / 0.6826 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.403, allocations: 5.312 kB / 0.6826 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4031, allocations: 31.94 kB / 0.6826 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4031, allocations: 0 / 0.6826 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.0002178/0.4033, allocations: 116.7 kB / 0.6827 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.4034, allocations: 52.69 kB / 0.6828 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.4035, allocations: 158.1 kB / 0.6829 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.4035, allocations: 26.64 kB / 0.683 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.373e-05/0.4036, allocations: 96.91 kB / 0.6831 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.4037, allocations: 29.88 kB / 0.6831 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.56e-05/0.4037, allocations: 19.27 kB / 0.6831 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4039, allocations: 329.6 kB / 0.6834 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.563e-05/0.4039, allocations: 19.47 kB / 0.6834 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.4039, allocations: 29.73 kB / 0.6835 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.404, allocations: 69.61 kB / 0.6835 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.404, allocations: 0 / 0.6835 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001203/0.4042, allocations: 101.4 kB / 0.6836 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.4042, allocations: 5.5 kB / 0.6836 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4042, allocations: 1.406 kB / 0.6836 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4042, allocations: 0 / 0.6836 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.4042, allocations: 0 / 0.6836 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.4042, allocations: 1.375 kB / 0.6836 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.736e-05/0.4043, allocations: 0 / 0.6836 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.4043, allocations: 1.438 kB / 0.6836 GB, free: 10.68 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.0001018/0.4044, allocations: 129 kB / 0.6838 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.4044, allocations: 12.23 kB / 0.6838 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.4046, allocations: 107.5 kB / 0.6839 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4046, allocations: 0 / 0.6839 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4046, allocations: 0 / 0.6839 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4046, allocations: 5.641 kB / 0.6839 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001808/0.4048, allocations: 195.8 kB / 0.6841 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.4048, allocations: 9.438 kB / 0.6841 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.4048, allocations: 1.219 kB / 0.6841 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4048, allocations: 4.031 kB / 0.6841 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.4048, allocations: 1.219 kB / 0.6841 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4048, allocations: 0 / 0.6841 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4049, allocations: 3.984 kB / 0.6841 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.405, allocations: 121.7 kB / 0.6842 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.4051, allocations: 87.77 kB / 0.6843 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.4051, allocations: 1.375 kB / 0.6843 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.156e-05/0.4051, allocations: 0 / 0.6843 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.4051, allocations: 5.406 kB / 0.6843 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4051, allocations: 1.375 kB / 0.6843 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.243e-05/0.4052, allocations: 122.6 kB / 0.6844 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4052, allocations: 3.938 kB / 0.6844 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005732/0.4058, allocations: 204 kB / 0.6846 GB, free: 9.914 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.001071/0.4069, allocations: 0.8863 MB / 0.6855 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001564/0.4071, allocations: 97.83 kB / 0.6856 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4071, allocations: 0 / 0.6856 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 7.421e-05/0.4072, allocations: 71.45 kB / 0.6856 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.4074, allocations: 13.83 kB / 0.6857 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.409, allocations: 1.611 MB / 0.6872 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4094, allocations: 0.7027 MB / 0.6879 GB, free: 7.051 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.4094, allocations: 5.281 kB / 0.6879 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.4094, allocations: 24.3 kB / 0.6879 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4094, allocations: 1.125 kB / 0.6879 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.4374, allocations: 6.028 MB / 0.6938 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.162/8.599, allocations: 11.12 kB / 0.6938 GB, free: 3.164 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)