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.00134/0.00134, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0014/0.0014, allocations: 191.7 kB / 16.25 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002718/0.002718, allocations: 290.6 kB / 290.4 MB, free: 2.137 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.507 GB, free: 4.73 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002806/0.002806, allocations: 106 kB / 0.606 GB, free: 25.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1725, allocations: 89.15 MB / 0.693 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002699/0.1753, allocations: 1.436 MB / 0.6944 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002823/0.1781, allocations: 1.791 MB / 0.6962 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.206e-05/0.1781, allocations: 0 / 0.6962 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.683e-05/0.1782, allocations: 7.938 kB / 0.6962 GB, free: 1.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001494/0.1784, allocations: 27.89 kB / 0.6962 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.1809, allocations: 1.067 MB / 0.6973 GB, free: 332 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.628e-05/0.181, allocations: 55.83 kB / 0.6973 GB, free: 276 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.308e-05/0.1811, allocations: 4 kB / 0.6973 GB, free: 272 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.1812, allocations: 31.84 kB / 0.6974 GB, free: 240 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.1813, allocations: 31.91 kB / 0.6974 GB, free: 208 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1813, allocations: 0 / 0.6974 GB, free: 208 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.1824, allocations: 0.8539 MB / 0.6982 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.021e-05/0.1826, allocations: 71.75 kB / 0.6983 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.1826, allocations: 63.42 kB / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.1837, allocations: 0.8615 MB / 0.6992 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1837, allocations: 7.938 kB / 0.6992 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1837, allocations: 0 / 0.6992 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.1837, allocations: 0 / 0.6992 GB, free: 14.34 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007094/0.1844, allocations: 0.5761 MB / 0.6998 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1845, allocations: 12.03 kB / 0.6998 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.1845, allocations: 20.66 kB / 0.6998 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1847, allocations: 226.7 kB / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-06/0.1848, allocations: 384 / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1848, allocations: 384 / 0.7 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.1849, allocations: 117.8 kB / 0.7001 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.1849, allocations: 4 kB / 0.7001 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.185, allocations: 3.938 kB / 0.7001 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.185, allocations: 0 / 0.7001 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.1851, allocations: 71.98 kB / 0.7002 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.1854, allocations: 277.9 kB / 0.7005 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.1855, allocations: 122.5 kB / 0.7006 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.1856, allocations: 104.9 kB / 0.7007 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.1856, allocations: 7.938 kB / 0.7007 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.1857, allocations: 30.56 kB / 0.7007 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.1857, allocations: 4 kB / 0.7007 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32): time 0.0004172/0.1861, allocations: 335.7 kB / 0.701 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.1861, allocations: 51.41 kB / 0.7011 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.1864, allocations: 257 kB / 0.7013 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.1864, allocations: 25.7 kB / 0.7014 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.928e-05/0.1865, allocations: 128.7 kB / 0.7015 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.1866, allocations: 114.3 kB / 0.7016 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.1867, allocations: 29.7 kB / 0.7016 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1868, allocations: 338.8 kB / 0.7019 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.1869, allocations: 75.97 kB / 0.702 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.187, allocations: 79.91 kB / 0.7021 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.1872, allocations: 200.8 kB / 0.7023 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1872, allocations: 4 kB / 0.7023 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002495/0.1875, allocations: 213.6 kB / 0.7025 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1875, allocations: 14.41 kB / 0.7025 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.1875, allocations: 0 / 0.7025 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.1876, allocations: 0 / 0.7025 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.1876, allocations: 0 / 0.7025 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1876, allocations: 3.938 kB / 0.7025 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.1876, allocations: 11.84 kB / 0.7025 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1876, allocations: 0 / 0.7025 GB, free: 10.72 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.0001453/0.1878, allocations: 165.8 kB / 0.7027 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.959e-05/0.1878, allocations: 27.56 kB / 0.7027 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003096/0.1881, allocations: 261.6 kB / 0.7029 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1882, allocations: 0 / 0.7029 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1882, allocations: 3.984 kB / 0.703 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1882, allocations: 0 / 0.703 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1884, allocations: 277.9 kB / 0.7032 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.1884, allocations: 3.938 kB / 0.7032 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.1884, allocations: 0 / 0.7032 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.1884, allocations: 0 / 0.7032 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.1884, allocations: 4.031 kB / 0.7032 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1885, allocations: 4 kB / 0.7032 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1885, allocations: 3.984 kB / 0.7032 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1887, allocations: 260.6 kB / 0.7035 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.1888, allocations: 104.7 kB / 0.7036 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.1889, allocations: 4 kB / 0.7036 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.961e-05/0.1889, allocations: 4 kB / 0.7036 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.1889, allocations: 0 / 0.7036 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.1889, allocations: 4.031 kB / 0.7036 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001952/0.1891, allocations: 192.4 kB / 0.7038 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1891, allocations: 0 / 0.7038 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005474/0.1897, allocations: 211.9 kB / 0.704 GB, free: 9.121 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.0007363/0.1904, allocations: 330.9 kB / 0.7043 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.1908, allocations: 269.5 kB / 0.7046 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1908, allocations: 0 / 0.7046 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.1909, allocations: 173.6 kB / 0.7047 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1912, allocations: 25.36 kB / 0.7047 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007147/0.1919, allocations: 0.5684 MB / 0.7053 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/0.1923, allocations: 0.7671 MB / 0.706 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.433e-05/0.1924, allocations: 7.906 kB / 0.7061 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.721e-05/0.1924, allocations: 11.44 kB / 0.7061 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1924, allocations: 0 / 0.7061 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of Templates: time 0.009337/0.2017, allocations: 4.589 MB / 0.7105 GB, free: 2.375 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)