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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 87.03 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.001456/0.001457, 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00173/0.00173, allocations: 267 kB / 291.3 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9707/0.9707, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 18.19 kB / 0.5981 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1861, allocations: 88.54 MB / 0.6845 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001392/0.1875, allocations: 1.067 MB / 0.6856 GB, free: 14.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1891, allocations: 0.9989 MB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.1891, allocations: 0 / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1891, allocations: 3.938 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.39e-05/0.1892, allocations: 4.547 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004449/0.1896, allocations: 150.3 kB / 0.6867 GB, free: 13.15 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.1897, allocations: 31.84 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.668e-05/0.1898, allocations: 9.781 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.023e-05/0.1898, allocations: 11.94 kB / 0.6868 GB, free: 13.1 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.902e-05/0.1899, allocations: 15.92 kB / 0.6868 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.1899, allocations: 0 / 0.6868 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.1905, allocations: 422.3 kB / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.1905, allocations: 0 / 0.6872 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.1905, allocations: 29.7 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.1907, allocations: 127.8 kB / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1907, allocations: 0 / 0.6873 GB, free: 12.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1907, allocations: 4 kB / 0.6873 GB, free: 12.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1907, allocations: 0 / 0.6873 GB, free: 12.51 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.0003826/0.1911, allocations: 384.6 kB / 0.6877 GB, free: 12.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.1912, allocations: 8.031 kB / 0.6877 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.1912, allocations: 7.953 kB / 0.6877 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1913, allocations: 168.8 kB / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.1913, allocations: 3.938 kB / 0.6879 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1913, allocations: 4 kB / 0.6879 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.784e-05/0.1914, allocations: 37.69 kB / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.1914, allocations: 0.75 kB / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1915, allocations: 3.984 kB / 0.6879 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1915, allocations: 6.469 kB / 0.6879 GB, free: 11.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.7e-05/0.1915, allocations: 19.94 kB / 0.6879 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001538/0.1917, allocations: 153.7 kB / 0.6881 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.723e-05/0.1918, allocations: 46.44 kB / 0.6881 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.1918, allocations: 18.95 kB / 0.6881 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008502/0.1927, allocations: 0.984 MB / 0.6891 GB, free: 10.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1927, allocations: 31.94 kB / 0.6891 GB, free: 10.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1927, allocations: 0 / 0.6891 GB, free: 10.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001441/0.1928, allocations: 54.56 kB / 0.6892 GB, free: 10.22 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1929, allocations: 55.41 kB / 0.6892 GB, free: 10.15 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.1929, allocations: 110.5 kB / 0.6894 GB, free: 10.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.193, allocations: 27.02 kB / 0.6894 GB, free: 10 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.193, allocations: 88.08 kB / 0.6895 GB, free: 9.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.193, allocations: 19.73 kB / 0.6895 GB, free: 9.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.193, allocations: 4.688 kB / 0.6895 GB, free: 9.891 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1932, allocations: 322.8 kB / 0.6898 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.1932, allocations: 8 kB / 0.6898 GB, free: 9.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.1932, allocations: 4 kB / 0.6898 GB, free: 9.555 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.429e-05/0.1932, allocations: 7.984 kB / 0.6898 GB, free: 9.547 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1932, allocations: 0 / 0.6898 GB, free: 9.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.295e-05/0.1933, allocations: 45.7 kB / 0.6899 GB, free: 9.496 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1933, allocations: 4 kB / 0.6899 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1934, allocations: 3.984 kB / 0.6899 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.1934, allocations: 0 / 0.6899 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.1935, allocations: 16 kB / 0.6899 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.1935, allocations: 4 kB / 0.6899 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.1935, allocations: 0 / 0.6899 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.1935, allocations: 7.938 kB / 0.6899 GB, free: 9.461 MB / 494.1 MB 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 6.917e-05/0.1936, allocations: 109.8 kB / 0.69 GB, free: 9.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.1936, allocations: 11.89 kB / 0.69 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.1938, allocations: 59.42 kB / 0.6901 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1938, allocations: 0 / 0.6901 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.1938, allocations: 0 / 0.6901 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1938, allocations: 0 / 0.6901 GB, free: 9.266 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.1939, allocations: 165.6 kB / 0.6902 GB, free: 9.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1939, allocations: 3.984 kB / 0.6902 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.851e-05/0.194, allocations: 16.38 kB / 0.6902 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.194, allocations: 0 / 0.6902 GB, free: 9.035 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.194, allocations: 3.938 kB / 0.6902 GB, free: 9.031 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.194, allocations: 3.938 kB / 0.6902 GB, free: 9.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.194, allocations: 4 kB / 0.6903 GB, free: 9.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.902e-05/0.1941, allocations: 80.97 kB / 0.6903 GB, free: 8.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.1941, allocations: 85.09 kB / 0.6904 GB, free: 8.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.1942, allocations: 4 kB / 0.6904 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.1942, allocations: 4 kB / 0.6904 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.1942, allocations: 4 kB / 0.6904 GB, free: 8.812 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-06/0.1942, allocations: 0 / 0.6904 GB, free: 8.812 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.35e-05/0.1943, allocations: 83.27 kB / 0.6905 GB, free: 8.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1943, allocations: 0 / 0.6905 GB, free: 8.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.1945, allocations: 43.94 kB / 0.6905 GB, free: 8.688 MB / 494.1 MB 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.0002181/0.1947, allocations: 152 kB / 0.6907 GB, free: 8.531 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.1948, allocations: 27.92 kB / 0.6907 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1948, allocations: 0 / 0.6907 GB, free: 8.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.935e-05/0.1948, allocations: 8 kB / 0.6907 GB, free: 8.496 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001848/0.195, allocations: 11.89 kB / 0.6907 GB, free: 8.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002595/0.1953, allocations: 174.4 kB / 0.6909 GB, free: 8.289 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.1955, allocations: 0.6809 MB / 0.6916 GB, free: 7.582 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.19e-05/0.1955, allocations: 3.984 kB / 0.6916 GB, free: 7.578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.1955, allocations: 11.44 kB / 0.6916 GB, free: 7.566 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1956, allocations: 0 / 0.6916 GB, free: 7.566 MB / 494.1 MB Notification: Performance of Templates: time 0.002948/0.1985, allocations: 1.092 MB / 0.6926 GB, free: 6.535 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)