Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_8_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_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 193.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 292.3 MB / 0.5489 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 66.48 kB / 0.6717 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1945, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002256/0.1968, allocations: 1.35 MB / 0.7849 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.1983, allocations: 1.112 MB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.1983, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.1984, allocations: 11.92 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.96e-05/0.1984, allocations: 3.938 kB / 0.786 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005498/0.199, allocations: 214.6 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.416e-05/0.1991, allocations: 35.8 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.1991, allocations: 4.266 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.82e-05/0.1992, allocations: 16 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.1992, allocations: 15.91 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1992, allocations: 4 kB / 0.7862 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005446/0.1998, allocations: 415.5 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.1998, allocations: 7.922 kB / 0.7866 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.1998, allocations: 11.94 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.2001, allocations: 199.5 kB / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2001, allocations: 0 / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2001, allocations: 0 / 0.7868 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.2002, allocations: 0 / 0.7868 GB, free: 9.945 MB / 0.6075 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.0003991/0.2006, allocations: 395.3 kB / 0.7872 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.2006, allocations: 8.031 kB / 0.7872 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.432e-05/0.2006, allocations: 30.75 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.2007, allocations: 8.844 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.242e-05/0.2008, allocations: 160.4 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.2008, allocations: 4.375 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.2008, allocations: 384 / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.285e-05/0.2009, allocations: 45.75 kB / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.2009, allocations: 0 / 0.7875 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.2009, allocations: 8 kB / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2009, allocations: 0 / 0.7875 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.948e-05/0.201, allocations: 15.92 kB / 0.7875 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.2011, allocations: 161.6 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.2012, allocations: 38.61 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.2013, allocations: 16.89 kB / 0.7877 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008415/0.2021, allocations: 0.9856 MB / 0.7887 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2021, allocations: 34.5 kB / 0.7887 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.2021, allocations: 4 kB / 0.7887 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001585/0.2023, allocations: 57.62 kB / 0.7887 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.2023, allocations: 55.41 kB / 0.7888 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.087e-05/0.2024, allocations: 109.8 kB / 0.7889 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.2024, allocations: 29.64 kB / 0.7889 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.2025, allocations: 84.14 kB / 0.789 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.2025, allocations: 19.73 kB / 0.789 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.2025, allocations: 13.72 kB / 0.789 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/0.2026, allocations: 318.8 kB / 0.7893 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.2027, allocations: 8 kB / 0.7894 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.686e-05/0.2027, allocations: 7.984 kB / 0.7894 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.15e-05/0.2027, allocations: 20.8 kB / 0.7894 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2027, allocations: 4 kB / 0.7894 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.004e-05/0.2028, allocations: 49.95 kB / 0.7894 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.2028, allocations: 8 kB / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2028, allocations: 0 / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.2029, allocations: 0 / 0.7894 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.203, allocations: 15.98 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.203, allocations: 4 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.397e-05/0.203, allocations: 4 kB / 0.7895 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.203, allocations: 7.984 kB / 0.7895 GB, free: 6.793 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.421e-05/0.2031, allocations: 105.8 kB / 0.7896 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.228e-05/0.2031, allocations: 7.844 kB / 0.7896 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.2032, allocations: 61.53 kB / 0.7896 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.2032, allocations: 4 kB / 0.7896 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.2032, allocations: 3.938 kB / 0.7896 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2032, allocations: 3.984 kB / 0.7897 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.261e-05/0.2033, allocations: 161.7 kB / 0.7898 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2033, allocations: 0 / 0.7898 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.562e-05/0.2034, allocations: 15.94 kB / 0.7898 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2034, allocations: 3.984 kB / 0.7898 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.2035, allocations: 8 kB / 0.7898 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2035, allocations: 0 / 0.7898 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2035, allocations: 0 / 0.7898 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.727e-05/0.2036, allocations: 73.06 kB / 0.7899 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.2036, allocations: 92.95 kB / 0.79 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2036, allocations: 4 kB / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.309e-05/0.2036, allocations: 0 / 0.79 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/0.2037, allocations: 4 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.2037, allocations: 0 / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.282e-05/0.2037, allocations: 83.27 kB / 0.7901 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2037, allocations: 0 / 0.7901 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002226/0.2039, allocations: 43.94 kB / 0.7901 GB, free: 6.02 MB / 0.6075 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 (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.0004217/0.2044, allocations: 0.667 MB / 0.7908 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.334e-05/0.2045, allocations: 27.94 kB / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2045, allocations: 0 / 0.7908 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.267e-05/0.2045, allocations: 11.98 kB / 0.7908 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.2047, allocations: 8 kB / 0.7908 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003947/0.2051, allocations: 205.7 kB / 0.791 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001867/0.2053, allocations: 0.6807 MB / 0.7917 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.109e-05/0.2053, allocations: 7.266 kB / 0.7917 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.2054, allocations: 14.02 kB / 0.7917 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2054, allocations: 4 kB / 0.7917 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.195/0.4004, allocations: 2.167 MB / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.603/9.003, allocations: 11.69 kB / 0.7938 GB, free: 2.328 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)