Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.551/1.551, allocations: 288.4 MB / 303.6 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 180 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.25/1.25, allocations: 205.4 MB / 0.631 GB, free: 9.797 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007966/0.0007966, allocations: 94.34 kB / 0.7444 GB, free: 5.715 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005605/0.0005607, allocations: 12.88 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.1974, allocations: 115.3 MB / 0.9802 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00115/0.1986, allocations: 1.068 MB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001193/0.1998, allocations: 1.035 MB / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.312e-05/0.1998, allocations: 0 / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.1999, allocations: 0 / 0.9823 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.1999, allocations: 3.938 kB / 0.9823 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.2004, allocations: 153.7 kB / 0.9825 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.962e-05/0.2005, allocations: 31.86 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.515e-05/0.2005, allocations: 4 kB / 0.9825 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.575e-05/0.2006, allocations: 15.92 kB / 0.9825 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.532e-05/0.2006, allocations: 11.98 kB / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.2006, allocations: 0 / 0.9825 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004342/0.2011, allocations: 403.4 kB / 0.9829 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.2011, allocations: 11.92 kB / 0.9829 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.2011, allocations: 37.64 kB / 0.9829 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.2013, allocations: 136 kB / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2013, allocations: 0 / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2013, allocations: 0 / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.2013, allocations: 0 / 0.9831 GB, free: 24.27 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003083/0.2017, allocations: 381.6 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2017, allocations: 8.031 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.386e-05/0.2017, allocations: 38.69 kB / 0.9835 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.018e-05/0.2018, allocations: 8.844 kB / 0.9835 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.763e-05/0.2018, allocations: 164.4 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.2018, allocations: 384 / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.2019, allocations: 384 / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.526e-05/0.202, allocations: 45.81 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-06/0.202, allocations: 0 / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.202, allocations: 0 / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.202, allocations: 3.938 kB / 0.9837 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.978e-05/0.202, allocations: 15.98 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001141/0.2021, allocations: 157.7 kB / 0.9839 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.768e-05/0.2022, allocations: 46.55 kB / 0.9839 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.2023, allocations: 12.89 kB / 0.9839 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006087/0.2029, allocations: 0.9856 MB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.2029, allocations: 34.5 kB / 0.9849 GB, free: 22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2029, allocations: 3.938 kB / 0.9849 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001413/0.2031, allocations: 65.53 kB / 0.985 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.2031, allocations: 51.41 kB / 0.985 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.605e-05/0.2031, allocations: 105.8 kB / 0.9851 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.2031, allocations: 29.7 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.882e-05/0.2032, allocations: 80.14 kB / 0.9852 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2032, allocations: 23.81 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.2032, allocations: 0 / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.936e-05/0.2032, allocations: 310.8 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.2033, allocations: 8 kB / 0.9856 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.36e-05/0.2033, allocations: 4.188 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.2033, allocations: 28.92 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2033, allocations: 0 / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.674e-05/0.2034, allocations: 65.47 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.2034, allocations: 4 kB / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2034, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.2035, allocations: 0 / 0.9857 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.623e-05/0.2036, allocations: 12 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2036, allocations: 0 / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.2036, allocations: 4 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.2036, allocations: 4 kB / 0.9857 GB, free: 21.16 MB / 0.6198 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.553e-05/0.2037, allocations: 115.6 kB / 0.9858 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.498e-06/0.2037, allocations: 11.94 kB / 0.9858 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.962e-05/0.2038, allocations: 65.44 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.2038, allocations: 0 / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2038, allocations: 0 / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2038, allocations: 4 kB / 0.9859 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.231e-05/0.2039, allocations: 161.7 kB / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2039, allocations: 0 / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.574e-05/0.2039, allocations: 15.94 kB / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.204, allocations: 0 / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.204, allocations: 0 / 0.986 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.204, allocations: 4 kB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.204, allocations: 4 kB / 0.986 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.171e-05/0.2041, allocations: 73.12 kB / 0.9861 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.2041, allocations: 92.88 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.2041, allocations: 3.938 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.122e-05/0.2041, allocations: 0 / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.2041, allocations: 11.94 kB / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.347e-06/0.2042, allocations: 0 / 0.9862 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.01e-05/0.2042, allocations: 87.27 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2042, allocations: 0 / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002052/0.2044, allocations: 47.94 kB / 0.9863 GB, free: 20.37 MB / 0.6198 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0003108/0.2047, allocations: 0.6531 MB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.791e-05/0.2048, allocations: 31.92 kB / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2048, allocations: 0 / 0.987 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.2048, allocations: 8 kB / 0.987 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.205, allocations: 7.922 kB / 0.987 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.2054, allocations: 220.4 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.2055, allocations: 0.6809 MB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.197e-05/0.2055, allocations: 8.234 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.924e-05/0.2055, allocations: 15.42 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.2055, allocations: 0 / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5914/0.797, allocations: 1.951 MB / 0.9898 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/0.7972, allocations: 284.2 kB / 0.9901 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.331, allocations: 0 / 0.9901 GB, free: 16.6 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)