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.001294/0.001294, allocations: 104.3 kB / 16.36 MB, free: 5.949 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.001285/0.001285, allocations: 195.3 kB / 17.3 MB, free: 5.562 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.351/1.351, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.759/1.759, allocations: 292.3 MB / 0.5496 GB, free: 17.58 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.00144/0.00144, allocations: 67.91 kB / 0.673 GB, free: 5.746 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2286, allocations: 114.5 MB / 0.7848 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002474/0.2311, allocations: 1.359 MB / 0.7862 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001534/0.2327, allocations: 1.108 MB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.2327, allocations: 0 / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.2328, allocations: 7.922 kB / 0.7873 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.2328, allocations: 7.922 kB / 0.7873 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005823/0.2334, allocations: 207.3 kB / 0.7875 GB, free: 388 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.444e-05/0.2335, allocations: 35.8 kB / 0.7875 GB, free: 352 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.581e-05/0.2335, allocations: 3.984 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.514e-05/0.2336, allocations: 11.94 kB / 0.7875 GB, free: 336 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.2337, allocations: 15.92 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.2337, allocations: 0 / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4289/0.6625, allocations: 421.5 kB / 0.7879 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.635e-05/0.6626, allocations: 9.547 kB / 0.7879 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.6627, allocations: 8.344 kB / 0.7879 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004769/0.6632, allocations: 197.8 kB / 0.7881 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6632, allocations: 0.9688 kB / 0.7881 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.835e-06/0.6632, allocations: 0 / 0.7881 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.6632, allocations: 1.031 kB / 0.7881 GB, free: 46.71 MB / 0.6544 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.0004401/0.6636, allocations: 381.7 kB / 0.7885 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6637, allocations: 14.19 kB / 0.7885 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.725e-05/0.6637, allocations: 9.281 kB / 0.7885 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.768e-05/0.6638, allocations: 167 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.6638, allocations: 3.031 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.6639, allocations: 4.312 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.898e-05/0.664, allocations: 35.7 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.664, allocations: 7.188 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.664, allocations: 2.156 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.664, allocations: 1 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.693e-05/0.6641, allocations: 16.02 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001421/0.6642, allocations: 161.6 kB / 0.7889 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 8.666e-05/0.6643, allocations: 43.62 kB / 0.7889 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.6643, allocations: 20.98 kB / 0.789 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007083/0.6651, allocations: 0.9814 MB / 0.7899 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.6651, allocations: 39.91 kB / 0.79 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.6651, allocations: 4.562 kB / 0.79 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.6653, allocations: 59.25 kB / 0.79 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.6653, allocations: 51.41 kB / 0.7901 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.104e-05/0.6653, allocations: 105.5 kB / 0.7902 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.6654, allocations: 30.23 kB / 0.7902 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.6654, allocations: 85.2 kB / 0.7903 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.6654, allocations: 19.17 kB / 0.7903 GB, free: 44.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.6655, allocations: 16.16 kB / 0.7903 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.783e-05/0.6655, allocations: 318.3 kB / 0.7906 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.941e-05/0.6655, allocations: 7 kB / 0.7906 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.459e-05/0.6656, allocations: 3.156 kB / 0.7906 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.179e-05/0.6656, allocations: 24.67 kB / 0.7907 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6656, allocations: 2.781 kB / 0.7907 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.986e-05/0.6657, allocations: 49.94 kB / 0.7907 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.6657, allocations: 7.375 kB / 0.7907 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.6657, allocations: 1.906 kB / 0.7907 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.6657, allocations: 2.625 kB / 0.7907 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.6658, allocations: 16.67 kB / 0.7907 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.6659, allocations: 0 / 0.7907 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.371e-05/0.6659, allocations: 2.625 kB / 0.7907 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.6659, allocations: 4.219 kB / 0.7907 GB, free: 44.03 MB / 0.6544 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 4.805e-05/0.666, allocations: 109 kB / 0.7908 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.2e-05/0.666, allocations: 12.28 kB / 0.7909 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.6661, allocations: 62.31 kB / 0.7909 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6661, allocations: 1.875 kB / 0.7909 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6661, allocations: 0 / 0.7909 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6661, allocations: 0.5 kB / 0.7909 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.723e-05/0.6662, allocations: 166.1 kB / 0.7911 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.6662, allocations: 2 kB / 0.7911 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.074e-05/0.6663, allocations: 15.66 kB / 0.7911 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6663, allocations: 3.938 kB / 0.7911 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.6663, allocations: 3.719 kB / 0.7911 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6663, allocations: 3.094 kB / 0.7911 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6663, allocations: 3.156 kB / 0.7911 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.049e-05/0.6664, allocations: 76.88 kB / 0.7912 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.6664, allocations: 81.02 kB / 0.7913 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.6664, allocations: 9.812 kB / 0.7913 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.268e-05/0.6665, allocations: 1.062 kB / 0.7913 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.6665, allocations: 5.766 kB / 0.7913 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.6665, allocations: 0.5625 kB / 0.7913 GB, free: 43.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.515e-05/0.6665, allocations: 85.47 kB / 0.7913 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6665, allocations: 2.844 kB / 0.7914 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000235/0.6668, allocations: 40.61 kB / 0.7914 GB, free: 43.44 MB / 0.6544 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.0002151/0.667, allocations: 152 kB / 0.7915 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.24e-05/0.6671, allocations: 20.81 kB / 0.7916 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.6671, allocations: 0.6562 kB / 0.7916 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.6671, allocations: 15.33 kB / 0.7916 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.6674, allocations: 6.906 kB / 0.7916 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002889/0.6677, allocations: 151.7 kB / 0.7917 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.6678, allocations: 0.6782 MB / 0.7924 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.6678, allocations: 6.703 kB / 0.7924 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.6679, allocations: 10.16 kB / 0.7924 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.6679, allocations: 0 / 0.7924 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of Templates: time 0.0032/0.6711, allocations: 1.136 MB / 0.7935 GB, free: 42.5 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)