Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, 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.001403/0.001404, allocations: 197.8 kB / 16.14 MB, free: 6.723 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.417/1.417, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 286.8 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5068 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002862, allocations: 97.56 kB / 0.6058 GB, free: 25.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1605, allocations: 89.15 MB / 0.6928 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002788/0.1633, allocations: 1.499 MB / 0.6943 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0046/0.1679, allocations: 3.013 MB / 0.6973 GB, free: 252 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.344e-05/0.168, allocations: 0 / 0.6973 GB, free: 252 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.1681, allocations: 0 / 0.6973 GB, free: 252 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.224e-05/0.1682, allocations: 19.84 kB / 0.6973 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003606/0.1718, allocations: 1.396 MB / 0.6986 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.68e-05/0.1719, allocations: 47.73 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.1719, allocations: 3.938 kB / 0.6987 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.1719, allocations: 19.86 kB / 0.6987 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.637e-05/0.172, allocations: 19.92 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.172, allocations: 4 kB / 0.6987 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.1742, allocations: 1.459 MB / 0.7002 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.594e-05/0.1743, allocations: 3.938 kB / 0.7002 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.1743, allocations: 23.86 kB / 0.7002 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.176, allocations: 1.127 MB / 0.7013 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.176, allocations: 7.984 kB / 0.7013 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.61e-07/0.176, allocations: 0 / 0.7013 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.798e-06/0.176, 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.0006683/0.1767, allocations: 0.5223 MB / 0.7018 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.1767, allocations: 8.031 kB / 0.7018 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.1768, allocations: 80.22 kB / 0.7019 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001842/0.177, allocations: 253 kB / 0.7021 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.1771, allocations: 150.9 kB / 0.7023 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/0.1771, allocations: 158.9 kB / 0.7024 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/0.1772, allocations: 105.1 kB / 0.7025 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/0.1773, allocations: 75.28 kB / 0.7026 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.613e-05/0.1773, allocations: 154.5 kB / 0.7027 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/0.1774, allocations: 154.6 kB / 0.7029 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.621e-05/0.1775, allocations: 158.6 kB / 0.703 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003523/0.1778, allocations: 465.9 kB / 0.7035 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.937e-05/0.1779, allocations: 165.1 kB / 0.7036 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.178, allocations: 80.14 kB / 0.7037 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.178, allocations: 83.27 kB / 0.7038 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.1781, allocations: 113.8 kB / 0.7039 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.112e-06/0.1781, allocations: 4 kB / 0.7039 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.138e-05/0.1782, allocations: 25.7 kB / 0.7039 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.1782, allocations: 126.7 kB / 0.7041 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.1784, allocations: 143.8 kB / 0.7042 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1784, allocations: 25.7 kB / 0.7042 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.1785, allocations: 92.14 kB / 0.7043 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.1785, allocations: 4 kB / 0.7043 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.1785, allocations: 13.72 kB / 0.7043 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.1787, allocations: 322.8 kB / 0.7046 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.1787, allocations: 4 kB / 0.7046 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.241e-05/0.1787, allocations: 15.94 kB / 0.7046 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.1788, allocations: 8.859 kB / 0.7047 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1788, allocations: 4 kB / 0.7047 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001328/0.1789, allocations: 57.53 kB / 0.7047 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1789, allocations: 12.06 kB / 0.7047 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.179, allocations: 0 / 0.7047 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.179, allocations: 0 / 0.7047 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.179, allocations: 4 kB / 0.7047 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.179, allocations: 0 / 0.7047 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.33e-05/0.179, allocations: 3.984 kB / 0.7047 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.179, allocations: 0 / 0.7047 GB, free: 8.371 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.0001274/0.1792, allocations: 185.1 kB / 0.7049 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.611e-05/0.1793, allocations: 120.8 kB / 0.705 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.1793, allocations: 108.9 kB / 0.7051 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.867e-05/0.1794, allocations: 184.2 kB / 0.7053 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.702e-05/0.1795, allocations: 176.4 kB / 0.7055 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.026e-05/0.1796, allocations: 192.2 kB / 0.7057 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.1798, allocations: 413.2 kB / 0.706 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.986e-05/0.1799, allocations: 112.9 kB / 0.7062 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.1799, allocations: 104.9 kB / 0.7063 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.448e-05/0.18, allocations: 176.3 kB / 0.7064 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.032e-05/0.1801, allocations: 180.2 kB / 0.7066 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.472e-05/0.1802, allocations: 184.2 kB / 0.7068 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.18e-05/0.1803, allocations: 184.2 kB / 0.7069 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.1804, allocations: 315.7 kB / 0.7072 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.1805, allocations: 190 kB / 0.7074 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.459e-05/0.1806, allocations: 180.3 kB / 0.7076 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.609e-05/0.1807, allocations: 101 kB / 0.7077 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.1808, allocations: 188.2 kB / 0.7079 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.371e-05/0.1808, allocations: 109 kB / 0.708 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.316e-05/0.1809, allocations: 97.77 kB / 0.7081 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1809, allocations: 0 / 0.7081 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008696/0.1818, allocations: 295.7 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.001169/0.183, allocations: 0.5284 MB / 0.7089 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.1831, allocations: 41.64 kB / 0.7089 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1831, allocations: 0 / 0.7089 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.138e-06/0.1831, allocations: 4 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.000459/0.1836, allocations: 0.5341 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.0003323/0.1839, allocations: 249.7 kB / 0.7097 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1842, allocations: 0.6887 MB / 0.7103 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.324e-05/0.1842, allocations: 0 / 0.7103 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.5e-05/0.1843, allocations: 7.438 kB / 0.7104 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1843, allocations: 0 / 0.7104 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of Templates: time 0.01038/0.1946, allocations: 5.693 MB / 0.7159 GB, free: 12.68 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)