Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001892/0.001892, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001516/0.001516, allocations: 200.7 kB / 16.14 MB, free: 6.02 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.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002679/0.002679, allocations: 282.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 98.09 kB / 0.6058 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1612, allocations: 89.16 MB / 0.6929 GB, free: 4.777 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003368/0.1646, allocations: 1.483 MB / 0.6943 GB, free: 3.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.1698, allocations: 2.966 MB / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.1699, allocations: 0 / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.366e-05/0.17, allocations: 3.938 kB / 0.6972 GB, free: 312 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.869e-05/0.17, allocations: 15.84 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.1738, allocations: 1.376 MB / 0.6986 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.1738, allocations: 35.75 kB / 0.6986 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.053e-05/0.1739, allocations: 8.266 kB / 0.6986 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.1739, allocations: 15.92 kB / 0.6986 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.69e-05/0.174, allocations: 15.88 kB / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.174, allocations: 0 / 0.6986 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.1763, allocations: 1.435 MB / 0.7 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.1764, allocations: 0 / 0.7 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.1764, allocations: 23.84 kB / 0.7001 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001798/0.1782, allocations: 1.099 MB / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1782, allocations: 0 / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1782, allocations: 0 / 0.7011 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1783, allocations: 0 / 0.7011 GB, free: 12.3 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.0007284/0.179, allocations: 0.5107 MB / 0.7016 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.179, allocations: 12.03 kB / 0.7017 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.1791, allocations: 76.22 kB / 0.7017 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.1793, allocations: 263.4 kB / 0.702 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.1794, allocations: 154.9 kB / 0.7021 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.207e-05/0.1794, allocations: 154.9 kB / 0.7023 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.206e-05/0.1795, allocations: 109 kB / 0.7024 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.1796, allocations: 75.28 kB / 0.7024 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.657e-05/0.1796, allocations: 158.5 kB / 0.7026 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.604e-05/0.1797, allocations: 154.5 kB / 0.7027 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.236e-05/0.1798, allocations: 150.6 kB / 0.7029 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.1801, allocations: 461.9 kB / 0.7033 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.915e-05/0.1802, allocations: 173.1 kB / 0.7035 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.545e-05/0.1803, allocations: 84.14 kB / 0.7036 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1803, allocations: 75.28 kB / 0.7036 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.568e-05/0.1804, allocations: 113.8 kB / 0.7038 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1804, allocations: 0 / 0.7038 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.101e-05/0.1805, allocations: 33.75 kB / 0.7038 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.814e-05/0.1806, allocations: 134.7 kB / 0.7039 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.1807, allocations: 131.9 kB / 0.704 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.1807, allocations: 25.7 kB / 0.7041 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.1808, allocations: 92.14 kB / 0.7042 GB, free: 9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1808, allocations: 0 / 0.7042 GB, free: 9 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.1809, allocations: 13.72 kB / 0.7042 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.181, allocations: 322.8 kB / 0.7045 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.181, allocations: 7.938 kB / 0.7045 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.043e-05/0.1811, allocations: 12 kB / 0.7045 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.872e-05/0.1811, allocations: 8.859 kB / 0.7045 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1811, allocations: 0 / 0.7045 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001349/0.1813, allocations: 53.62 kB / 0.7046 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1813, allocations: 4 kB / 0.7046 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.1813, allocations: 0 / 0.7046 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1813, allocations: 4 kB / 0.7046 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.338e-06/0.1813, allocations: 4 kB / 0.7046 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.1813, allocations: 0 / 0.7046 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.694e-05/0.1814, allocations: 7.844 kB / 0.7046 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1814, allocations: 8 kB / 0.7046 GB, free: 8.539 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.0001165/0.1815, allocations: 189.1 kB / 0.7048 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/0.1816, allocations: 104.9 kB / 0.7049 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.303e-05/0.1816, allocations: 112.9 kB / 0.705 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.923e-05/0.1817, allocations: 180.2 kB / 0.7051 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.622e-05/0.1818, allocations: 180.4 kB / 0.7053 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.348e-05/0.1819, allocations: 192.2 kB / 0.7055 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1822, allocations: 409.2 kB / 0.7059 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.963e-05/0.1822, allocations: 112.9 kB / 0.706 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.525e-05/0.1823, allocations: 104.9 kB / 0.7061 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.487e-05/0.1824, allocations: 176.3 kB / 0.7063 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.352e-05/0.1825, allocations: 188.2 kB / 0.7064 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.202e-05/0.1825, allocations: 180.3 kB / 0.7066 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.391e-05/0.1826, allocations: 176.3 kB / 0.7068 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001827/0.1828, allocations: 311.7 kB / 0.7071 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.1829, allocations: 197.9 kB / 0.7073 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.391e-05/0.183, allocations: 180.3 kB / 0.7074 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.288e-05/0.1831, allocations: 105 kB / 0.7075 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.1832, allocations: 180.2 kB / 0.7077 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/0.1833, allocations: 109 kB / 0.7078 GB, free: 5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.308e-05/0.1834, allocations: 97.92 kB / 0.7079 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1834, allocations: 0 / 0.7079 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008851/0.1843, allocations: 283.8 kB / 0.7082 GB, free: 4.629 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.001277/0.1855, allocations: 0.5136 MB / 0.7087 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1857, allocations: 37.64 kB / 0.7087 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1857, allocations: 0 / 0.7087 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.504e-06/0.1857, allocations: 4 kB / 0.7087 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.1861, allocations: 0.5341 MB / 0.7092 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003336/0.1865, allocations: 249.7 kB / 0.7095 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.1868, allocations: 0.681 MB / 0.7101 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.1868, allocations: 3.984 kB / 0.7101 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.285e-05/0.1868, allocations: 11.44 kB / 0.7102 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1868, allocations: 0 / 0.7102 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of Templates: time 0.01062/0.1975, allocations: 5.481 MB / 0.7155 GB, free: 13.1 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)