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_OneUTube.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_OneUTube,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.356/1.356, allocations: 252 MB / 267 MB, free: 10.95 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.0009948/0.0009946, allocations: 166.7 kB / 326.6 MB, free: 2.199 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.684/1.684, allocations: 205.4 MB / 0.5777 GB, free: 20.24 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.0007981/0.0007983, allocations: 102.3 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003417, allocations: 15.19 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2007, allocations: 106.3 MB / 0.9004 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001272/0.202, allocations: 1.094 MB / 0.9014 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002017/0.2041, allocations: 1.698 MB / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.739e-05/0.2041, allocations: 0 / 0.9031 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.916e-05/0.2042, allocations: 7.922 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.2044, allocations: 19.91 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001883/0.2063, allocations: 0.933 MB / 0.904 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.882e-05/0.2064, allocations: 63.75 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.2064, allocations: 4 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.033e-05/0.2065, allocations: 23.91 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.741e-05/0.2065, allocations: 31.86 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.2066, allocations: 4 kB / 0.9041 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007736/0.2073, allocations: 0.6747 MB / 0.9048 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.2074, allocations: 31.91 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.2074, allocations: 33.64 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005006/0.2079, allocations: 0.4955 MB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2079, allocations: 3.938 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.208, allocations: 0 / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.208, allocations: 0 / 0.9054 GB, free: 58.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000459/0.2084, allocations: 467 kB / 0.9058 GB, free: 58.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.2085, allocations: 12.02 kB / 0.9058 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.135e-05/0.2085, allocations: 34.56 kB / 0.9058 GB, free: 58.03 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.2086, allocations: 15.77 kB / 0.9059 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.2087, allocations: 183.4 kB / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.2087, allocations: 0 / 0.906 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.2087, allocations: 3.938 kB / 0.906 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.2089, allocations: 53.69 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.2089, allocations: 3.938 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.2089, allocations: 0 / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2089, allocations: 4 kB / 0.9061 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.2089, allocations: 31.94 kB / 0.9061 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001679/0.2091, allocations: 181.7 kB / 0.9063 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.109e-05/0.2092, allocations: 50.5 kB / 0.9064 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.2092, allocations: 28.89 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.2093, allocations: 3.984 kB / 0.9064 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2093, allocations: 42.56 kB / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 8.91e-07/0.2093, allocations: 0 / 0.9064 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0001877/0.2095, allocations: 117.7 kB / 0.9065 GB, free: 57.2 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2095, allocations: 55.34 kB / 0.9066 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2096, allocations: 159.1 kB / 0.9067 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.2097, allocations: 25.7 kB / 0.9068 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.2097, allocations: 96.12 kB / 0.9069 GB, free: 56.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.2097, allocations: 27.56 kB / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-06/0.2097, allocations: 0 / 0.9069 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.2098, allocations: 326.9 kB / 0.9072 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.2098, allocations: 23.98 kB / 0.9072 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.2099, allocations: 23.98 kB / 0.9072 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.582e-05/0.2099, allocations: 31.98 kB / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2099, allocations: 0 / 0.9073 GB, free: 56.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.679e-05/0.21, allocations: 81.59 kB / 0.9073 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.21, allocations: 11.98 kB / 0.9074 GB, free: 56.31 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.2101, allocations: 4 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.2101, allocations: 0 / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.382e-06/0.2101, allocations: 0 / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.2101, allocations: 8 kB / 0.9074 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.2101, allocations: 7.938 kB / 0.9074 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.2101, allocations: 3.953 kB / 0.9074 GB, free: 56.29 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 7.242e-05/0.2102, allocations: 124 kB / 0.9075 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.2102, allocations: 7.906 kB / 0.9075 GB, free: 56.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.2104, allocations: 116.1 kB / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2104, allocations: 0 / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.2104, allocations: 0 / 0.9076 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2104, allocations: 11.95 kB / 0.9076 GB, free: 56.02 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.2105, allocations: 189.6 kB / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2105, allocations: 0 / 0.9078 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.182e-06/0.2105, allocations: 4 kB / 0.9078 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2105, allocations: 0 / 0.9078 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.2106, allocations: 7.938 kB / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.2106, allocations: 0 / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2106, allocations: 0 / 0.9078 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.2107, allocations: 124.9 kB / 0.9079 GB, free: 55.63 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.2107, allocations: 92.94 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.2107, allocations: 0 / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/0.2108, allocations: 4 kB / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.474e-05/0.2108, allocations: 0 / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.2108, allocations: 0 / 0.908 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.595e-05/0.2109, allocations: 115.8 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2109, allocations: 0 / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004485/0.2113, allocations: 195.9 kB / 0.9083 GB, free: 55.21 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.0007562/0.2121, allocations: 0.8815 MB / 0.9092 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.2122, allocations: 89.67 kB / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2122, allocations: 0 / 0.9093 GB, free: 54.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.225e-05/0.2123, allocations: 73.67 kB / 0.9093 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.2125, allocations: 8 kB / 0.9094 GB, free: 54.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000791/0.2133, allocations: 0.7778 MB / 0.9101 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2134, allocations: 0.7082 MB / 0.9108 GB, free: 52.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.561e-05/0.2134, allocations: 4 kB / 0.9108 GB, free: 52.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.557e-05/0.2134, allocations: 23.42 kB / 0.9108 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2135, allocations: 0 / 0.9108 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.2296, allocations: 5.725 MB / 0.9164 GB, free: 47.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.2299, allocations: 293.3 kB / 0.9167 GB, free: 46.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.916/2.146, allocations: 0 / 0.9167 GB, free: 46.68 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube_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_OneUTube.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)