Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001592/0.001592, allocations: 102.4 kB / 16.27 MB, free: 6.414 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.001209/0.001209, allocations: 189.7 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002537/0.002537, allocations: 292.3 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.196/1.196, allocations: 178.5 MB / 0.5079 GB, free: 12.72 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002782/0.002783, allocations: 104.3 kB / 0.6072 GB, free: 9.258 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1955/0.1983, allocations: 89.14 MB / 0.6942 GB, free: 40 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002744/0.2011, allocations: 1.369 MB / 0.6956 GB, free: 14.65 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.204, allocations: 1.786 MB / 0.6973 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.2041, allocations: 0 / 0.6973 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.2042, allocations: 15.92 kB / 0.6973 GB, free: 12.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/0.2044, allocations: 19.84 kB / 0.6973 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.2071, allocations: 1.145 MB / 0.6984 GB, free: 11.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.2072, allocations: 47.78 kB / 0.6985 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.2072, allocations: 0 / 0.6985 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.848e-05/0.2073, allocations: 31.84 kB / 0.6985 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.931e-05/0.2074, allocations: 27.91 kB / 0.6986 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.2074, allocations: 0 / 0.6986 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.2086, allocations: 0.8462 MB / 0.6994 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.2087, allocations: 27.91 kB / 0.6994 GB, free: 10.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.105e-05/0.2087, allocations: 31.75 kB / 0.6994 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009909/0.2097, allocations: 0.7954 MB / 0.7002 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2097, allocations: 0 / 0.7002 GB, free: 9.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2097, allocations: 0 / 0.7002 GB, free: 9.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.2097, allocations: 0 / 0.7002 GB, free: 9.875 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000597/0.2103, allocations: 478.9 kB / 0.7007 GB, free: 9.359 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.2104, allocations: 12.03 kB / 0.7007 GB, free: 9.348 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.299e-05/0.2104, allocations: 12.78 kB / 0.7007 GB, free: 9.336 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.2106, allocations: 193.5 kB / 0.7009 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.53e-06/0.2106, allocations: 384 / 0.7009 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.2107, allocations: 7.938 kB / 0.7009 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.2108, allocations: 57.62 kB / 0.7009 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.2108, allocations: 0 / 0.7009 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.706e-06/0.2108, allocations: 0 / 0.7009 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2108, allocations: 0 / 0.7009 GB, free: 9.039 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.481e-05/0.2109, allocations: 19.98 kB / 0.701 GB, free: 9.02 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.2111, allocations: 197.6 kB / 0.7011 GB, free: 8.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.092e-05/0.2112, allocations: 46.45 kB / 0.7012 GB, free: 8.723 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.173e-05/0.2112, allocations: 36.88 kB / 0.7012 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2112, allocations: 0 / 0.7012 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2113, allocations: 34.56 kB / 0.7013 GB, free: 8.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 9.61e-07/0.2113, allocations: 0 / 0.7013 GB, free: 8.641 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0002169/0.2115, allocations: 113.8 kB / 0.7014 GB, free: 8.523 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.2115, allocations: 59.44 kB / 0.7014 GB, free: 8.453 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001563/0.2117, allocations: 152.1 kB / 0.7016 GB, free: 8.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2117, allocations: 29.64 kB / 0.7016 GB, free: 8.254 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.2118, allocations: 96.14 kB / 0.7017 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.488e-05/0.2118, allocations: 35.69 kB / 0.7017 GB, free: 8.121 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2119, allocations: 13.72 kB / 0.7017 GB, free: 8.102 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.212, allocations: 326.8 kB / 0.702 GB, free: 7.773 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.68e-05/0.2121, allocations: 27.98 kB / 0.7021 GB, free: 7.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.2121, allocations: 31.97 kB / 0.7021 GB, free: 7.715 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.786e-05/0.2122, allocations: 60.84 kB / 0.7022 GB, free: 7.652 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2122, allocations: 0 / 0.7022 GB, free: 7.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001189/0.2123, allocations: 89.58 kB / 0.7022 GB, free: 7.559 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2123, allocations: 4 kB / 0.7023 GB, free: 7.555 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.2124, allocations: 4 kB / 0.7023 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.2124, allocations: 0 / 0.7023 GB, free: 7.551 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.745e-06/0.2124, allocations: 3.938 kB / 0.7023 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2124, allocations: 0 / 0.7023 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.2124, allocations: 7.984 kB / 0.7023 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.2124, allocations: 12 kB / 0.7023 GB, free: 7.527 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.945e-05/0.2125, allocations: 121.8 kB / 0.7024 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.371e-05/0.2126, allocations: 7.906 kB / 0.7024 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.2127, allocations: 106.3 kB / 0.7025 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2127, allocations: 0 / 0.7025 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2128, allocations: 0 / 0.7025 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2128, allocations: 0 / 0.7025 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2129, allocations: 197.5 kB / 0.7027 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.2129, allocations: 0 / 0.7027 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.2129, allocations: 4.031 kB / 0.7027 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.213, allocations: 0 / 0.7027 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.213, allocations: 4 kB / 0.7027 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.213, allocations: 3.938 kB / 0.7027 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.213, allocations: 0 / 0.7027 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.2131, allocations: 124.9 kB / 0.7028 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.11e-05/0.2132, allocations: 85.02 kB / 0.7029 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.2132, allocations: 0 / 0.7029 GB, free: 6.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.071e-05/0.2132, allocations: 4.031 kB / 0.7029 GB, free: 6.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.2132, allocations: 7.984 kB / 0.7029 GB, free: 6.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.2133, allocations: 0 / 0.7029 GB, free: 6.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.206e-05/0.2133, allocations: 126.8 kB / 0.703 GB, free: 6.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2134, allocations: 0 / 0.703 GB, free: 6.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005356/0.2139, allocations: 195.9 kB / 0.7032 GB, free: 6.457 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000731/0.2146, allocations: 341.5 kB / 0.7035 GB, free: 6.117 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.2148, allocations: 101.6 kB / 0.7036 GB, free: 6.012 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2148, allocations: 4.062 kB / 0.7037 GB, free: 6.008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.2149, allocations: 61.69 kB / 0.7037 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.2151, allocations: 15.98 kB / 0.7037 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004275/0.2155, allocations: 265.1 kB / 0.704 GB, free: 5.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.2159, allocations: 0.7041 MB / 0.7047 GB, free: 4.906 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.471e-05/0.2159, allocations: 7.438 kB / 0.7047 GB, free: 4.898 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.2159, allocations: 0 / 0.7047 GB, free: 4.898 MB / 0.545 GB Notification: Performance of Templates: time 0.006983/0.2229, allocations: 3.989 MB / 0.7086 GB, free: 0.918 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1)