Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_IDEAS_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.001432/0.001432, 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.001647/0.001647, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.428/1.428, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9841/0.9841, allocations: 135.1 MB / 425.5 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 68.02 kB / 0.5055 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1836, allocations: 80.93 MB / 0.5845 GB, free: 4.391 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002834/0.1865, allocations: 1.339 MB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1883, allocations: 1.062 MB / 0.5869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.388e-05/0.1883, allocations: 0 / 0.5869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.1884, allocations: 11.92 kB / 0.5869 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.875e-05/0.1884, allocations: 3.938 kB / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007722/0.1892, allocations: 206.5 kB / 0.5871 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.372e-05/0.1893, allocations: 35.8 kB / 0.5871 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.1894, allocations: 11.98 kB / 0.5871 GB, free: 1.703 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.402e-05/0.1894, allocations: 15.92 kB / 0.5872 GB, free: 1.688 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.926e-05/0.1895, allocations: 15.92 kB / 0.5872 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.1895, allocations: 0 / 0.5872 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.1902, allocations: 411.5 kB / 0.5876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1902, allocations: 11.92 kB / 0.5876 GB, free: 1.258 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.1902, allocations: 11.94 kB / 0.5876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.1906, allocations: 191.9 kB / 0.5878 GB, free: 1.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1906, allocations: 0 / 0.5878 GB, free: 1.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1906, allocations: 4 kB / 0.5878 GB, free: 1.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.84e-06/0.1907, allocations: 0 / 0.5878 GB, free: 1.055 MB / 494.1 MB 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.0004702/0.1911, allocations: 387.2 kB / 0.5881 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1912, allocations: 12.03 kB / 0.5881 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.274e-05/0.1912, allocations: 46.67 kB / 0.5882 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.524e-05/0.1913, allocations: 0.9375 kB / 0.5882 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1914, allocations: 172.2 kB / 0.5884 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.1914, allocations: 384 / 0.5884 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1914, allocations: 3.938 kB / 0.5884 GB, free: 360 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.1915, allocations: 45.69 kB / 0.5884 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1916, allocations: 0 / 0.5884 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.1916, allocations: 0 / 0.5884 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1916, allocations: 0 / 0.5884 GB, free: 308 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.1916, allocations: 15.97 kB / 0.5884 GB, free: 292 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.1918, allocations: 161.7 kB / 0.5886 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.522e-05/0.1919, allocations: 46.48 kB / 0.5886 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.1919, allocations: 20.89 kB / 0.5886 GB, free: 0 / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008981/0.1929, allocations: 0.9778 MB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1929, allocations: 38.56 kB / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1929, allocations: 0 / 0.5896 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001785/0.1931, allocations: 61.56 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.1931, allocations: 51.41 kB / 0.5897 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.008e-05/0.1932, allocations: 105.8 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.1932, allocations: 25.7 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/0.1933, allocations: 88.14 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.1933, allocations: 11.75 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.1933, allocations: 25.7 kB / 0.59 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.567e-05/0.1934, allocations: 310.8 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.257e-05/0.1935, allocations: 8 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.713e-05/0.1935, allocations: 4 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.914e-05/0.1935, allocations: 24.84 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1935, allocations: 0 / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.978e-05/0.1936, allocations: 57.56 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1937, allocations: 4 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1937, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1937, allocations: 4 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1938, allocations: 12 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1938, allocations: 320 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.1939, allocations: 7.906 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1939, allocations: 4 kB / 0.5904 GB, free: 13.9 MB / 0.4981 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 6.845e-05/0.1939, allocations: 113.8 kB / 0.5905 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.194, allocations: 7.938 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.1941, allocations: 61.53 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1941, allocations: 4 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1941, allocations: 0 / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1941, allocations: 0 / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1942, allocations: 169.6 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1942, allocations: 0 / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.1943, allocations: 12 kB / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.1943, allocations: 384 / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1944, allocations: 0 / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.1944, allocations: 11.98 kB / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1944, allocations: 0 / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.1945, allocations: 88.95 kB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/0.1945, allocations: 81.09 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1945, allocations: 0 / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.753e-05/0.1946, allocations: 8 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.1946, allocations: 3.938 kB / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1946, allocations: 0 / 0.5909 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.987e-05/0.1947, allocations: 87.27 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1947, allocations: 0 / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002393/0.1949, allocations: 40 kB / 0.5911 GB, free: 13.12 MB / 0.4981 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.000472/0.1954, allocations: 0.667 MB / 0.5917 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1955, allocations: 27.92 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1955, allocations: 0 / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.111e-05/0.1955, allocations: 8 kB / 0.5917 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.1958, allocations: 17.67 kB / 0.5918 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004733/0.1963, allocations: 197.7 kB / 0.592 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.1965, allocations: 0.6807 MB / 0.5926 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.448e-05/0.1965, allocations: 8 kB / 0.5926 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.1966, allocations: 15.42 kB / 0.5926 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1966, allocations: 3.938 kB / 0.5926 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.2163, allocations: 2.143 MB / 0.5947 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.625/7.841, allocations: 16.58 kB / 0.5948 GB, free: 9.457 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)