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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001336/0.001336, allocations: 193.2 kB / 16.14 MB, free: 6.715 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.444/1.444, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002663/0.002663, allocations: 290.9 kB / 290.2 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.12/1.12, allocations: 178.6 MB / 0.5068 GB, free: 4.793 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004139/0.004139, allocations: 101.9 kB / 0.6058 GB, free: 24.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1609, allocations: 89.16 MB / 0.6929 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002508/0.1635, allocations: 1.425 MB / 0.6942 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002866/0.1664, allocations: 1.849 MB / 0.6961 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.1664, allocations: 0 / 0.6961 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.1666, allocations: 7.922 kB / 0.6961 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.1668, allocations: 27.89 kB / 0.6961 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002796/0.1696, allocations: 1.044 MB / 0.6971 GB, free: 448 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.1697, allocations: 79.73 kB / 0.6972 GB, free: 368 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.918e-05/0.1698, allocations: 0 / 0.6972 GB, free: 368 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.1699, allocations: 31.86 kB / 0.6972 GB, free: 336 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.1699, allocations: 23.91 kB / 0.6972 GB, free: 312 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.1699, allocations: 4 kB / 0.6972 GB, free: 308 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.1712, allocations: 0.8345 MB / 0.6981 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.375e-05/0.1713, allocations: 35.89 kB / 0.6981 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.1714, allocations: 27.75 kB / 0.6981 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1724, allocations: 0.8032 MB / 0.6989 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1724, allocations: 4 kB / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.31e-07/0.1725, allocations: 0 / 0.6989 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.1725, allocations: 0 / 0.6989 GB, free: 14.59 MB / 0.4981 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.0006067/0.1731, allocations: 486.9 kB / 0.6994 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1731, allocations: 8.031 kB / 0.6994 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.1732, allocations: 8.844 kB / 0.6994 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1734, allocations: 196.2 kB / 0.6996 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.1734, allocations: 384 / 0.6996 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.1734, allocations: 3.938 kB / 0.6996 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.1735, allocations: 57.67 kB / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.1735, allocations: 0 / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1735, allocations: 4 kB / 0.6996 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1736, allocations: 4 kB / 0.6996 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.1736, allocations: 19.98 kB / 0.6997 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002156/0.1738, allocations: 189.7 kB / 0.6998 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.384e-05/0.1739, allocations: 50.44 kB / 0.6999 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.501e-05/0.174, allocations: 36.88 kB / 0.6999 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.174, allocations: 4 kB / 0.6999 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.174, allocations: 30.56 kB / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 9.81e-07/0.174, allocations: 0 / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0002184/0.1743, allocations: 117.7 kB / 0.7001 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.1743, allocations: 51.41 kB / 0.7001 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.1745, allocations: 158.4 kB / 0.7003 GB, free: 13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.1745, allocations: 25.7 kB / 0.7003 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.398e-05/0.1746, allocations: 104.2 kB / 0.7004 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.1746, allocations: 23.56 kB / 0.7004 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.1746, allocations: 21.7 kB / 0.7004 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.1748, allocations: 326.8 kB / 0.7007 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.1748, allocations: 20 kB / 0.7008 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.1749, allocations: 23.98 kB / 0.7008 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.65e-05/0.1749, allocations: 64.83 kB / 0.7008 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.175, allocations: 7.938 kB / 0.7009 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001223/0.1751, allocations: 89.58 kB / 0.7009 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1751, allocations: 8.062 kB / 0.7009 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1751, allocations: 3.938 kB / 0.701 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.1752, allocations: 4 kB / 0.701 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-07/0.1752, allocations: 3.938 kB / 0.701 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1752, allocations: 0 / 0.701 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.899e-05/0.1752, allocations: 0 / 0.701 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-06/0.1752, allocations: 0 / 0.701 GB, free: 12.26 MB / 0.4981 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 0.0001042/0.1753, allocations: 129.8 kB / 0.7011 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.1753, allocations: 11.81 kB / 0.7011 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000178/0.1755, allocations: 102.4 kB / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.1755, allocations: 3.984 kB / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1756, allocations: 4 kB / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1756, allocations: 0 / 0.7012 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.1757, allocations: 197.5 kB / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.1757, allocations: 0 / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.51e-07/0.1757, allocations: 0 / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1757, allocations: 0 / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-06/0.1758, allocations: 0 / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1758, allocations: 0 / 0.7014 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.1758, allocations: 11.97 kB / 0.7014 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1759, allocations: 125.2 kB / 0.7015 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.176, allocations: 84.92 kB / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.176, allocations: 4 kB / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.282e-05/0.176, allocations: 0 / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.176, allocations: 0 / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1761, allocations: 0 / 0.7016 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.845e-05/0.1762, allocations: 125.7 kB / 0.7017 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1762, allocations: 0 / 0.7017 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005989/0.1768, allocations: 211.9 kB / 0.7019 GB, free: 11.17 MB / 0.4981 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.0008065/0.1776, allocations: 338.9 kB / 0.7022 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.1778, allocations: 93.61 kB / 0.7023 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1778, allocations: 0 / 0.7023 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/0.1778, allocations: 69.69 kB / 0.7024 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1781, allocations: 14.55 kB / 0.7024 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004125/0.1785, allocations: 245.3 kB / 0.7027 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.1789, allocations: 0.7043 MB / 0.7033 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.553e-05/0.1789, allocations: 19.91 kB / 0.7034 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.179, allocations: 7.438 kB / 0.7034 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.179, allocations: 0 / 0.7034 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of Templates: time 0.008615/0.1876, allocations: 4.276 MB / 0.7075 GB, free: 5.402 MB / 0.4981 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)