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.0009418/0.0009419, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001014/0.001014, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.527/1.527, allocations: 205.4 MB / 222.1 MB, free: 5.773 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.793/1.793, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005685/0.0005685, allocations: 17.94 kB / 0.6736 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2948, allocations: 116.3 MB / 0.7872 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001881/0.2968, allocations: 1.06 MB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.2986, allocations: 1.016 MB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.2987, allocations: 0 / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.128e-05/0.2987, allocations: 3.984 kB / 0.7892 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.436e-05/0.2988, allocations: 7.984 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007387/0.2995, allocations: 143.5 kB / 0.7893 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.478e-05/0.2996, allocations: 23.91 kB / 0.7894 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.3e-05/0.2997, allocations: 4 kB / 0.7894 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.418e-05/0.2998, allocations: 11.98 kB / 0.7894 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.623e-05/0.2998, allocations: 15.92 kB / 0.7894 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.2999, allocations: 7.938 kB / 0.7894 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006514/0.3005, allocations: 391.5 kB / 0.7898 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.3006, allocations: 7.938 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.3006, allocations: 33.69 kB / 0.7898 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.3009, allocations: 136 kB / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3009, allocations: 0 / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3009, allocations: 0 / 0.79 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.3009, allocations: 0 / 0.79 GB, free: 9.039 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.000506/0.3015, allocations: 375.2 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3015, allocations: 12.03 kB / 0.7903 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.3016, allocations: 7.906 kB / 0.7903 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.3017, allocations: 167 kB / 0.7905 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3017, allocations: 4 kB / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.3017, allocations: 0 / 0.7905 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.3019, allocations: 41.62 kB / 0.7905 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3019, allocations: 0 / 0.7905 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.3019, allocations: 4 kB / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.3019, allocations: 0 / 0.7905 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.568e-05/0.302, allocations: 11.98 kB / 0.7905 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.3022, allocations: 165.6 kB / 0.7907 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.874e-05/0.3023, allocations: 46.53 kB / 0.7907 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009872/0.3033, allocations: 0.9896 MB / 0.7917 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3033, allocations: 38.56 kB / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.3034, allocations: 0 / 0.7918 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001948/0.3036, allocations: 53.69 kB / 0.7918 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.3036, allocations: 51.41 kB / 0.7919 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.466e-05/0.3037, allocations: 105.8 kB / 0.792 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.682e-05/0.3037, allocations: 33.7 kB / 0.792 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.3038, allocations: 84.14 kB / 0.7921 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3038, allocations: 11.81 kB / 0.7921 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-06/0.3038, allocations: 3.938 kB / 0.7921 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3039, allocations: 314.8 kB / 0.7924 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.912e-05/0.304, allocations: 11.94 kB / 0.7924 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.304, allocations: 8 kB / 0.7924 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.304, allocations: 7.953 kB / 0.7924 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.304, allocations: 0 / 0.7924 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.879e-05/0.3041, allocations: 57.59 kB / 0.7925 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.3041, allocations: 4 kB / 0.7925 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3041, allocations: 0 / 0.7925 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.3042, allocations: 0 / 0.7925 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.3043, allocations: 19.98 kB / 0.7925 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3043, allocations: 0 / 0.7925 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.583e-05/0.3043, allocations: 7.875 kB / 0.7925 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3044, allocations: 4 kB / 0.7925 GB, free: 5.996 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.091e-05/0.3044, allocations: 113.7 kB / 0.7926 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.3045, allocations: 8 kB / 0.7926 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.3046, allocations: 64.11 kB / 0.7927 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.3046, allocations: 0 / 0.7927 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3046, allocations: 0 / 0.7927 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3046, allocations: 0 / 0.7927 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.3048, allocations: 157.7 kB / 0.7928 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3048, allocations: 3.953 kB / 0.7928 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.708e-05/0.3049, allocations: 19.98 kB / 0.7928 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3049, allocations: 0 / 0.7928 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.3049, allocations: 0 / 0.7928 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3049, allocations: 4 kB / 0.7929 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3049, allocations: 0 / 0.7929 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.305, allocations: 76.97 kB / 0.7929 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.714e-05/0.3051, allocations: 85.06 kB / 0.793 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.3051, allocations: 4 kB / 0.793 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.182e-05/0.3051, allocations: 0 / 0.793 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.95e-05/0.3051, allocations: 8.406 kB / 0.793 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.3052, allocations: 0 / 0.793 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.066e-05/0.3052, allocations: 83.28 kB / 0.7931 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.3052, allocations: 0 / 0.7931 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002462/0.3055, allocations: 43.98 kB / 0.7931 GB, free: 5.23 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 (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.0002719/0.3057, allocations: 155.1 kB / 0.7933 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.3059, allocations: 23.92 kB / 0.7933 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3059, allocations: 0 / 0.7933 GB, free: 5.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.191e-05/0.3059, allocations: 11.98 kB / 0.7933 GB, free: 5.035 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.3061, allocations: 12 kB / 0.7933 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003401/0.3064, allocations: 166.4 kB / 0.7935 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.3067, allocations: 0.6809 MB / 0.7942 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.149e-05/0.3067, allocations: 11.98 kB / 0.7942 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.419e-05/0.3068, allocations: 11.44 kB / 0.7942 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.3068, allocations: 0 / 0.7942 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of Templates: time 0.003746/0.3105, allocations: 1.079 MB / 0.7952 GB, free: 3.078 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: