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.001369/0.001369, allocations: 103.6 kB / 16.29 MB, free: 5.93 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.001105/0.001105, allocations: 186.9 kB / 17.22 MB, free: 5.559 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.486/1.486, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.923/1.923, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001492/0.001492, allocations: 75.89 kB / 0.6723 GB, free: 6.445 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2817, allocations: 114.6 MB / 0.7841 GB, free: 3.777 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00266/0.2844, allocations: 1.361 MB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001774/0.2862, allocations: 1.104 MB / 0.7865 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.773e-05/0.2862, allocations: 0 / 0.7865 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.197e-05/0.2863, allocations: 7.938 kB / 0.7865 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.2863, allocations: 7.938 kB / 0.7865 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.2869, allocations: 211.2 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.287, allocations: 39.78 kB / 0.7868 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.091e-05/0.2871, allocations: 4 kB / 0.7868 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.128e-05/0.2872, allocations: 8 kB / 0.7868 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.163e-05/0.2872, allocations: 19.92 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.2872, allocations: 0 / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006023/0.2879, allocations: 419.5 kB / 0.7872 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.2879, allocations: 7.938 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.2879, allocations: 15.92 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003116/0.2882, allocations: 195.8 kB / 0.7874 GB, free: 380 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2883, allocations: 3.938 kB / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.773e-06/0.2883, allocations: 0 / 0.7874 GB, free: 376 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.2883, allocations: 0 / 0.7874 GB, free: 376 kB / 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.4894/0.7777, allocations: 384.2 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.7778, allocations: 9.719 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.7779, allocations: 10.84 kB / 0.7878 GB, free: 48.89 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.778, allocations: 162.4 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.778, allocations: 3.031 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.778, allocations: 2.125 kB / 0.788 GB, free: 48.69 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.7782, allocations: 38.58 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.7782, allocations: 0 / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.7782, allocations: 6.188 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.7782, allocations: 2.031 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.015e-05/0.7783, allocations: 11.52 kB / 0.788 GB, free: 48.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.7785, allocations: 166.6 kB / 0.7882 GB, free: 48.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7786, allocations: 43.16 kB / 0.7882 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.7786, allocations: 19.75 kB / 0.7883 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007828/0.7794, allocations: 0.9841 MB / 0.7892 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.7795, allocations: 31.59 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.7795, allocations: 2.5 kB / 0.7892 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002069/0.7797, allocations: 59.39 kB / 0.7893 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.7797, allocations: 52.66 kB / 0.7894 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/0.7798, allocations: 108.1 kB / 0.7895 GB, free: 47.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/0.7798, allocations: 29.03 kB / 0.7895 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/0.7799, allocations: 84.91 kB / 0.7896 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-05/0.7799, allocations: 13.95 kB / 0.7896 GB, free: 46.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.78, allocations: 17.69 kB / 0.7896 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.7801, allocations: 318.2 kB / 0.7899 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/0.7801, allocations: 3.375 kB / 0.7899 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.7801, allocations: 6.094 kB / 0.7899 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.7802, allocations: 25.91 kB / 0.7899 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7802, allocations: 0 / 0.7899 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.389e-05/0.7803, allocations: 55.34 kB / 0.79 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7803, allocations: 6.281 kB / 0.79 GB, free: 46.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7803, allocations: 3.938 kB / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.7803, allocations: 0 / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.7805, allocations: 14.92 kB / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.7805, allocations: 0 / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.448e-05/0.7805, allocations: 8 kB / 0.79 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.7805, allocations: 6.781 kB / 0.79 GB, free: 46.58 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 6.161e-05/0.7806, allocations: 110.1 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.7806, allocations: 7.094 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.7808, allocations: 65.41 kB / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.7808, allocations: 2.969 kB / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.7808, allocations: 0.5938 kB / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.7808, allocations: 0.5312 kB / 0.7902 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.7809, allocations: 159.6 kB / 0.7904 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.7809, allocations: 6.875 kB / 0.7904 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.202e-05/0.781, allocations: 18.33 kB / 0.7904 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.781, allocations: 1.969 kB / 0.7904 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.781, allocations: 4.688 kB / 0.7904 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.781, allocations: 0 / 0.7904 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.781, allocations: 0 / 0.7904 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.509e-05/0.7811, allocations: 78.61 kB / 0.7905 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-05/0.7812, allocations: 83.92 kB / 0.7905 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.7812, allocations: 7.062 kB / 0.7905 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.173e-05/0.7812, allocations: 0 / 0.7905 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.7812, allocations: 6.828 kB / 0.7906 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.7813, allocations: 3.828 kB / 0.7906 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.508e-05/0.7813, allocations: 88.42 kB / 0.7906 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7813, allocations: 0.5 kB / 0.7906 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002592/0.7816, allocations: 34.94 kB / 0.7907 GB, free: 45.99 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.0002505/0.7818, allocations: 157.3 kB / 0.7908 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.7819, allocations: 22.81 kB / 0.7908 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.7819, allocations: 0 / 0.7908 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.782, allocations: 11.02 kB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.7822, allocations: 8.328 kB / 0.7909 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.7826, allocations: 148.2 kB / 0.791 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001373/0.7827, allocations: 0.6782 MB / 0.7917 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.048e-05/0.7828, allocations: 11.25 kB / 0.7917 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.7828, allocations: 13.41 kB / 0.7917 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.7828, allocations: 0 / 0.7917 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of Templates: time 0.003392/0.7862, allocations: 1.133 MB / 0.7928 GB, free: 45.06 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 cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)