Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="BuildingSystems_BuildingSystems_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.005591/0.005591, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001279/0.001279, allocations: 194 kB / 16.67 MB, free: 6.379 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00228/0.00228, allocations: 290.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9288/0.9288, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 99.92 kB / 0.681 GB, free: 15.92 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1788, allocations: 86.97 MB / 0.766 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003017/0.1819, allocations: 1.346 MB / 0.7673 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002048/0.184, allocations: 1.092 MB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.77e-05/0.184, allocations: 0 / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.513e-05/0.1841, allocations: 7.922 kB / 0.7684 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.884e-05/0.1842, allocations: 3.938 kB / 0.7684 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.185, allocations: 219.2 kB / 0.7686 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.1851, allocations: 31.86 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.625e-05/0.1851, allocations: 4 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.1852, allocations: 11.92 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.1853, allocations: 19.92 kB / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.1853, allocations: 0 / 0.7686 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006585/0.186, allocations: 431.5 kB / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.233e-05/0.186, allocations: 0 / 0.769 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.01e-05/0.186, allocations: 11.94 kB / 0.7691 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.1864, allocations: 205.9 kB / 0.7693 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1864, allocations: 0 / 0.7693 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1864, allocations: 0 / 0.7693 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.1864, allocations: 0 / 0.7693 GB, free: 5.484 MB / 0.5606 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.0005166/0.1869, allocations: 391.2 kB / 0.7696 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.187, allocations: 8.031 kB / 0.7696 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.187, allocations: 42.69 kB / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.717e-05/0.1871, allocations: 0.9375 kB / 0.7697 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1872, allocations: 172.3 kB / 0.7698 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.1872, allocations: 4.375 kB / 0.7698 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.205e-06/0.1872, allocations: 384 / 0.7698 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.1874, allocations: 45.81 kB / 0.7699 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1874, allocations: 0 / 0.7699 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1874, allocations: 3.984 kB / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1874, allocations: 0 / 0.7699 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.301e-05/0.1875, allocations: 15.94 kB / 0.7699 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001875/0.1877, allocations: 161.7 kB / 0.7701 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.1878, allocations: 38.61 kB / 0.7701 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.321e-05/0.1878, allocations: 16.89 kB / 0.7701 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.1889, allocations: 0.9895 MB / 0.7711 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.1889, allocations: 34.5 kB / 0.7711 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1889, allocations: 0 / 0.7711 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001713/0.1891, allocations: 57.62 kB / 0.7712 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.1891, allocations: 51.41 kB / 0.7712 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.1892, allocations: 113.8 kB / 0.7713 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.1892, allocations: 29.7 kB / 0.7714 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.478e-05/0.1893, allocations: 84.14 kB / 0.7714 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.1893, allocations: 11.81 kB / 0.7714 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.037e-05/0.1894, allocations: 17.66 kB / 0.7715 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1895, allocations: 318.8 kB / 0.7718 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/0.1895, allocations: 4 kB / 0.7718 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.707e-05/0.1895, allocations: 12 kB / 0.7718 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.1896, allocations: 28.78 kB / 0.7718 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1896, allocations: 0 / 0.7718 GB, free: 2.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.5e-05/0.1897, allocations: 53.64 kB / 0.7719 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1897, allocations: 4 kB / 0.7719 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1897, allocations: 7.984 kB / 0.7719 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1897, allocations: 0 / 0.7719 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.1898, allocations: 12 kB / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1899, allocations: 0 / 0.7719 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.569e-05/0.1899, allocations: 3.906 kB / 0.7719 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-06/0.1899, allocations: 0 / 0.7719 GB, free: 2.332 MB / 0.5606 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 7.768e-05/0.19, allocations: 114.5 kB / 0.772 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.249e-05/0.19, allocations: 7.922 kB / 0.772 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1901, allocations: 63.78 kB / 0.7721 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1901, allocations: 0 / 0.7721 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.1901, allocations: 4 kB / 0.7721 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1902, allocations: 384 / 0.7721 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.1903, allocations: 165.6 kB / 0.7722 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1903, allocations: 4 kB / 0.7722 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.686e-05/0.1904, allocations: 15.92 kB / 0.7722 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1904, allocations: 8 kB / 0.7723 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.1904, allocations: 0 / 0.7723 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1904, allocations: 0 / 0.7723 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1904, allocations: 3.984 kB / 0.7723 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.1905, allocations: 76.97 kB / 0.7723 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.1906, allocations: 89.05 kB / 0.7724 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1906, allocations: 7.984 kB / 0.7724 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.284e-05/0.1906, allocations: 0 / 0.7724 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.082e-05/0.1906, allocations: 4 kB / 0.7724 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-06/0.1906, allocations: 4 kB / 0.7724 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.655e-05/0.1907, allocations: 83.28 kB / 0.7725 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1907, allocations: 0 / 0.7725 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002386/0.1909, allocations: 43.92 kB / 0.7726 GB, free: 1.547 MB / 0.5606 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.0005234/0.1915, allocations: 0.6747 MB / 0.7732 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.407e-05/0.1916, allocations: 23.98 kB / 0.7732 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1916, allocations: 0 / 0.7732 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.1916, allocations: 8 kB / 0.7732 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002062/0.1918, allocations: 15.45 kB / 0.7733 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004513/0.1923, allocations: 197.9 kB / 0.7734 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3159/0.5082, allocations: 0.6764 MB / 0.7741 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.5083, allocations: 3.625 kB / 0.7741 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.268e-05/0.5083, allocations: 10.77 kB / 0.7741 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.5083, allocations: 0 / 0.7741 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.5264, allocations: 2.22 MB / 0.7763 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.229/7.756, allocations: 9.438 kB / 0.7763 GB, free: 13.95 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)