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.00117/0.00117, allocations: 104 kB / 16.36 MB, free: 6.301 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.001103/0.001104, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.597/1.597, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.892/1.892, allocations: 292.3 MB / 0.5496 GB, free: 17.53 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.001536/0.001536, allocations: 67.91 kB / 0.673 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2955, allocations: 114.6 MB / 0.7848 GB, free: 3.105 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002715/0.2983, allocations: 1.361 MB / 0.7862 GB, free: 1.73 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.3001, allocations: 1.104 MB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.793e-05/0.3001, allocations: 0 / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.318e-05/0.3001, allocations: 3.938 kB / 0.7873 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.3002, allocations: 15.92 kB / 0.7873 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.3008, allocations: 208.5 kB / 0.7875 GB, free: 404 kB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.3009, allocations: 31.8 kB / 0.7875 GB, free: 372 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.301, allocations: 7.938 kB / 0.7875 GB, free: 364 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.301, allocations: 15.97 kB / 0.7875 GB, free: 348 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.921e-05/0.3011, allocations: 19.92 kB / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.19e-05/0.3011, allocations: 0 / 0.7875 GB, free: 328 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5289/0.8301, allocations: 422.3 kB / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.9e-05/0.8302, allocations: 5.75 kB / 0.7879 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.391e-05/0.8303, allocations: 16.09 kB / 0.788 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006732/0.831, allocations: 192.7 kB / 0.7881 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.831, allocations: 0 / 0.7881 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.517e-06/0.831, allocations: 0 / 0.7881 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.831, allocations: 0 / 0.7881 GB, free: 46.74 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.0006316/0.8316, allocations: 383 kB / 0.7885 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.8317, allocations: 8.281 kB / 0.7885 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.8318, allocations: 11.44 kB / 0.7885 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/0.8319, allocations: 168.3 kB / 0.7887 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.832, allocations: 384 / 0.7887 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.832, allocations: 2.812 kB / 0.7887 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.8321, allocations: 40.53 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.8322, allocations: 3.938 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.8322, allocations: 6.062 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.8322, allocations: 1.5 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.841e-05/0.8323, allocations: 9.438 kB / 0.7887 GB, free: 46.14 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002149/0.8325, allocations: 164.6 kB / 0.7889 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.8326, allocations: 45.06 kB / 0.7889 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.8327, allocations: 14.31 kB / 0.789 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.8337, allocations: 0.9829 MB / 0.7899 GB, free: 44.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.8337, allocations: 36.34 kB / 0.79 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.8338, allocations: 0 / 0.79 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0002531/0.834, allocations: 62.39 kB / 0.79 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.8341, allocations: 54.88 kB / 0.7901 GB, free: 44.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.8342, allocations: 103 kB / 0.7902 GB, free: 44.56 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.8342, allocations: 28.89 kB / 0.7902 GB, free: 44.53 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.838e-05/0.8342, allocations: 86.61 kB / 0.7903 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.234e-05/0.8343, allocations: 14.33 kB / 0.7903 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.8343, allocations: 22.69 kB / 0.7903 GB, free: 44.42 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.8345, allocations: 318.2 kB / 0.7906 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.8345, allocations: 8.469 kB / 0.7906 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.8345, allocations: 5.25 kB / 0.7906 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.991e-05/0.8346, allocations: 22.08 kB / 0.7907 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.8346, allocations: 1 kB / 0.7907 GB, free: 44.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.205e-05/0.8347, allocations: 54.67 kB / 0.7907 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.8347, allocations: 9.188 kB / 0.7907 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.8347, allocations: 0.75 kB / 0.7907 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.8348, allocations: 0 / 0.7907 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.8349, allocations: 16.27 kB / 0.7907 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.8349, allocations: 2.625 kB / 0.7907 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.835, allocations: 2.688 kB / 0.7907 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.835, allocations: 0 / 0.7907 GB, free: 44.06 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.585e-05/0.8351, allocations: 110.5 kB / 0.7908 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.8351, allocations: 11.41 kB / 0.7909 GB, free: 43.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.8353, allocations: 64.03 kB / 0.7909 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.8353, allocations: 2.875 kB / 0.7909 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.8353, allocations: 0 / 0.7909 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.8353, allocations: 7.219 kB / 0.7909 GB, free: 43.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.8354, allocations: 158.5 kB / 0.7911 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8354, allocations: 0 / 0.7911 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.8355, allocations: 19.23 kB / 0.7911 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.8355, allocations: 3.938 kB / 0.7911 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.8356, allocations: 0.5 kB / 0.7911 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.8356, allocations: 2.625 kB / 0.7911 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.8356, allocations: 1.844 kB / 0.7911 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.8357, allocations: 75.33 kB / 0.7912 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.103e-05/0.8357, allocations: 88.34 kB / 0.7913 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.8358, allocations: 3.938 kB / 0.7913 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.164e-05/0.8358, allocations: 1.969 kB / 0.7913 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.8358, allocations: 2.625 kB / 0.7913 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.8358, allocations: 2.25 kB / 0.7913 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.8359, allocations: 84.12 kB / 0.7913 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8359, allocations: 1.281 kB / 0.7913 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002842/0.8362, allocations: 41.23 kB / 0.7914 GB, free: 43.46 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.8365, allocations: 150.6 kB / 0.7915 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001539/0.8367, allocations: 20.52 kB / 0.7915 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.8367, allocations: 0.9375 kB / 0.7916 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.66e-05/0.8367, allocations: 13.84 kB / 0.7916 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.8371, allocations: 11.75 kB / 0.7916 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.8376, allocations: 178.2 kB / 0.7917 GB, free: 43.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.8379, allocations: 0.6805 MB / 0.7924 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.019e-05/0.8379, allocations: 10.41 kB / 0.7924 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.8379, allocations: 0 / 0.7924 GB, free: 42.53 MB / 0.6544 GB Notification: Performance of Templates: time 0.003219/0.8411, allocations: 1.042 MB / 0.7934 GB, free: 42.48 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)