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.001276/0.001276, allocations: 101.4 kB / 16.27 MB, free: 6.418 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.001389/0.001389, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.51/1.51, 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.791/1.791, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001393/0.001393, allocations: 75.88 kB / 0.6722 GB, free: 6.496 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003205/0.2659, allocations: 1.353 MB / 0.7854 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.2679, allocations: 1.119 MB / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.268, allocations: 0 / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.264e-05/0.268, allocations: 0 / 0.7865 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.2681, allocations: 7.922 kB / 0.7865 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.2689, allocations: 219.2 kB / 0.7867 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.617e-05/0.269, allocations: 35.8 kB / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.2691, allocations: 0 / 0.7867 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.476e-05/0.2692, allocations: 12 kB / 0.7868 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.2692, allocations: 11.92 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.2693, allocations: 4 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005723/0.2698, allocations: 423.4 kB / 0.7872 GB, free: 0.6367 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2699, allocations: 11.94 kB / 0.7872 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.2699, allocations: 11.92 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.2702, allocations: 195.9 kB / 0.7874 GB, free: 432 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2702, allocations: 4 kB / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.194e-06/0.2702, allocations: 0 / 0.7874 GB, free: 428 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.2702, allocations: 0 / 0.7874 GB, free: 428 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.521/0.7912, allocations: 380.6 kB / 0.7878 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.7913, allocations: 8.406 kB / 0.7878 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.869e-05/0.7914, allocations: 8.094 kB / 0.7878 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.7916, allocations: 163.5 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.7916, allocations: 1.75 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.7916, allocations: 2.156 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.7918, allocations: 43.45 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.7918, allocations: 0 / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.7919, allocations: 5.75 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.7919, allocations: 1.625 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.048e-05/0.792, allocations: 21.67 kB / 0.788 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002028/0.7922, allocations: 158.7 kB / 0.7881 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.7924, allocations: 41.14 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.585e-05/0.7925, allocations: 17.16 kB / 0.7882 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.7937, allocations: 0.9872 MB / 0.7892 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.7937, allocations: 35.47 kB / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.174e-06/0.7937, allocations: 0 / 0.7892 GB, free: 47.32 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002539/0.794, allocations: 59.91 kB / 0.7893 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7941, allocations: 55.56 kB / 0.7893 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.7942, allocations: 104.5 kB / 0.7894 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.7942, allocations: 32.61 kB / 0.7894 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.289e-05/0.7942, allocations: 86.09 kB / 0.7895 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.7943, allocations: 20.94 kB / 0.7895 GB, free: 47 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-05/0.7944, allocations: 19.28 kB / 0.7896 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.344e-05/0.7944, allocations: 310.8 kB / 0.7899 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.7945, allocations: 14.58 kB / 0.7899 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.978e-05/0.7945, allocations: 4.969 kB / 0.7899 GB, free: 46.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.64e-05/0.7946, allocations: 21.73 kB / 0.7899 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.7946, allocations: 0 / 0.7899 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001315/0.7948, allocations: 54.97 kB / 0.79 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.7948, allocations: 6.25 kB / 0.79 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.7948, allocations: 3.938 kB / 0.79 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.7949, allocations: 3.375 kB / 0.79 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.7951, allocations: 11.53 kB / 0.79 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.7951, allocations: 2.906 kB / 0.79 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.211e-05/0.7952, allocations: 3.062 kB / 0.79 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.7952, allocations: 3.328 kB / 0.79 GB, free: 46.62 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 9.814e-05/0.7953, allocations: 113.1 kB / 0.7901 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.913e-05/0.7953, allocations: 7.688 kB / 0.7901 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.7955, allocations: 65.77 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.7956, allocations: 3.094 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.7956, allocations: 0.9688 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.7956, allocations: 4.938 kB / 0.7902 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/0.7957, allocations: 153.8 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.7958, allocations: 4.578 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.7959, allocations: 12.28 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.7959, allocations: 3.656 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.7959, allocations: 6.656 kB / 0.7903 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.796, allocations: 5.797 kB / 0.7903 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.796, allocations: 0 / 0.7903 GB, free: 46.28 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.7961, allocations: 77.53 kB / 0.7904 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/0.7962, allocations: 78.73 kB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.7962, allocations: 6.781 kB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.012e-05/0.7963, allocations: 0.5 kB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.223e-05/0.7963, allocations: 4.953 kB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.7963, allocations: 3.562 kB / 0.7905 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.355e-05/0.7964, allocations: 87.31 kB / 0.7906 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7964, allocations: 1.094 kB / 0.7906 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004364/0.7968, allocations: 36.02 kB / 0.7906 GB, free: 46.04 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.0003185/0.7972, allocations: 151.8 kB / 0.7908 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.7973, allocations: 23.91 kB / 0.7908 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.7974, allocations: 3.656 kB / 0.7908 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.7974, allocations: 6.875 kB / 0.7908 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.7978, allocations: 12.17 kB / 0.7908 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004309/0.7983, allocations: 181.7 kB / 0.791 GB, free: 45.81 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001491/0.7984, allocations: 0.6775 MB / 0.7917 GB, free: 45.12 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.7985, allocations: 10.16 kB / 0.7917 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of SimCode: time 5.81e-07/0.7985, allocations: 0.5625 kB / 0.7917 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of Templates: time 0.003937/0.8025, allocations: 1.032 MB / 0.7927 GB, free: 45.07 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)