Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00205/0.00205, allocations: 199.5 kB / 16.14 MB, free: 6.637 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.557/1.557, allocations: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002504/0.002504, allocations: 287.1 kB / 290.2 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002699/0.002699, allocations: 103.7 kB / 0.6058 GB, free: 25.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1595, allocations: 89.15 MB / 0.6929 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002631/0.1622, allocations: 1.491 MB / 0.6943 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004621/0.1668, allocations: 3.021 MB / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.1669, allocations: 0 / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.167, allocations: 0 / 0.6973 GB, free: 244 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.995e-05/0.1671, allocations: 19.84 kB / 0.6973 GB, free: 224 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00367/0.1708, allocations: 1.399 MB / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.652e-05/0.1708, allocations: 39.73 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.1709, allocations: 7.938 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.982e-05/0.1709, allocations: 15.94 kB / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.454e-05/0.171, allocations: 19.86 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.838e-06/0.171, allocations: 0 / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002332/0.1733, allocations: 1.47 MB / 0.7002 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.1734, allocations: 4 kB / 0.7002 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.1734, allocations: 15.88 kB / 0.7002 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.1751, allocations: 1.131 MB / 0.7013 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1751, allocations: 3.984 kB / 0.7013 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.11e-07/0.1751, allocations: 0 / 0.7013 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.1752, allocations: 0 / 0.7013 GB, free: 12.13 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006699/0.1758, allocations: 0.5146 MB / 0.7018 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1759, allocations: 11.97 kB / 0.7018 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.403e-05/0.1759, allocations: 88.16 kB / 0.7019 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.1761, allocations: 247.5 kB / 0.7021 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.1762, allocations: 154.9 kB / 0.7023 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.1763, allocations: 158.9 kB / 0.7024 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.51e-05/0.1764, allocations: 105.1 kB / 0.7025 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.1764, allocations: 75.28 kB / 0.7026 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.93e-05/0.1765, allocations: 154.6 kB / 0.7027 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-05/0.1765, allocations: 150.6 kB / 0.7029 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.1766, allocations: 154.5 kB / 0.703 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.177, allocations: 465.9 kB / 0.7035 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.1771, allocations: 173.1 kB / 0.7036 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.303e-05/0.1771, allocations: 88.14 kB / 0.7037 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.1772, allocations: 75.33 kB / 0.7038 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.992e-05/0.1772, allocations: 113.8 kB / 0.7039 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1772, allocations: 0 / 0.7039 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001072/0.1774, allocations: 33.64 kB / 0.7039 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.618e-05/0.1775, allocations: 130.7 kB / 0.7041 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1776, allocations: 140.5 kB / 0.7042 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1777, allocations: 25.7 kB / 0.7042 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.908e-05/0.1777, allocations: 92.12 kB / 0.7043 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.1777, allocations: 0 / 0.7043 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.1778, allocations: 17.72 kB / 0.7043 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1779, allocations: 322.8 kB / 0.7046 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.178, allocations: 0 / 0.7046 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.746e-05/0.178, allocations: 8 kB / 0.7046 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.178, allocations: 20.8 kB / 0.7047 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1781, allocations: 64 / 0.7047 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001443/0.1782, allocations: 61.53 kB / 0.7047 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1782, allocations: 4 kB / 0.7047 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.1782, allocations: 4 kB / 0.7047 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.1783, allocations: 0 / 0.7047 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.1783, allocations: 3.938 kB / 0.7047 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1783, allocations: 0 / 0.7047 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.1783, allocations: 0 / 0.7047 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.1783, allocations: 8.062 kB / 0.7047 GB, free: 8.363 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.0001139/0.1784, allocations: 181.1 kB / 0.7049 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.712e-05/0.1785, allocations: 124.8 kB / 0.705 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.518e-05/0.1786, allocations: 104.9 kB / 0.7051 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.457e-05/0.1787, allocations: 180.3 kB / 0.7053 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.491e-05/0.1788, allocations: 184.3 kB / 0.7055 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-05/0.1789, allocations: 184.3 kB / 0.7057 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.1791, allocations: 421.1 kB / 0.7061 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-05/0.1792, allocations: 104.9 kB / 0.7062 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.1792, allocations: 101 kB / 0.7063 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.023e-05/0.1793, allocations: 180.2 kB / 0.7064 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-05/0.1794, allocations: 188.2 kB / 0.7066 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.104e-05/0.1795, allocations: 184.2 kB / 0.7068 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.327e-05/0.1796, allocations: 176.3 kB / 0.7069 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.1798, allocations: 319.7 kB / 0.7073 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.1799, allocations: 186 kB / 0.7074 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.253e-05/0.18, allocations: 180.2 kB / 0.7076 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.18, allocations: 105 kB / 0.7077 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.018e-05/0.1801, allocations: 176.3 kB / 0.7079 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.958e-05/0.1802, allocations: 108.9 kB / 0.708 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.055e-05/0.1803, allocations: 99.27 kB / 0.7081 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1803, allocations: 0 / 0.7081 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008325/0.1811, allocations: 299.8 kB / 0.7084 GB, free: 4.434 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 (0): * Single equations (assignments): 0 * 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.001202/0.1823, allocations: 0.5253 MB / 0.7089 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.1824, allocations: 37.7 kB / 0.7089 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1825, allocations: 4.062 kB / 0.7089 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.1825, allocations: 3.938 kB / 0.7089 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.1829, allocations: 0.5348 MB / 0.7094 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.1833, allocations: 246.5 kB / 0.7097 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003148/0.1836, allocations: 0.6848 MB / 0.7103 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.255e-05/0.1836, allocations: 0 / 0.7103 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.1836, allocations: 11.44 kB / 0.7104 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1837, allocations: 0 / 0.7104 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of Templates: time 0.0106/0.1943, allocations: 5.71 MB / 0.7159 GB, free: 12.66 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)