Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.436/1.436, allocations: 252 MB / 267 MB, free: 10.94 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009595/0.0009596, allocations: 179.3 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.4 MB / 0.5777 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007081/0.000708, allocations: 84.62 kB / 0.6822 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003531/0.0003532, allocations: 11.97 kB / 0.7965 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1939, allocations: 106.3 MB / 0.9004 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001386/0.1954, allocations: 1.094 MB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.1976, allocations: 1.694 MB / 0.9031 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.1977, allocations: 4 kB / 0.9031 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.637e-05/0.1978, allocations: 15.86 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.198, allocations: 27.89 kB / 0.9031 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.2001, allocations: 0.9295 MB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.878e-05/0.2002, allocations: 63.75 kB / 0.9041 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.2002, allocations: 4 kB / 0.9041 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.2003, allocations: 31.91 kB / 0.9041 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.456e-05/0.2004, allocations: 43.84 kB / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.2004, allocations: 0 / 0.9042 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.2014, allocations: 0.6824 MB / 0.9048 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.948e-05/0.2015, allocations: 67.81 kB / 0.9049 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.2015, allocations: 45.58 kB / 0.905 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006726/0.2022, allocations: 0.5538 MB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2022, allocations: 0 / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2022, allocations: 4 kB / 0.9055 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.2022, allocations: 0 / 0.9055 GB, free: 58.85 MB / 0.6042 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.0006198/0.2028, allocations: 0.5568 MB / 0.906 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.2029, allocations: 12.02 kB / 0.9061 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.2029, allocations: 46.56 kB / 0.9061 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.768e-05/0.203, allocations: 27.58 kB / 0.9061 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.2031, allocations: 213.7 kB / 0.9063 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-06/0.2031, allocations: 3.938 kB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-06/0.2032, allocations: 4 kB / 0.9063 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.2033, allocations: 105.7 kB / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2033, allocations: 0 / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.2033, allocations: 0 / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.2033, allocations: 0 / 0.9064 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.148e-05/0.2034, allocations: 83.86 kB / 0.9065 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002044/0.2036, allocations: 277.9 kB / 0.9068 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.073e-05/0.2037, allocations: 118.5 kB / 0.9069 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.2038, allocations: 104.9 kB / 0.907 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.2038, allocations: 7.984 kB / 0.907 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.2039, allocations: 38.5 kB / 0.907 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 1.272e-06/0.2039, allocations: 0 / 0.907 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.0003468/0.2042, allocations: 331 kB / 0.9074 GB, free: 56.77 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.2042, allocations: 59.39 kB / 0.9074 GB, free: 56.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.2044, allocations: 253 kB / 0.9077 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.2045, allocations: 25.7 kB / 0.9077 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.2045, allocations: 132.7 kB / 0.9078 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.2046, allocations: 110.4 kB / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.2046, allocations: 0 / 0.9079 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.2047, allocations: 346.8 kB / 0.9082 GB, free: 55.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.2047, allocations: 63.98 kB / 0.9083 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.133e-05/0.2048, allocations: 79.95 kB / 0.9084 GB, free: 55.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.558e-05/0.2049, allocations: 103.9 kB / 0.9085 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.2049, allocations: 0 / 0.9085 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002021/0.2051, allocations: 217.3 kB / 0.9087 GB, free: 55.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2051, allocations: 8 kB / 0.9087 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.2052, allocations: 4.062 kB / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2052, allocations: 0 / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.2052, allocations: 0 / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2052, allocations: 0 / 0.9087 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.808e-05/0.2053, allocations: 15.83 kB / 0.9087 GB, free: 55.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.2053, allocations: 3.953 kB / 0.9087 GB, free: 55.32 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.2054, allocations: 160 kB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.2054, allocations: 23.62 kB / 0.9089 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.2057, allocations: 256.7 kB / 0.9091 GB, free: 54.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.2057, allocations: 7.875 kB / 0.9091 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2057, allocations: 0 / 0.9091 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2057, allocations: 0 / 0.9091 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.2058, allocations: 281.8 kB / 0.9094 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.2059, allocations: 0 / 0.9094 GB, free: 54.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-06/0.2059, allocations: 7.984 kB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2059, allocations: 0 / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2059, allocations: 0 / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2059, allocations: 4.031 kB / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2059, allocations: 0 / 0.9094 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.2061, allocations: 260.6 kB / 0.9097 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.2061, allocations: 96.77 kB / 0.9098 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.2062, allocations: 4 kB / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.2062, allocations: 4 kB / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.736e-05/0.2062, allocations: 0 / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-06/0.2062, allocations: 0 / 0.9098 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001236/0.2064, allocations: 192.5 kB / 0.91 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2064, allocations: 3.938 kB / 0.91 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006407/0.207, allocations: 211.8 kB / 0.9102 GB, free: 53.74 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001067/0.2081, allocations: 1.013 MB / 0.9111 GB, free: 52.7 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002168/0.2083, allocations: 265.6 kB / 0.9114 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2083, allocations: 4.062 kB / 0.9114 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.2084, allocations: 177.6 kB / 0.9116 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.2087, allocations: 25.73 kB / 0.9116 GB, free: 52.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.2103, allocations: 1.566 MB / 0.9131 GB, free: 50.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001884/0.2105, allocations: 0.7709 MB / 0.9139 GB, free: 49.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.134e-05/0.2105, allocations: 4 kB / 0.9139 GB, free: 49.81 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.2106, allocations: 51.48 kB / 0.9139 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of SimCode: time 4.7e-07/0.2106, allocations: 3.938 kB / 0.9139 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01821/0.2288, allocations: 7.399 MB / 0.9212 GB, free: 42.59 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.2291, allocations: 295.8 kB / 0.9214 GB, free: 42.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/2.38, allocations: 0 / 0.9214 GB, free: 42.23 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)