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.001181/0.001181, allocations: 108 kB / 15.61 MB, free: 152 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.001449/0.001449, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.98/0.98, allocations: 135.1 MB / 425.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 65.14 kB / 0.5055 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1794, allocations: 80.93 MB / 0.5845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003097/0.1825, allocations: 1.339 MB / 0.5858 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1844, allocations: 1.066 MB / 0.5869 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.087e-05/0.1845, allocations: 0 / 0.5869 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.1846, allocations: 3.938 kB / 0.5869 GB, free: 1.965 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.1846, allocations: 7.922 kB / 0.5869 GB, free: 1.957 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009427/0.1856, allocations: 207.3 kB / 0.5871 GB, free: 1.754 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.126e-05/0.1857, allocations: 39.8 kB / 0.5871 GB, free: 1.715 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.505e-05/0.1857, allocations: 7.984 kB / 0.5871 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.121e-05/0.1858, allocations: 11.94 kB / 0.5871 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.358e-05/0.1859, allocations: 11.98 kB / 0.5872 GB, free: 1.684 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1859, allocations: 4 kB / 0.5872 GB, free: 1.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000696/0.1866, allocations: 423.4 kB / 0.5876 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.1867, allocations: 3.984 kB / 0.5876 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.1867, allocations: 11.94 kB / 0.5876 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.1871, allocations: 187.9 kB / 0.5878 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1871, allocations: 4 kB / 0.5878 GB, free: 1.062 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.1871, allocations: 0 / 0.5878 GB, free: 1.062 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1871, allocations: 3.938 kB / 0.5878 GB, free: 1.059 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.0005689/0.1877, allocations: 387.2 kB / 0.5881 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.1878, allocations: 15.95 kB / 0.5882 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.353e-05/0.1878, allocations: 34.75 kB / 0.5882 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.1879, allocations: 4.938 kB / 0.5882 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.188, allocations: 168.3 kB / 0.5884 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.188, allocations: 4.375 kB / 0.5884 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.1881, allocations: 7.938 kB / 0.5884 GB, free: 364 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.1882, allocations: 37.67 kB / 0.5884 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1882, allocations: 0 / 0.5884 GB, free: 320 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1882, allocations: 4 kB / 0.5884 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1882, allocations: 4 kB / 0.5884 GB, free: 312 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.02e-05/0.1883, allocations: 15.92 kB / 0.5884 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.1885, allocations: 157.7 kB / 0.5886 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.828e-05/0.1886, allocations: 50.44 kB / 0.5886 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.1886, allocations: 12.89 kB / 0.5886 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009852/0.1896, allocations: 0.9856 MB / 0.5896 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.1896, allocations: 30.56 kB / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.1896, allocations: 0 / 0.5896 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001879/0.1898, allocations: 61.62 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.1899, allocations: 51.41 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.606e-05/0.19, allocations: 117.8 kB / 0.5898 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.19, allocations: 25.7 kB / 0.5899 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.19, allocations: 84.14 kB / 0.5899 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1901, allocations: 11.75 kB / 0.59 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1901, allocations: 21.7 kB / 0.59 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1903, allocations: 314.8 kB / 0.5903 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.663e-05/0.1903, allocations: 8 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.906e-05/0.1903, allocations: 11.98 kB / 0.5903 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.1904, allocations: 20.86 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1904, allocations: 0 / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.344e-05/0.1905, allocations: 57.56 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1905, allocations: 8 kB / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.1905, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1905, allocations: 0 / 0.5904 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.1907, allocations: 12 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1907, allocations: 0 / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.1907, allocations: 7.844 kB / 0.5904 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1907, allocations: 3.984 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 0.0001023/0.1908, allocations: 121.8 kB / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.1908, allocations: 0 / 0.5905 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001598/0.191, allocations: 61.86 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.191, allocations: 4 kB / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.191, allocations: 0 / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.191, allocations: 48 / 0.5906 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.1912, allocations: 169.6 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1912, allocations: 0 / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.683e-05/0.1913, allocations: 12 kB / 0.5908 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1913, allocations: 4 kB / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1913, allocations: 0 / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1913, allocations: 0 / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.1913, allocations: 3.984 kB / 0.5908 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.1915, allocations: 84.91 kB / 0.5908 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.707e-05/0.1915, allocations: 81.11 kB / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1915, allocations: 0 / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.265e-05/0.1916, allocations: 0 / 0.5909 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.1916, allocations: 7.938 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.1916, allocations: 4 kB / 0.5909 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.27e-05/0.1917, allocations: 87.27 kB / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1917, allocations: 0 / 0.591 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002669/0.1919, allocations: 36 kB / 0.5911 GB, free: 13.13 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.0005344/0.1925, allocations: 0.6709 MB / 0.5917 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1926, allocations: 19.92 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1926, allocations: 0 / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.237e-05/0.1926, allocations: 12 kB / 0.5917 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1929, allocations: 11.98 kB / 0.5918 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.1934, allocations: 213.7 kB / 0.592 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1937, allocations: 0.6806 MB / 0.5926 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.1937, allocations: 7.125 kB / 0.5926 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.1937, allocations: 19.42 kB / 0.5926 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1937, allocations: 0 / 0.5926 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.2152, allocations: 2.139 MB / 0.5947 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.704/7.919, allocations: 17.56 kB / 0.5947 GB, free: 9.461 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/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)