Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001125/0.001125, allocations: 109.4 kB / 15.69 MB, free: 128 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.001177/0.001177, allocations: 185.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.764/1.764, allocations: 292.3 MB / 0.5489 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 74.8 kB / 0.6723 GB, free: 26.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3014, allocations: 114.5 MB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00279/0.3042, allocations: 1.364 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.3059, allocations: 1.113 MB / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.04e-05/0.306, allocations: 0 / 0.7866 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.306, allocations: 3.938 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.583e-05/0.3061, allocations: 3.938 kB / 0.7866 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.3067, allocations: 211.2 kB / 0.7868 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.257e-05/0.3068, allocations: 35.8 kB / 0.7868 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.3069, allocations: 3.984 kB / 0.7868 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.097e-05/0.3069, allocations: 15.98 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.307, allocations: 15.92 kB / 0.7869 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.307, allocations: 4 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.3076, allocations: 419.5 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.347e-05/0.3077, allocations: 3.938 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.3077, allocations: 15.92 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/0.308, allocations: 199.6 kB / 0.7875 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.308, allocations: 3.938 kB / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.308, allocations: 0 / 0.7875 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.308, allocations: 0 / 0.7875 GB, free: 9.25 MB / 0.6075 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.0004842/0.3085, allocations: 383.3 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.3086, allocations: 8.031 kB / 0.7879 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.3086, allocations: 4.844 kB / 0.7879 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.3087, allocations: 168.4 kB / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.3088, allocations: 384 / 0.788 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.3088, allocations: 8.375 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.3089, allocations: 42 kB / 0.7881 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3089, allocations: 3.938 kB / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.966e-06/0.3089, allocations: 0 / 0.7881 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.3089, allocations: 4 kB / 0.7881 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.309, allocations: 19.88 kB / 0.7881 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.3092, allocations: 153.7 kB / 0.7882 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.354e-05/0.3093, allocations: 38.61 kB / 0.7883 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/0.3093, allocations: 20.89 kB / 0.7883 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008952/0.3102, allocations: 0.9895 MB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.3103, allocations: 34.5 kB / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3103, allocations: 0 / 0.7893 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001826/0.3104, allocations: 61.53 kB / 0.7894 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3105, allocations: 55.41 kB / 0.7894 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.24e-05/0.3106, allocations: 105.8 kB / 0.7895 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.378e-05/0.3106, allocations: 25.7 kB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.3106, allocations: 84.14 kB / 0.7896 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.3107, allocations: 19.75 kB / 0.7896 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.32e-05/0.3107, allocations: 13.72 kB / 0.7897 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3108, allocations: 322.8 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.986e-05/0.3109, allocations: 4 kB / 0.79 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.3109, allocations: 4 kB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.3109, allocations: 20.86 kB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3109, allocations: 0 / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.424e-05/0.311, allocations: 53.62 kB / 0.79 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.311, allocations: 8.875 kB / 0.79 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.311, allocations: 8.328 kB / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.3111, allocations: 0 / 0.7901 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3112, allocations: 15.98 kB / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3112, allocations: 0 / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.3112, allocations: 0 / 0.7901 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3112, allocations: 320 / 0.7901 GB, free: 6.16 MB / 0.6075 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.049e-05/0.3113, allocations: 112.7 kB / 0.7902 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.316e-05/0.3113, allocations: 11.83 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.3115, allocations: 69.52 kB / 0.7903 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3115, allocations: 4 kB / 0.7903 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3115, allocations: 4 kB / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3115, allocations: 0 / 0.7903 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.3116, allocations: 157.7 kB / 0.7904 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3116, allocations: 8 kB / 0.7904 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.3117, allocations: 15.92 kB / 0.7904 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3117, allocations: 7.938 kB / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.3117, allocations: 0 / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3117, allocations: 0 / 0.7904 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3117, allocations: 3.938 kB / 0.7904 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.3118, allocations: 81.06 kB / 0.7905 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.275e-05/0.3119, allocations: 88.95 kB / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3119, allocations: 0 / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.06e-05/0.3119, allocations: 0 / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.312, allocations: 3.984 kB / 0.7906 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.312, allocations: 4 kB / 0.7906 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.977e-05/0.312, allocations: 87.27 kB / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.312, allocations: 0 / 0.7907 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002334/0.3123, allocations: 47.92 kB / 0.7907 GB, free: 5.359 MB / 0.6075 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.0002644/0.3125, allocations: 151.2 kB / 0.7909 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3127, allocations: 19.98 kB / 0.7909 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3127, allocations: 0 / 0.7909 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.281e-05/0.3127, allocations: 15.94 kB / 0.7909 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.313, allocations: 4 kB / 0.7909 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.3133, allocations: 148.2 kB / 0.7911 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002518/0.3136, allocations: 0.6807 MB / 0.7917 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3136, allocations: 4 kB / 0.7917 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.263e-05/0.3137, allocations: 15.44 kB / 0.7918 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.3137, allocations: 0 / 0.7918 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of Templates: time 0.003806/0.3175, allocations: 1.132 MB / 0.7929 GB, free: 3.184 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)