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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008619/0.0008646, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008778/0.0008779, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001809/0.001809, allocations: 259.1 kB / 291.3 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9681/0.9681, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 16.78 kB / 0.5981 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.169, allocations: 88.54 MB / 0.6845 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001326/0.1704, allocations: 1.077 MB / 0.6856 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.1728, allocations: 1.643 MB / 0.6872 GB, free: 12.65 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.802e-05/0.1728, allocations: 3.938 kB / 0.6872 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.696e-05/0.1729, allocations: 11.98 kB / 0.6872 GB, free: 12.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1731, allocations: 30.23 kB / 0.6872 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002006/0.1751, allocations: 0.9201 MB / 0.6881 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001015/0.1752, allocations: 75.73 kB / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.1753, allocations: 0 / 0.6882 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.1754, allocations: 31.86 kB / 0.6882 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.401e-05/0.1754, allocations: 43.89 kB / 0.6883 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.1755, allocations: 4 kB / 0.6883 GB, free: 11.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008994/0.1764, allocations: 0.6786 MB / 0.6889 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.069e-05/0.1765, allocations: 63.81 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.1765, allocations: 49.58 kB / 0.6891 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006097/0.1771, allocations: 0.5577 MB / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1771, allocations: 0 / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.1771, allocations: 0 / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.1771, allocations: 0 / 0.6896 GB, free: 10.2 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005696/0.1777, allocations: 0.5585 MB / 0.6901 GB, free: 9.598 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1778, allocations: 11.97 kB / 0.6902 GB, free: 9.586 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.1778, allocations: 27.67 kB / 0.6902 GB, free: 9.559 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.178, allocations: 221.7 kB / 0.6904 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.178, allocations: 0 / 0.6904 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.178, allocations: 0 / 0.6904 GB, free: 9.305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1782, allocations: 105.6 kB / 0.6905 GB, free: 9.195 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.1782, allocations: 3.938 kB / 0.6905 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.1782, allocations: 0 / 0.6905 GB, free: 9.191 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.1782, allocations: 7.953 kB / 0.6905 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.972e-05/0.1783, allocations: 67.97 kB / 0.6906 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.1785, allocations: 285.9 kB / 0.6908 GB, free: 8.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001101/0.1787, allocations: 118.5 kB / 0.691 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.653e-05/0.1788, allocations: 108.9 kB / 0.6911 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.1788, allocations: 0 / 0.6911 GB, free: 8.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1788, allocations: 38.5 kB / 0.6911 GB, free: 8.508 MB / 494.1 MB Notification: Performance of pre-optimization done (n=32): time 8.41e-07/0.1788, allocations: 0 / 0.6911 GB, free: 8.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003661/0.1792, allocations: 330.5 kB / 0.6914 GB, free: 8.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.1792, allocations: 63.39 kB / 0.6915 GB, free: 8.105 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.1795, allocations: 257 kB / 0.6917 GB, free: 7.848 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.1795, allocations: 25.7 kB / 0.6917 GB, free: 7.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.212e-05/0.1796, allocations: 124.7 kB / 0.6919 GB, free: 7.691 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.242e-05/0.1797, allocations: 102.4 kB / 0.692 GB, free: 7.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-06/0.1797, allocations: 0 / 0.692 GB, free: 7.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1798, allocations: 342.8 kB / 0.6923 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.757e-05/0.1799, allocations: 71.98 kB / 0.6924 GB, free: 7.176 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.18, allocations: 80.77 kB / 0.6924 GB, free: 7.098 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.1801, allocations: 104.1 kB / 0.6925 GB, free: 6.996 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1801, allocations: 0 / 0.6925 GB, free: 6.996 MB / 494.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002196/0.1803, allocations: 221.3 kB / 0.6927 GB, free: 6.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1803, allocations: 4 kB / 0.6927 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1803, allocations: 0 / 0.6927 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.1804, allocations: 0 / 0.6927 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.415e-06/0.1804, allocations: 4 kB / 0.6928 GB, free: 6.766 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1804, allocations: 3.984 kB / 0.6928 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.63e-05/0.1804, allocations: 19.64 kB / 0.6928 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.1804, allocations: 15.98 kB / 0.6928 GB, free: 6.727 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.1806, allocations: 153.8 kB / 0.6929 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.1806, allocations: 19.72 kB / 0.693 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.1809, allocations: 254.5 kB / 0.6932 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1809, allocations: 0 / 0.6932 GB, free: 6.289 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1809, allocations: 4 kB / 0.6932 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1809, allocations: 0 / 0.6932 GB, free: 6.285 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.1811, allocations: 289.8 kB / 0.6935 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.1811, allocations: 4 kB / 0.6935 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.1811, allocations: 0 / 0.6935 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1812, allocations: 0 / 0.6935 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.1812, allocations: 0 / 0.6935 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1812, allocations: 4 kB / 0.6935 GB, free: 5.941 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1812, allocations: 3.938 kB / 0.6935 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002325/0.1814, allocations: 256.7 kB / 0.6937 GB, free: 5.668 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.1815, allocations: 108.7 kB / 0.6938 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1815, allocations: 0 / 0.6938 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.1815, allocations: 0 / 0.6938 GB, free: 5.543 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.1816, allocations: 3.938 kB / 0.6938 GB, free: 5.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-06/0.1816, allocations: 0 / 0.6938 GB, free: 5.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001588/0.1817, allocations: 192.4 kB / 0.694 GB, free: 5.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1817, allocations: 0 / 0.694 GB, free: 5.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005162/0.1823, allocations: 207.9 kB / 0.6942 GB, free: 5.148 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006514/0.1829, allocations: 327.6 kB / 0.6945 GB, free: 4.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.1832, allocations: 265.6 kB / 0.6948 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1832, allocations: 0 / 0.6948 GB, free: 4.555 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.1834, allocations: 177.6 kB / 0.695 GB, free: 4.375 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1836, allocations: 21 kB / 0.695 GB, free: 4.355 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.1843, allocations: 0.5522 MB / 0.6955 GB, free: 3.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.1846, allocations: 0.7673 MB / 0.6963 GB, free: 2.98 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.123e-05/0.1847, allocations: 4 kB / 0.6963 GB, free: 2.977 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.1847, allocations: 7.438 kB / 0.6963 GB, free: 2.969 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1847, allocations: 4 kB / 0.6963 GB, free: 2.965 MB / 494.1 MB Notification: Performance of Templates: time 0.008251/0.1929, allocations: 4.511 MB / 0.7007 GB, free: 14.52 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)