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.001004/0.001004, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001205/0.001205, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.009/1.009, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000356/0.0003561, allocations: 12 kB / 0.5071 GB, free: 4.961 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 82.32 MB / 0.5875 GB, free: 2.812 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001386/0.1848, allocations: 1.066 MB / 0.5886 GB, free: 1.73 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.1862, allocations: 0.9794 MB / 0.5895 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.1863, allocations: 0 / 0.5895 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.1863, allocations: 3.984 kB / 0.5895 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.1864, allocations: 7.938 kB / 0.5895 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.1868, allocations: 151.6 kB / 0.5897 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.5e-05/0.1869, allocations: 27.86 kB / 0.5897 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.1869, allocations: 0 / 0.5897 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.474e-05/0.187, allocations: 19.92 kB / 0.5897 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.035e-05/0.1871, allocations: 7.938 kB / 0.5897 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1871, allocations: 0 / 0.5897 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000537/0.1876, allocations: 407.5 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.1876, allocations: 8 kB / 0.5901 GB, free: 128 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.1877, allocations: 29.64 kB / 0.5902 GB, free: 92 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002079/0.1879, allocations: 136 kB / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1879, allocations: 0 / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1879, allocations: 0 / 0.5903 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.1879, allocations: 0 / 0.5903 GB, free: 15.96 MB / 0.4981 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.0004251/0.1883, allocations: 379.2 kB / 0.5907 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1884, allocations: 8.031 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1884, allocations: 34.56 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.1885, allocations: 7.891 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1886, allocations: 174.9 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.1886, allocations: 4 kB / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.1886, allocations: 0 / 0.5909 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1887, allocations: 41.69 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1888, allocations: 3.938 kB / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.1888, allocations: 0 / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1888, allocations: 0 / 0.5909 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.571e-05/0.1888, allocations: 12 kB / 0.5909 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000168/0.189, allocations: 165.7 kB / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.745e-05/0.1891, allocations: 38.61 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.1891, allocations: 16.89 kB / 0.5911 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/0.1902, allocations: 0.9856 MB / 0.5921 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1902, allocations: 38.5 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.965e-06/0.1902, allocations: 3.984 kB / 0.5921 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.1904, allocations: 57.59 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.1904, allocations: 51.41 kB / 0.5922 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.019e-05/0.1905, allocations: 105.8 kB / 0.5924 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.1905, allocations: 25.7 kB / 0.5924 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.831e-05/0.1906, allocations: 88.14 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1906, allocations: 7.906 kB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.1906, allocations: 4 kB / 0.5925 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1908, allocations: 318.8 kB / 0.5928 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.1908, allocations: 4 kB / 0.5928 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.623e-05/0.1908, allocations: 8 kB / 0.5928 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.885e-05/0.1908, allocations: 11.94 kB / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1909, allocations: 0 / 0.5928 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.86e-05/0.1909, allocations: 49.59 kB / 0.5928 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.191, allocations: 11.94 kB / 0.5929 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.191, allocations: 4 kB / 0.5929 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.191, allocations: 0 / 0.5929 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.1911, allocations: 15.98 kB / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1911, allocations: 0 / 0.5929 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.325e-05/0.1911, allocations: 3.938 kB / 0.5929 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.1912, allocations: 8 kB / 0.5929 GB, free: 12.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.681e-05/0.1912, allocations: 109.8 kB / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.1913, allocations: 0 / 0.593 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.1914, allocations: 69.44 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1914, allocations: 7.984 kB / 0.5931 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1914, allocations: 0 / 0.5931 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1914, allocations: 0 / 0.5931 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.1916, allocations: 161.6 kB / 0.5932 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1916, allocations: 0 / 0.5932 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.121e-05/0.1916, allocations: 19.92 kB / 0.5932 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1916, allocations: 0 / 0.5932 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.1917, allocations: 0 / 0.5932 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1917, allocations: 0 / 0.5932 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1917, allocations: 0 / 0.5932 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1918, allocations: 81.06 kB / 0.5933 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.1918, allocations: 88.97 kB / 0.5934 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.1918, allocations: 0 / 0.5934 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.786e-05/0.1919, allocations: 4 kB / 0.5934 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.1919, allocations: 0 / 0.5934 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.1919, allocations: 4 kB / 0.5934 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.192, allocations: 83.27 kB / 0.5935 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.192, allocations: 4 kB / 0.5935 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002296/0.1922, allocations: 43.98 kB / 0.5935 GB, free: 12.08 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 (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.0005345/0.1927, allocations: 0.6674 MB / 0.5942 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.919e-05/0.1928, allocations: 20.03 kB / 0.5942 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1928, allocations: 0 / 0.5942 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.1929, allocations: 15.98 kB / 0.5942 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.1931, allocations: 11.94 kB / 0.5942 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.1935, allocations: 208.1 kB / 0.5944 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1938, allocations: 0.6848 MB / 0.5951 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.1938, allocations: 4 kB / 0.5951 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.523e-05/0.1939, allocations: 11.44 kB / 0.5951 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1939, allocations: 4 kB / 0.5951 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01221/0.2061, allocations: 1.937 MB / 0.597 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/0.2063, allocations: 273 kB / 0.5973 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/1.995, allocations: 0 / 0.5973 GB, free: 8.332 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 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) Environment - environmentSimulation: